Maniphest T48512

Volumes stop casting shadows inside geometry when their layer visibility is off
Closed, Archived

Assigned To
Sergey Sharybin (sergey)
Authored By
Konstantins Visnevskis (kivig)
May 25 2016, 12:56 PM
Tags
  • BF Blender
  • Cycles
Subscribers
Brecht Van Lommel (brecht)
Konstantins Visnevskis (kivig)
Sergey Sharybin (sergey)

Description

System Information
Win8.1, 3x gtx580, Ubuntu14, IntelGMA

Blender Version
2.77a

Short description of error
It does say in manual that "Currently we do not support: Correct ray visibility for volume meshes", but I'm not confident what that means so to be sure:

When volume mesh is intersecting another mesh it casts shadows properly, but if volume's layer gets hidden from render, the inside volume shadows disappear.

Exact steps for others to reproduce the error
Open file, press render -> no shadow inside the box.

Event Timeline

Konstantins Visnevskis (kivig) created this task.May 25 2016, 12:56 PM
Konstantins Visnevskis (kivig) raised the priority of this task from to 90.
Konstantins Visnevskis (kivig) updated the task description.
Konstantins Visnevskis (kivig) added a project: BF Blender.
Konstantins Visnevskis (kivig) edited a custom field.
Konstantins Visnevskis (kivig) added a subscriber: Konstantins Visnevskis (kivig).
Brecht Van Lommel (brecht) lowered the priority of this task from 90 to Normal.EditedMay 25 2016, 9:23 PM
Brecht Van Lommel (brecht) merged a task: T48513: Camera inside hidden layer volume makes it visible.
Brecht Van Lommel (brecht) added a project: Cycles.
Brecht Van Lommel (brecht) added a subscriber: Brecht Van Lommel (brecht).

Merged in the other report since it's another manifestation of the same issue. When the volume has camera ray visibility off or is on a hidden layer (same thing to Cycles), the volume stack gets confused.

Not sure if we consider that a bug or a to do item at this point.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Jun 8 2016, 3:03 PM
Sergey Sharybin (sergey) claimed this task.
Sergey Sharybin (sergey) added a subscriber: Sergey Sharybin (sergey).

Wouldn't consider this a bug. Supporting this will be quite tricky: in order to fully support this tricks to work we'll either need to scarify visibility checks in BVH traversal (which is undesirable) or re-initialize volume stack after every bounce (which is also not optimal).

Mentioned this in the TODO page: https://wiki.blender.org/index.php/Dev:Source/Render/Cycles/ToDo

Thanks for the report anyway.