How can I reference an object in POVRay? I mean I will rotate the second object from the rotation value of my Z axis to the second object on the x axis.
I'm thinking about some time like this (it does not work at all, only to show you what I mean):
// Before I declared two objects object called obja; ObjB Object {Rotate ObjA & lt; Objb.rotation.z, 0, 0> }
Any suggestions, please?
Synchronize objects through a variable, example:
#declare rotation = & lt; 5, 3, 4 & gt; Object (Objeb rotation will rotate object) Rotate the object & lt; Rotation.x, 0, 0> }
Note that if you change the rotation later (redefined), then you manually rotate the objects in the vrotate ()
function.
No comments:
Post a Comment