Community
Arnold for 3ds Max Forum
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

instancer and multiple objects

0 REPLIES 0
Reply
Message 1 of 1
kresimir2
186 Views, 0 Replies

instancer and multiple objects

Hello,


Here is the Arnold API question that I'm not sure how to solve as AiNodeLookUpByName() does not work for scene nodes that are not translated yet.

In the case like below, during the translation of instancer, the polymesh /Box001 does not exists yet, while /Teapot001 works okay.

If I use AtNode *rinode = arnold_translation->GetOutput(0, AtString("polymesh"), AtString("/Box001"));

then our instancer does not render.

..not sure what Output index really should be but have tried 0,1.

The GetNode(NodeType type, ReferenceTarget* ref) looks promissing, the NodeType does not support geometry node.


Any suggestions appreciated.


polymesh

{

name /Teapot001

matrix

}

instancer

{

name /MyInstancer

id 2705291497

nodes "/Teapot001"

node_idxs 10 1 b85UINT

..

}

polymesh

{

name /Box001

matrix

..

}

Thank you

Tags (3)
Labels (3)
0 REPLIES 0

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report