OpenVDB example file

   2398   6   0
User Avatar
Member
92 posts
Joined: 8月 2010
Offline
hey all,
Heads up--in preparation for the OpenVDB Course at Siggraph, I've updated the examples HIP and it's now live on the website. A few updates throughout, but the big changes are new sections for extrapolation and AX. Let me know if you have any questions or would like to see anything else.

https://www.openvdb.org/download/ [www.openvdb.org]

This Houdini HIP file demonstrates many of the nodes in the toolkit and illustrates fundamental concepts such as OpenVDB tree structures, tiles and voxels, narrow-band level sets and fog volumes. More importantly, it presents recommended workflows for common tasks like particle surfacing, polygon conversion, fracturing, filtering, resampling, extrapolation, etc. The current hip file is tested with Houdini 19.5 and OpenVDB 9.1.
User Avatar
Member
8833 posts
Joined: 7月 2007
Offline
thanks for the updating the examples, super useful

I don't have openVDB from github installed so obviously those operators became Merge SOPs, however I'm noticing many more nodes being replaced with Merge SOP than just the green ones

here is a list of nodes I noticed were replaced with Merge SOP, and not marked green
many of them even have name that's consistent with equivalent Houdini node, but maybe was using github definition
would it be possible to have those updated also to use Houdini nodes whenever it makes sense or marked as green if there is no equivalent?

/obj/example_fog_volume/vdbdensify1
/obj/example_fog_volume/vdbprune1 (-> VDB Activate?)

/obj/example_levelset/udf2 (while /obj/example_levelset/udf is using native VDB from Polygons)
/obj/example_levelset/vdbrebuildsdf1 (-> potentially VDB Renormalize SDF or maybe VDB Extrapolate or VDB From Polygons)
/obj/example_levelset/vdbtopolygons2 (-> Convert VDB)

/obj/example_from_points/vdbfromparticles9 (-> VDB From Particles)
/obj/example_from_points/vdbfromparticles10 (-> VDB From Particles)

/obj/example_advection/remove_div (-> VDB Project Nondivergent?)
/obj/example_advection/vdbpotentialflow1-4 (-> VDB Potential Flow)
/obj/example_advection/vdbvisualizetree1 (->VDB Visualize Tree)

/obj/example_combining/from_poly3-5 (-> VDB From Polygon)
/obj/example_combining/dilate1 (-> VDB Reshape SDF)
/obj/example_combining/erode1 (-> VDB Reshape SDF)

/obj/example_filtering/rebuild
/obj/example_filtering/smooth (-> VDB Smooth SDF)
/obj/example_filtering/DW_OpenVDBToPolygons2-3 (-> Convert VDB)

/obj/example_fracture/vdbtopolygons2,4 (-> Convert VDB)
/obj/example_fracture/vdbfrompolygons1 (-> VDB From Polygons)

/obj/example_frustum_lod/vdbfrompolygons1 (-> VDB From Polygons)
/obj/example_frustum_lod/vdbcombine2 (-> VDB Combine)
/obj/example_frustum_lod/vdblod1 (-> VDB LOD)

/obj/example_vdbpoints/vdbfrompolygons1,2,4 (-> VDB From Polygons)
/obj/example_vdbpoints/convertvdbpoints1,3,4,6,8,14,15,16,18,19 (-> Convert VDB Points)
/obj/example_vdbpoints/vdbpointsdelete1-3 (-> VDB Points Delete)
/obj/example_vdbpoints/vdbscatter1-2
/obj/example_vdbpoints/vdbrasterizepoints1
/obj/example_vdbpoints/vdbsamplepoints2
/obj/example_vdbpoints/vdbfromparticles2 (-> VDB From Particles)
/obj/example_vdbpoints/vdbtopologytosdf3,4 (-> VDB Topology To SDF)
/obj/example_vdbpoints/vdbvisualizetree1 (-> VDB Visualize Tree)
/obj/example_vdbpoints/vdbcombine1 (-> VDb Combine)

/obj/example_extrapolation/level_set (-> VDB From Polygons)
/obj/example_extrapolation/vdbrebuildsdf1 (-> VDB Renormalize SDF or VDB Extrapolate ?)
/obj/example_extrapolation/vdbactivatesdf2 (-> VDB Activate SDF)
/obj/example_extrapolation/expand_narrowband (-> VDB Extrapolate )
/obj/example_extrapolation/vdbfrompolygons1-3 (-> VDB From Polygons)
/obj/example_extrapolation/vdbfromparticles1 (-> VDB From Particles)
/obj/example_extrapolation/density (-> VDB From Polygons)
/obj/example_extrapolation/sdf_difference (-> VDB Combine)
/obj/example_extrapolation/topology_union,1 (-> VDB Combine?)
/obj/example_extrapolation/vdbsmooth2 (-> VDB Combine)
/obj/example_extrapolation/convertvdb1 (-> Convert VDB)
/obj/example_extrapolation/vdbtopolygons1 (-> Convertt VDB)
/obj/example_extrapolation/expand_into_mask,1,2 (-> VDB Extrapolate)
/obj/example_extrapolation/expand (-> VDB Extrapolate)
/obj/example_extrapolation/vdbextrapolate1,2 (-> VDB Extrapolate)
/obj/example_extrapolation/vdbextrapolate_extend1,3-7 (-> VDB Extrapolate)
/obj/example_extrapolation/vdbextrapolate_convert (-> VDB Extrapolate)
/obj/example_extrapolation/vdbextrapolate_mask (-> VDB Extrapolate)
/obj/example_extrapolation/vdbextrapolate_renormalize,1,2 (-> VDB Extrapolate)
/obj/example_extrapolation/vdbrenormalizesdf1 (-> VDB Renormalize SDF)
/obj/example_extrapolation/vdbsmooth1,2 (-> VDB Smooth)
/obj/example_extrapolation/vdbvisualizetree1,2,3,12,13,16-20 (-> VDB Visualize Tree)
/obj/example_extrapolation/vdbdensify1,2
/obj/example_extrapolation/viz_as_points
... actually almost every vdb node in this subnet is Merge SOP


and these ones are green, but can potentially use native node
/obj/example_advection/solver3/d/s/advect_density_Cd (-> VDB Advect)
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
92 posts
Joined: 8月 2010
Offline
Thanks for the list! Yea I’m always running with the opensource nodes, but these days most things should have parity. I can totally scrub through and see what I can move to native nodes.
User Avatar
Member
250 posts
Joined: 3月 2013
Offline
Could you do two versions? One with vanilla, one with your current opensource ones?

I regularly compile the latest 9x and 10x openVDB for houdini, and we defo can do that at the Studio, so it would be a
shame to lose updated workflows that use these nodes.


Cheers,

L
I'm not lying, I'm writing fiction with my mouth.
User Avatar
Member
8833 posts
Joined: 7月 2007
Offline
lewis_T
it would be a
shame to lose updated workflows that use these nodes.
I was only asking to replace open-source with native for nodes that have been already added to native and have functional parity so the example would work the same

Opensource nodes that don't have parity and show new capabilities should of course stay, but should be marked green

So I personally don't think 2 versions of each setup are necessary
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
92 posts
Joined: 8月 2010
Offline
Another update is available today! Took a while (to make sure I didn't break anything), but I've scrubbed the file and swapped everything I could to native SOPs.

A few opensource nodes/workflows remain (demonstrating new or slightly-different functionality), but I've tried to create parallel native workflows when possible.
User Avatar
Member
10 posts
Joined: 4月 2022
Offline
Hello,

could anyone give me some pointers on how to install OpenVDB 9.1 ( or higher if possible/recommended ) for Houdini 19.5 / 20.0 on Windows.
Thanks in advance
  • Quick Links