Blender Git Commit Log

Git Commits -> Revision 4fce3c7

Revision 4fce3c7 by Sergey Sharybin (master)
October 11, 2017, 08:19 (GMT)
Cycles: Speedup up tangent space calculation

This patch goes away form using C++ RNA during tangent space calculation which
avoids quite a bit of overhead. Now all calculation is done using data which
already exists in ccl::Mesh. This means, tangent space is now calculated from
triangles, which doesn't seem to be any different (at least as far as regression
tests are concerned).

One of the positive sides is that this change makes it possible to move tangent
space calculation from blender/ to render/ so we will have Cycles standalone
supporting tangent space.

Reviewers: brecht, lukasstockner97, campbellbarton

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

Commit Details:

Full Hash: 4fce3c7ac079923fb6d124e5c89590e0611b07b5
Parent Commit: a421607
Lines Changed: +181, -166

1 Modified Path:

/intern/cycles/blender/blender_mesh.cpp (+181, -166) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021