Using standard volume medium in Houdini ?

Forums: Using standard volume medium in Houdini ?
Houdini Integrated Plugin

Moderator: juanjgon

Using standard volume medium in Houdini ?

Postby DamjanMX_1 » Tue Dec 06, 2022 8:06 am

DamjanMX_1 Tue Dec 06, 2022 8:06 am
Hi,
is there a specific workflow needed for using standard volume medium in Houdini? I just can't seem to get it working, it renders as a solid cube of volume every time. Same VDB exported from Houdini and rendered with standard volume in standalone works as expected.

What am I missing? Thanks.
DamjanMX_1
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Thu Jul 18, 2019 9:46 am

Re: Using standard volume medium in Houdini ?

Postby galleon27 » Tue Dec 06, 2022 10:58 pm

galleon27 Tue Dec 06, 2022 10:58 pm
In the obj parameters set the "Float Grid 1" to density or whatever float channel you want.
Screenshot 2022-12-06 231846.jpg


There are a few caveats. Rendering/Loading VDBs in Houdini is a bit slow so usually you convert them to volumes before rendering. That way it loads a lot faster. The problem with volumes is that they are scalar so you won't be able to read color or whatever vector volumes you have.
The only workable way is to write vdb to disk and load it via openVDB in obj parameters since VDBs can be vector. This way you can read vector channels (ex. Cd, Vel, etc).
Win 10 64bit // GTX 4090 + GTX 3090 // 5900x // 64GB // SideFX Houdini // C4D
User avatar
galleon27
Licensed Customer
Licensed Customer
 
Posts: 237
Joined: Wed Jul 15, 2015 11:55 am
Location: Serbia

Re: Using standard volume medium in Houdini ?

Postby DamjanMX_1 » Wed Dec 07, 2022 8:41 am

DamjanMX_1 Wed Dec 07, 2022 8:41 am
galleon27 wrote:In the obj parameters set the "Float Grid 1" to density or whatever float channel you want.
Screenshot 2022-12-06 231846.jpg


There are a few caveats. Rendering/Loading VDBs in Houdini is a bit slow so usually you convert them to volumes before rendering. That way it loads a lot faster. The problem with volumes is that they are scalar so you won't be able to read color or whatever vector volumes you have.
The only workable way is to write vdb to disk and load it via openVDB in obj parameters since VDBs can be vector. This way you can read vector channels (ex. Cd, Vel, etc).



Thank you so much!
DamjanMX_1
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Thu Jul 18, 2019 9:46 am

Re: Using standard volume medium in Houdini ?

Postby juanjgon » Thu Dec 08, 2022 10:34 am

juanjgon Thu Dec 08, 2022 10:34 am
Yes, working with OpenVDB files to cache the volume objects is indeed the best workflow. The OpenVDB files are loaded by Octane at the render time, so the scene extraction time is almost zero, and all the Octane volume rendering features are supported.

Thanks,
-Juanjo
Attachments
2022-12-08 11_33_59-untitled.hip - Houdini FX 19.5.435 - Py3.9.jpg
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Return to Houdini


Who is online

Users browsing this forum: Bing [Bot] and 9 guests

Fri Mar 29, 2024 2:15 pm [ UTC ]