Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Differentiate between instances when using AiTrace()

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
zenop
225 Views, 2 Replies

Differentiate between instances when using AiTrace()

Hi,


Is it possible to differentiate between instanced objects when getting AtScrSample->obj using AiTrace()?


Or if this is not the way to do it (which I assume, since I cannot differentiate between two instanced objects here), how should I go about this? Ideally I want different hit data per instance.


Ty!

Z

Tags (2)
Labels (2)
2 REPLIES 2
Message 2 of 3
Stephen.Blair
in reply to: zenop

@Zeno Not sure, I have to ask around.



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3
zenop
in reply to: zenop

It seems like I should use AiTraceProbe() and compare the sg->Op instead.

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

Post to forums  

Autodesk Design & Make Report