ZBrushCentral

How does Dynamesh decide its facecount?

Hello everyone,

I’m having trouble getting similar results from Dynamesh regarding its facecount.

I have several meshes that are all about the same size. However when applying Dynamesh some meshes get up to 4 times the facecount of other meshes.

Is there a rule I don’t know of on which Dynamesh decides its facecount? I thought it was the size of my OBJ, but apperently that is not the case.

Thank you for any feedback!

The size of the mesh within the Zbrush worldspace will cause more/less resolution to be given to it, even at the same resolution settings. Larger objects are given more polys.

So you can adjust the value on the resolution slider, or you can increase the size of object to get more rez.

They would need to be exactly the same size to have a similar face count. The DynaMesh resolution depends on the value in the Resolution slider and the size of the mesh.

You can think of the Resolution as the number of quad polygons along one side of a square. That square represents the standard ZBrush unit - in effect the space shown by the Tool>Preview window. If you press Tool>Deformation>Unify then a mesh is scaled so that it fits inside the Preview window - and it is within one ZBrush unit.

So a DynaMesh resolution of 16 is a one ZBrush unit cube made up of 16 x 16 x 16 (or 4096) small cubes all packed together. If your mesh fits inside that one unit cube then it will have quite a low resolution, based on how the mesh intersects with the smaller cubes.

However, if the mesh is larger than one ZBrush unit then it will extend over one or more DynaMesh cubes, so its resolution will go up. You can test this easily enough by changing the Tool>Geometry>Size>XYZ slider and re-DynaMeshing before checking the poly count. You’ll see that if you double the size then the poly count will roughly quadruple.

Hi Marcus and Spyndel,

Thank you for your feedback.

My issue is still the following. I have exported two cubes in OBJ format. One cube is 100x100x100mm and the other one is 1000x1000x1000mm.

Both get the exact same facecount after applying Dynamesh. But I would like them to have a facecount relative to their size in millimeters.

After the Dynamesh operation they need to be exported again and keep their original millimeter size.

Is there a way or method to import meshes that would set their right size in ZBrush?

Thanks!

If you import an OBJ into ZBrush then it is automatically scaled so that it is a good size for ZBrush’s various functions. (The model is scaled again on export using the values in the Tool>Export sub-palette.)

One way you can keep the OBJs scaled relative to each other is to import one, duplicate it, then import the other into the duplicate. (If a model has no subdivision levels then it is replaced by the imported mesh).

Alternatively, you can avoid ZBrush’s auto scaling by selecting the PolyMesh3D Star and setting the Tool>Export>Scale to 1 before importing the OBJ into it. However, be aware that when importing like this, if your model is very large or very small the sculpting brushes and other features may not work as expected.

That is brilliant Marcus, thank you very much!