Fix for face interpolation after ray casts, now supports non-triangle
authorLukas Tönne <lukas.toenne@gmail.com>
Mon, 15 Dec 2014 19:14:58 +0000 (20:14 +0100)
committerLukas Tönne <lukas.toenne@gmail.com>
Mon, 15 Dec 2014 19:14:58 +0000 (20:14 +0100)
commit6abdce14c2e3cfc6486db386ede4ec1c911d9f5f
tree4a43a30a8995333738af5b9f6edd57252252df8d
parentacef94fe99587564e10cf2c4d7ee064f472d0afe
Fix for face interpolation after ray casts, now supports non-triangle
ground objects.

The ray case function returns a poly index instead of the plain tessface
index. Now the blob samples store a list of polygon weights instead of
tessface weights, so arbitrary ngons are supported properly.

Note: this code relies on the new mathutils.interpolate submodule.
object_physics_meadow/blob.py
object_physics_meadow/duplimesh.py