Message 1 of 7
Optimizing Mesh Normals Access
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a custom node that requires me to access the vertex normals of the input mesh.
I switched from getVertexNormals to using getRawNormals (with some extra stuff to go from vertex-face to per-vertex normals), and expected to see a big jump in performance but there was almost no change. I did some profiling to compare the two and it seems like no matter which method you choose, Maya has to update the surface normals which is a heavy calculation. Is there a faster way to do this?