Blender Git Commit Log

Git Commits -> Revision b4d259f

Revision b4d259f by Dalai Felinto (master)
March 26, 2014, 00:58 (GMT)
New resolve_tri_uv_v3 util function

Compute barycentric coordinates (u, v) for a point with respect to a
triangle.

This is needed for Cycles baking but we decided to push this
independently of the upcoming main baking changes.

Code adapted from Christer Ericson's Real-Time Collision Detection.

Cleanup, refactoring and review from Campbell Barton.

Commit Details:

Full Hash: b4d259f04476812dba04e7854e5989fe4e06796c
Parent Commit: a7242c3
Lines Changed: +40, -3

2 Modified Paths:

/source/blender/blenlib/BLI_math_geom.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+39, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021