Jump to content

How to make VDB smooth? (VDB from polygon)


Recommended Posts

I tink subdivide wont work cause there no vertices and no points  in a VDB object. Wont work.

You can do a VDB smooth and convert it back to polygons. In any case you loose the origin topo.

If the VDB is not urgently neccessary for your network process, try another way.

 

 

I'm not sure (please anyone correct me if I'm wrong):

As VDB's are a mathematic model of your origin geo (similiar to NURBS), the edges will be interpreted as (tadaa) edges ;-). So between 2 Polys i.e. on a sphere.the edge have to be the highest area. I think there is no way to smooth it out with a technique similiar to smoothing groups in max cause its "just" a equalization of different light bouncing points, wheras your problem is based upon "real" geometry. Try to lower the voxel size in your "vdb from poly" to i.e 0.005 and you will see the edges very sharp. As smaller the voxels wich "bathe" the geo, as sharper are not coplanar objects; here edges.

 

If you just want to stop the overload of points in your object, try to work with packed primitives.

 

What do you want to achieve?

.

Edited by Follyx
  • Like 1
Link to comment
Share on other sites

I tink subdivide wont work cause there no vertices and no points  in a VDB object. Wont work.

You can do a VDB smooth and convert it back to polygons. In any case you loose the origin topo.

If the VDB is not urgently neccessary for your network process, try another way.

What do you want to achieve?

.

I mean to subdivide before converting to vdb.

Link to comment
Share on other sites

I tink subdivide wont work cause there no vertices and no points  in a VDB object. Wont work.

You can do a VDB smooth and convert it back to polygons. In any case you loose the origin topo.

If the VDB is not urgently neccessary for your network process, try another way.

 

 

I'm not sure (please anyone correct me if I'm wrong):

As VDB's are a mathematic model of your origin geo (similiar to splines), the edges will be interpreted as (tadaa) edges ;-). So between 2 Polys i.e. on a sphere.the edge have to be the highest area. I think there is no way to smooth it out with a technique similiar to smoothing groups in max cause its "just" a equalization of different light bouncing points, wheras your problem is based upon "real" geometry. Try to lower the voxel size in your "vdb from poly" to i.e 0.005 and you will see the edges very sharp. As smaller the voxels wich "bathe" the geo, as sharper are not coplanar objects; here edges.

 

If you just want to stop the overhaul of points in your object, try to work with packed primitives.

 

What do you want to achieve?

.

 

Yes you are right. Subdiv is the best way for now.

Link to comment
Share on other sites

Looks like you've hit the Nyquist limit. i.e. you're sampling the polygon geometry at a frequency higher than the details of the geometry itself. This oversampling means you won't get smooth interpolation across the SDF, because you're matching the source geometry too closely. Try increasing the voxel size.

Link to comment
Share on other sites

Looks like you've hit the Nyquist limit. i.e. you're sampling the polygon geometry at a frequency higher than the details of the geometry itself. This oversampling means you won't get smooth interpolation across the SDF, because you're matching the source geometry too closely. Try increasing the voxel size.

 

Yes for high detail it convert like what you said I thought.

Link to comment
Share on other sites

I use VDB from polygon to convert my geometry to VDB, but the VDB is very sharp and seems losing smooth group, like we use unique point in Facet, how can I get a smooth VDB?

 

My geometry:

 

attachicon.gifgeo.jpg

 

VDB:

 

attachicon.gifvdb.jpg

 

The polygon sphere looks smooth because it has smoothed normals but smoothed normals don't translate into more polygons or smoother geometry. The geometry you see showing through on the VDB is exactly the geometry of the polygon. If you want the VDB to appear smooth then give it smoother geometry to start with (subdivided, higher frequency, etc.).

Link to comment
Share on other sites

The polygon sphere looks smooth because it has smoothed normals but smoothed normals don't translate into more polygons or smoother geometry. The geometry you see showing through on the VDB is exactly the geometry of the polygon. If you want the VDB to appear smooth then give it smoother geometry to start with (subdivided, higher frequency, etc.).

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...