|
|
"Slime" <fak### [at] emailaddress> wrote:
> See "Re: TRON Game Grid..." in povray.newusers. The grid lines get bigger as
> they get farther away from the camera.
>
> - Slime
> [ http://www.slimeland.com/ ]
How's this look? All constant size, but using 3D "gridlines" seems to mimic
the effect better than any 2D pattern on the floor plane, since the pattern
becomes infinitely thin as it approaches the horizon.
-Mike
// ----------------------------------------
camera {
location <-15.0, 2, -15.0>
direction 1.5*z
right x*image_width/image_height
look_at <-5.0, -4.0, 10.0>
// ----------------------------------------
#declare gridtex = texture {
pigment { color White }
finish { ambient 1 diffuse 0 }
}
#declare R = 0.025;
#declare i = 0;
#while (i<101)
cylinder { <-50, 0, -50+i>, <50, 0, -50+i>, R texture {gridtex }
no_shadow}
cylinder { <-50+i, 0, 50>, <-50+i, 0, -50>, R texture {gridtex }
no_shadow}
#declare i = i+1;
#end
// ----------------------------------------
Post a reply to this message
Attachments:
Download 'gridtest.png' (40 KB)
Preview of image 'gridtest.png'
|
|