|
|
Program ended abnormally on 2003-07-01 22:05, Due to a catastrophic
Oodini error:
>>>> Does POV-Ray support hierarchy of objects ?
>>>>
>>>> I don't find anything about that in the doc.
>>>
>>>
>>> If you suggest me Union, where is the new centroid ?
>>
>>
>>
>> Whatever technique you use to determine the centroid of the parts will
>> presumably still work for the centroid of the union.
>
>
> Well, suppose I want to do a solar system. All the planets are supposed
> to turn around the sun (don't care about spin), and follow it when the
> sun turns around the center of the galaxy.
> I mean thiskind of hierarchy.
>
> But there isn't any hierarchy in the union, I guess.
> All the objects are equal.
I think the answer you're looking for, is yes. Relative position of objects in
a union are kept when the transformation is applied to the whole union.
--
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/* flabreque */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/* @ */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/* videotron.ca */}camera{orthographic location<6,1.25,-6>look_at a }
Post a reply to this message
|
|