POV-Ray : Newsgroups : povray.newusers : TRON Game Grid... : Re: TRON Game Grid... Server Time
29 Jul 2024 06:20:06 EDT (-0400)
  Re: TRON Game Grid...  
From: Sebastian
Date: 8 Jul 2006 12:27:09
Message: <pan.2006.07.08.16.27.08.192138@gmx.de>
Am Sat, 08 Jul 2006 11:00:09 -0400 schrieb Carl:

> I'd like to try and copy the game grid effect as seen in the movie TRON.
> Check out this example for those who aren't familiar with it.
> 
> http://www.wwwmwww.com/Matt/Animation1.gif
> 
> Here is one of my current POV-Ray renders...
> 
> http://www.wwwmwww.com/Matt/hover2.png
> 
> However reciently I've been pointed to this work done in Realsoft 3D
> 
> http://www.matthias-kappenberg.de/index.php?id=165
> 
> Can anyone here tell how he pulled off this effect?  And better yet can it
> be copied in POV-Ray?
> 
> Thanks,
> Carl

For a nice grid you can layer two textures of which one holds
the x lines and one the z lines.
It should look somewhat similar as follows.



#declare line_width=0.1

#declare T_lines =
texture {
  pigment {
    gradient x
    color_map {
      [0.0        rgb  1.0 ]  // White rgb <1,1,1>
      [line_width rgb  1.0 ]  // White rgb <1,1,1>
      [line_width rgbt 1.0 ]  // Transparent rgbt <1,1,1,1>
      [1.0        rgbt 1.0 ]  // Transparent rgbt <1,1,1,1>
    }
  }
}

#declare T_grid =
texture { T_lines }
texture { T_lines rotate 90*y }



I've not tested this one but you get the idea with using
the procedural *gradient x* pattern. If you want to use
a bitmap you should turn off any filtering for to get sharp
lines edges.

Regards,
Sebastian


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.