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: 

I have no control over the reflections and shadows of the ray_switch_shader

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
17350757759
373 Views, 8 Replies

I have no control over the reflections and shadows of the ray_switch_shader

I have no control over the reflections and shadows of the ray_switch_shader 1625229751628.png1625229758506.png

How can I control the shadow and reflection of an object separately

Labels (3)
8 REPLIES 8
Message 2 of 9
lee_griggs
in reply to: 17350757759

You need to use a trace_set. There is a scene file here:

https://docs.arnoldrenderer.com/display/A5AFCUG/Trace+Set

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 3 of 9
17350757759
in reply to: lee_griggs

Thank you but this scenario doesn't contain the example I was looking for

Message 4 of 9
Stephen.Blair
in reply to: 17350757759

You cannot use rayswitch and trace sets together like that.

rayswitch is for rays that hit an object. trace sets is for rays traced from an object.

You can use trace sets to control what objects are visible in the reflections.
Put a trace set on the plane. Then for one or more of the spheres, set the trace set. That will control which spheres are visible in the reflection.




// Stephen Blair
// Arnold Renderer Support
Message 5 of 9
17350757759
in reply to: Stephen.Blair

Thank you, I know how the trace set is used, but I don't understand how the example in this Arnold help document does it, or is this example wrong?
https://docs.arnoldrenderer.com/display/A5AFCUG/Trace+Set

Message 6 of 9
Stephen.Blair
in reply to: 17350757759

As I said, you cannot use trace sets with rayswitch like that. The user guide is wrong. That won't work.


// Stephen Blair
// Arnold Renderer Support
Message 7 of 9
17350757759
in reply to: Stephen.Blair

Thank you very much. I've been trying for a long time and I can't do it

Message 8 of 9
Stephen.Blair
in reply to: 17350757759

Oh, I forgot to say that trace sets do not control shadow rays. At least it didn't work in my simple test.


// Stephen Blair
// Arnold Renderer Support
Message 9 of 9
17350757759
in reply to: Stephen.Blair

Thank you. I think I get it


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

Post to forums  

Autodesk Design & Make Report