|
|
I'm getting a weird problem with the lathe object. I'm getting random black
pixles in a line at a certain point.
Render @ http://cg1.org/lathe.png
Source follows:
camera
{
location <10,40,-70>
look_at <0,30,0>
}
light_source
{
<5,50,-100>,<1,1,.8>
}
sky_sphere
{
pigment {rgb .5}
}
#declare column = union
{
lathe
{
quadratic_spline
11
<4.1,-4>,<4.1,-3>,<4.1,0>,<4,1>,<3.5,1.05>,<3.4,2.5>,<3.2,
3.2>,<3.2,4.7>,<3.0,5>,<2.8,40>,<2.8,41>
texture
{
pigment
{
rgb 1
}
}
sturm
}
torus
{
3,.4
translate y*45
}
torus
{
3.5,.5
translate y*55
}
torus
{
3.25,.7
translate y*50
}
cone
{
<0,45,0>,2.9,<0,55,0>,3.5
}
texture
{
pigment
{
rgb 1
}
}
}
#declare minx = -40;
#declare maxx = 40;
#declare minz = -40;
#declare maxz = 40;
#declare thespacing = 40;
#declare thex = minx;
#declare thez = minz;
#while (thex <= maxx)
#declare thez = minz;
#while (thez <= maxz)
object
{
column
translate <thex,0,thez>
}
#declare thez = thez + thespacing;
#end
#declare thex = thex + thespacing;
#end
Post a reply to this message
|
|