Guest User

Untitled

a guest
Jul 15th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. at begin of humanoid traversal:
  2.  
  3. - reset skinCoords to initial
  4.  
  5. at each traversal of each joint:
  6.  
  7. - accumulate skinCoords updates by
  8. - adding on current skinCoord the
  9. - weighted difference between
  10. - the transformed coord and the
  11. original, initial coord
  12.  
  13. The transformation is the global joint transformation adjusted to be relative to the global humanoid trafo by multiplying with inverse.
  14.  
  15. at end of humanoid traversal, after children traversal:
  16.  
  17. - force update of skinCoord users.
  18.  
  19. TODO
  20.  
  21. - skinNormals
  22. - reuse MFVec3f at resetting
  23. - reduce updates
Add Comment
Please, Sign In to add comment