arnold-usd icon indicating copy to clipboard operation
arnold-usd copied to clipboard

Render Delegate: Making a geometry light invisible hides the mesh but not the mesh_light

Open arnold-support opened this issue 2 years ago • 3 comments

Describe the bug If you make a geometry light invisible, the light still lights the scene but the mesh is not visible (so you'll see the "for MIS to work properly, polymesh linked to mesh_light should at least be visible to shadow rays" warning in the log).

To Reproduce Steps to reproduce the behavior:

  1. Make a mesh a geometry light.
  2. Set visibility to invisible.
  3. Render with husk or the Solaris viewport.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Used Software Versions

  • HtoA 6.1.4.1

Additional context Here's a repro Houdini scene: mesh_light_visibility.zip

Here's the debug ass file: hdarnold.ass.txt

arnold-support avatar Jan 05 '23 17:01 arnold-support

Issue synced internally to ARNOLD-13321

Hiding the mesh is often used to hide the mesh but keep the light as part of the lighting setup.

To get the expected behavior, the mesh light can be made invisible if the mesh's primvars:arnold:light is set to false/unchecked. This should be done on top of setting the visibility of the mesh in order to make both invisible.

juandejoya avatar Mar 23 '23 21:03 juandejoya

Issue synced internally to ARNOLD-13475