|
|
Hi people, I have the problem, that I need to have the position and orientation
of an object in povray. But all objects are translated couple of times by using
several values! By using macros like this:
#macro rotation(ctr)
(<
degrees(rot(ctr).y),
degrees(rot(ctr).z),
-degrees(rot(ctr).x)>
)
#end
#macro position(ctr)
(<-pos(ctr).y,-pos(ctr).z,pos(ctr).x>)
#end
#macro fluking(ctr)
(<degrees(flk(ctr).u),flk(ctr).v>)
#end
rot(bla),pos and flk are splines, defined by thousands of entry's!
I need to write a file, with contains the absolute position and rotation of
these objects.
Any ideas?
Post a reply to this message
|
|