|
![](/i/fill.gif) |
Hi,
I have made an object with two intersections: First, two planes and a sphere
in the origin. Second, this new portion and other two planes. Now I want to
translate and rotate this new object, but the result isn`t the expected. I
have tried rotation and translation and inverse but it doesn't work. Maybe
anyone can explain to me how rotation and translation work when are aplied
over a portion of an object which is the result of intersections.
The code is something like this:
#declare Portion =
intersection
{
plane
{
<0, 0, 1>
0
}
plane
{
<0, 0, -1>
0
rotate <0, -89.9543768408, 0>
}
intersection
{
plane
{
<0, -1, 0>
71.7356099205
}
plane
{
<0, 1, 0>
71.7356099205
}
sphere
{
<0, 0, 0>, 100.0
}
}
texture
{
pigment
{
color <0.0, 0.0, 1.0>
}
}
}
object
{
Portion
translate <0.0, 300.0, 0.0>
rotate <89.9999820139, -0.0, -0.0>
}
Post a reply to this message
|
![](/i/fill.gif) |