-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Many complex Blender scenes use node groups to share common node graph elements between different node graphs. I'm not sure how Cycles handles them internally, but for c-ray, we just expand these node groups and join them with their respective inputs and outputs in the higher level tree. Initial test with dining room (casa2) scene yields good results. Many nodes still need to be converted, but the node groups seem to work now. The way we handle node group outputs now is quite flaky, we just fetch the first output of type NodeSocketShader, and use that. We should do a mapping like we do with the inputs to deal with those properly.
- Loading branch information
Showing
1 changed file
with
101 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters