Sublayer visibility issue in Raytraced mode

Dear all,

I’m seeing what looks like a visibility issue in Rhino 8’s Raytraced display mode.

If I have more than three nested sublayers and put geometry on a third child layer, turning off the top parent layer does not hide geometry in Raytraced display mode.

I noticed this while working on my own realtime renderer in C++, where I’ve been comparing behavior against Rhino’s Raytraced mode.

Is there a recommended C++ way to evaluate visibility for nested layers? Any suggestions would be welcome.

Many thanks,

George

RhinoRaytracedSubLayerVisibility.3dm (201.2 KB)

Raytraced (and therefor Rhino Render) does not evaluate object visibility, that is done by the underlying changequeue that is part of the core of Rhino. The changequeue is supposed to handle the visibility determination and based on the findings pass on the correct objects (or delete). Probably something for @andy to look into.

1 Like

Hi George -

Thanks for reporting this.
RH-94522 Rendering: Cycles Viewport: Layer Off is Rendered
-wim

Fixed in the next WIP

I strongly recommend that you use the ChangeQueue in the Rhino SDK - you will get the same behavior as Cycles

Yes, I use the ChangeQueue from the Rhino C++ SDK to get all the changes from the rhino document to my renderer. Many thanks for the fix!

RH-94514 is fixed in Rhino WIP

1 Like