Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C4DtoA | User Data int - Cloner Index

1 REPLY 1
Reply
Message 1 of 2
cdordelly09
570 Views, 1 Reply

C4DtoA | User Data int - Cloner Index

Hi! Is it possible to get the index value of a cloner object with the "user_data_int" shader?

1024-cinema-4d-2018-02-24-20-42-43.png

Thanks!

Labels (3)
1 REPLY 1
Message 2 of 2

No, it's not possible at the moment, only the display color of the objects is exported as user data.

I can add the index as well, if we agree on what the index is, since this concept is missing from the SDK. And it's not as simple as it seems. The Cloner generates an object tree, so the index can be based on a breadth-first traversal.

What about objects not exported to Arnold (e.g. Null objects), do they have an index or not?

What about Cloner under a Cloner, where does the index come from?

Also I'm not sure if the generation order is well-defined, so it might be that the order in the tree is different when the Cloner changes (e.g. different number of clones, objects are hidden, a different effector is used, etc.).

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report