|
|
Le 16/03/2015 15:45, bublible a écrit :
> How can I reference an object in POVRay? I mean I want to rotate another object
> on axis X by another object's rotation value of its Z axis.
>
> I am thinking about something like this (this of course does not work, just to
> show you what I mean):
>
> // lets say before I #declared two objects named ObjA & ObjB
> Object {
> ObjA
> rotate <ObjB.rotation.z, 0, 0>
> }
>
> Any suggestions, please?
>
>
You can't, as you intended at least. Access to object's property is not
possible in read mode so far.
When declaring ObjB, you could also declare a variable to hold the
rotation around Z used on B, and use that variable later on A.
Post a reply to this message
|
|