Unity-Technologies / com.unity.demoteam.hair

An integrated solution for authoring / importing / simulating / rendering strand-based hair in Unity.
Other
710 stars 96 forks source link

angular velocity update in code? #59

Closed dokipen3d closed 1 year ago

dokipen3d commented 1 year ago

Hi

I'm trying to find where the angular velocity is stored and updated in the code (from "Position and Orientation Based Cosserat Rods"). Can someone point me in the right direction? Or does this implementation skip that update?

fuglsang commented 1 year ago

Hi there. This implementation does not store the orientation of segments -- orientation is inferred, with implied acceptance that the input orientation of each segment (in each iteration) is always a rotation minimizing frame constructed from the root of the strand. The primary reason for this is that we want to conserve bandwidth.

More information can be found in the slides from this talk: https://advances.realtimerendering.com/s2022/index.html#Enemies