Page MenuHome

Voxel Remesh: Recalculate normals only on new faces
Needs ReviewPublic

Authored by Pablo Dobarro (pablodp606) on Mon, Jun 15, 10:59 PM.

Details

Summary

The realculate face normals step of the fix poles option in the voxel
remesher is currently the slowert part of the entire operator (it
usually takes more than the voxelization and remeshing in high poly
meshes).
Now the operation runs after edgenet (which is the one that is the one
creating faces with incorrect normals) only on faces tagged by edgenet.
On my tests, this reduces the time of recalculating normals for an
output of 265K vertices from 0.25s to 0.1s

Diff Detail

Repository
rB Blender
Branch
voxel-remesh-optimization-1 (branched from master)
Build Status
Buildable 8565
Build 8565: arc lint + arc unit

Event Timeline

Pablo Dobarro (pablodp606) requested review of this revision.Mon, Jun 15, 10:59 PM
Pablo Dobarro (pablodp606) created this revision.

From just reading the code seems reasonable, but needs someone familiar with BMesh to check.