Blender Git Loki

Git Commits -> Revision 6b041ad

Revision 6b041ad by Kévin Dietrich (master)
August 18, 2021, 19:20 (GMT)
Cycles: use object coordinates when generated coordinates are missing

This modifies the attribute lookup to use object coordinates if no
generated coordinates are found on the geometry.

This is useful to avoid creating and copying this attribute, thus saving
a bit of time and memory.

Reviewed By: brecht

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

Commit Details:

Full Hash: 6b041ad3d025e5b8020d648405c8bc3c63560f8b
Parent Commit: b8ecdbc
Lines Changed: +51, -1

2 Modified Paths:

/intern/cycles/kernel/shaders/node_texture_coordinate.osl (+3, -1) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+48, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021