90okm Posted December 6, 2017 Share Posted December 6, 2017 Hi ! i'm trying to get volume data from points attribute pls see the attached picture in this case i set an attribute to some value and want it to be sambled into new VDB volume. it works like surface "wrapped" around my points (red area). and it's empty inside, although there are points inside with the attribute set to positive non-zero value btw it works fine when i set vdbfromparticles SOP to Fog VDB - it fills all volume where points exist Is it possible to sample any arbitary attribute into VDB like Fog VDB option does? Quote Link to comment Share on other sites More sharing options...
3dome Posted December 6, 2017 Share Posted December 6, 2017 jsut leave that half-band voxels and radius scale at default and you should be good to go Quote Link to comment Share on other sites More sharing options...
90okm Posted December 8, 2017 Author Share Posted December 8, 2017 Unfortunately NO! the default parameters produce the same effect as you can see the inner area is empty although i have points there Quote Link to comment Share on other sites More sharing options...
haggi Posted December 8, 2017 Share Posted December 8, 2017 (edited) You create a surface vdb which creates necessary data on the surface only by definition. But to simplify the process you could use a fluidSource sop which seems to fill the interior. Edited December 8, 2017 by haggi Quote Link to comment Share on other sites More sharing options...
3dome Posted December 9, 2017 Share Posted December 9, 2017 (edited) b balance the values and it should work just fine Edited December 9, 2017 by 3dome Quote Link to comment Share on other sites More sharing options...
90okm Posted January 23, 2018 Author Share Posted January 23, 2018 (edited) Hi ! sorry , but i have not managed to get nice volume data from points into VDB ! Take a look at this picture ! There is the 3x3 grid (9 points with float attribute) These 9 points are sampled into volumes In the case of standart volumes everything goes fine (volume slice on the right) But in the case of VDB volumes it seems like hollow circles , i.e. there is no any data within the radius of the point, just like this is a surface (not type of a Fog) Maybe "additional VDB primitives" means SURFACE type only ? Are there any ways to get the same volume data in VDB as it's been done with standart volumes ? there is the hip file in attachment vdbfromattrib.hip Edited January 23, 2018 by 90okm Quote Link to comment Share on other sites More sharing options...
3dome Posted February 25, 2018 Share Posted February 25, 2018 (edited) the help on vdbfromparticles states: "You can generate additional VDB primitives that store the values of point attributes. Only voxels near the points will be set." So I guess you are right that it behaves like a surface VDB. anyway here's a scene that uses rasterizepoints and VDB so it gives the same result as the standard volume. (i did a quick performance comparison and at least at that resolution the standard method is twice as fast) dm_vdbfromattrib.hip Edited February 25, 2018 by 3dome Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.