Page MenuHome

Cycles: add a Pass Node
ClosedPublic

Authored by Kévin Dietrich (kevindietrich) on Aug 17 2020, 10:57 AM.

Details

Summary

The Pass struct is now a Node and the passes are moved from the Film
class to the Scene class.

Nodes are generally dynamically allocated, but since Passes where stored by
value, I kept this behavior.

The Pass Node only has type and name as sockets as those seem to be
the only properties settable by exporters (other properties are implicit
and depend on the pass type).

This is part of T79131.

Diff Detail

Repository
rB Blender

Event Timeline

Kévin Dietrich (kevindietrich) requested review of this revision.Aug 17 2020, 10:57 AM
intern/cycles/render/scene.cpp
118

This could be moved into a film->add_default(this); function like we have for the shader manager.

406–447

I'd put these two functions in Film.

  • handle comments from review
This revision is now accepted and ready to land.Aug 17 2020, 4:31 PM
This revision was automatically updated to reflect the committed changes.