It looks like you're new here. If you want to get involved, click one of these buttons!
I'm thinking on writing a very basic blend shape deformer, and was wondering on the best way to store the deltas, in order to be fast at the time of applying them.
It seems there is not any geometry attribute designed specifically for this purpose, so my first thought was to use a generic vec3 attribute for each target.
But then I thought that if only a few vertices in the target shape have delta values, for instance 10 out of 1000, creating a whole attribute, of size 1000, just for 10 deltas, might be inefficient memory and performance wise.
But creating a struct or any other compound not stored with the geometry might also be slow.
So my question is, what approach seems more reasonable?
Are geometry attributes smart enough as to not store or not use memory for deltas with null values (0,0,0)?
©Copyright 2017 Fabric Software Inc. All rights reserved. | Privacy