Page MenuHome

Sculpt: Sample Voxel Size
ClosedPublic

Authored by Pablo Dobarro (pablodp606) on Thu, Nov 14, 12:45 AM.
Subscribers
None
Tokens
"Like" token, awarded by threedslider."Like" token, awarded by Frozen_Death_Knight."Love" token, awarded by MetinSeven.

Details

Summary

This adds support to the current sculpt sample detail operator to sample
a voxel size for the voxel remesher when sculpting on regular meshes.

It provides an approximation of a voxel size that is going to preserve
the sampled sculpt details after remeshing. It is not going to be 100%
accurate in all cases as it relies on having consistent edge length in
the whole sculpt, but it saves a lot of time and avoids guessing the
voxel size by trying different values.

Diff Detail

Repository
rB Blender

Event Timeline

Jeroen Bakker (jbakker) requested changes to this revision.Tue, Nov 26, 4:49 PM
Jeroen Bakker (jbakker) added inline comments.
source/blender/editors/sculpt_paint/sculpt.c
8477

Use floats

8478

use an int.
Adding floats takes a lot more time than incrementing ints.

8486

can tot be 0?

This revision now requires changes to proceed.Tue, Nov 26, 4:49 PM
Pablo Dobarro (pablodp606) marked 3 inline comments as done.
  • Review update
This revision is now accepted and ready to land.Wed, Nov 27, 9:03 AM
This revision was automatically updated to reflect the committed changes.