Blender Git Loki

Git Commits -> Revision 738f6d8

Revision 738f6d8 by Sergey Sharybin (master)
December 28, 2015, 11:37 (GMT)
Cycles: Implement node deduplication routines

The idea of this commit is to merge nodes which has identical settings
and matching inputs into a single node in order to minimize number of
SVM instructions.

This is quite simple bottom-top graph traversal and the trickiest part
is how to compare node settings without too much trouble which seems to
be solved is quite clean way.

Still possibilities for further improvements:

- Support comparison of BSDF nodes
- Support comparison of volume nodes
- Support comparison of curve mapping/ramp nodes

Reviewers: brecht, juicyfruit, dingto

Differential Revision: https://developer.blender.org/D1673

Commit Details:

Full Hash: 738f6d8127a18f5bbb748419bc30faec40550532
Parent Commit: daf6f5f
Lines Changed: +381, -10

3 Modified Paths:

/intern/cycles/render/graph.cpp (+110, -2) (Diff)
/intern/cycles/render/graph.h (+21, -3) (Diff)
/intern/cycles/render/nodes.h (+250, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021