VDB Volume noise issues

   4795   2   0
User Avatar
Member
8 posts
Joined: 11月 2017
Offline
Hi,

Could anyone help me with VDB noises and let me know what did I do wrong here.
When I'm applying Unified noise, or any other Volume VOP noise it seems like it is not affected evenly.
The left image shows what effect I'm looking to get out
The right image shows what I'm getting out.
Seems like all noises are affected like that.


1. In Sops, I have converted geometry to VDB Surface
2. Convert VDB surface to SDF Fog
3. Added VDB ACtivate to expand Volume
4. VolumeVOP added Unified Aligator noise
5. Converting VDB Fog to SDF
6. Convert VDB to Polygons

Here is the Volume Vop node graph:


In this Image, I have applied noise just to X-axis by using
VectortoFloat to preview how the noise is applied. Seems like the noise is being projected straight through the X-axis.
Is there a way to get the noise going from the centre?


I might have done something wrong here or not completed enough

Thank you for any help provided

Attachments:
Annotation 2020-04-28 133317.jpg (40.5 KB)
6Annotation 2020-04-28 134027.jpg (390.6 KB)
Annotation 2020-06-02 1206402.jpg (391.4 KB)

User Avatar
Member
7771 posts
Joined: 9月 2011
Offline
Adding a scalar (noise) to a vector (P) and plugging into sample position, is only going in one direction.

Multiply the scalar by the gradient of the distance field to get a direction, and then add that to the sample position. Or since this is an SDF, simply add the scaler (noise) value to the surface (sdf) value.
Edited by jsmack - 2020年6月2日 14:36:29
User Avatar
Member
8 posts
Joined: 11月 2017
Offline
Thank you! Worked like a charm

But there are some issues with artefacts on some sides of the mesh


Hopefully, I understood it correctly:


Hip file
Image Not Found



I have tried to expand vdb and increase volume resolution(resample) but still the same
Edited by Simon Pagas - 2020年6月3日 06:30:23

Attachments:
Annotation 2020-06-03 112126.jpg (114.8 KB)
Annotation 2020-06-03 112153.jpg (61.7 KB)
VDBHelpFile.hip (146.2 KB)

  • Quick Links