|
![](/i/fill.gif) |
Hi,
here's something strange: I have the following source code of a union
and a difference. But when using them, the 2nd element of each is being
ignored. What do I do wrong?
//--- UNION ----------------------------
#declare Country = plane
{
y, 0.0
pigment { color White }
}
#declare Plan = box
{
< -5.0, 0.0, -1.0 > < 20.0, 0.0001, 15.0 >
pigment
{
checker
color White
color OrangeRed+Red
}
}
#declare Land = union
{
object { Country }
object { Plan }
}
------
But when using them without "union", they show up...
object { Country }
object { Plan }
//--- DIFFERENCE ----------------------------
#declare Cylinder_OverAll = cylinder
{
< 7.5, -1.0, 0.0 > < 7.5, -1.0, 10.0 > 7.5
scale < 1.0, 0.5, 1.0 >
}
#declare Cylinder_DivisionInside = cylinder
{
< 7.5, -1.0, 0.0 > < 7.5, -1.0, 10.0 > 7.25
scale < 1.0, 0.5, 1.01 >
}
#declare Roof = difference
{
object { Cylinder_OverAll }
object { Cylinder_DivisionInside scale < 1.0, 1.0, 2.0 > }
pigment { color White }
finish { Dull }
}
Post a reply to this message
|
![](/i/fill.gif) |