Small btSoftBodyHelpers CreatePatch modification, gives little more control over
patch and calculates UV coordinates. Comments. Just added two new functions CreatePatchUV and CalculateUV (they can be used standalone too, both static).
S. my post in "Demos" Forum for example. Arguments are same as for original CreatePatch plus array of floats to write texture coordinates into (if not given or NULL no coordinates will be generated).
SoftBody patch with UV texture coordinates
-
- Posts: 144
- Joined: Fri Aug 01, 2008 6:36 am
- Location: Bonn, Germany
SoftBody patch with UV texture coordinates
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: SoftBody patch with UV texture coordinates
It looks useful, so we accept the contribution:
http://code.google.com/p/bullet/source/detail?r=1383
Thanks for sharing this,
Erwin
http://code.google.com/p/bullet/source/detail?r=1383
Thanks for sharing this,
Erwin