|
![](/i/fill.gif) |
// PIII Win98SE 256MB
// when inverse is used in primitive rather than CSG difference
// error occurs, also only if in inner loop not outer loop
camera
{
location -10*z
look_at 0
}
light_source {-10,1}
#declare Count1=1; // first loop count
#while (Count1<6)
#declare Count2=1; // second loop count
#while (Count2<22) // errors if >=22, not <=21
// CSG object
union
{
difference
{
sphere
{
0,2
}
cone
{
-y,1,y,0
}
pigment {rgb .5}
}
difference
{
cone
{
-y,1,y,0 // any object? (sphere, box, cylinder, etc.)
inverse // comment out if using other inverse below
}
cone
{
-y,1,y,0
}
// inverse // uncomment, no error (comment other out)
}
pigment {rgb 1.5}
}
#declare Count2=Count2+1;
#end // inner loop
#declare Count1=Count1+1;
#end // outer loop
Post a reply to this message
|
![](/i/fill.gif) |