Volume cache rendering in wrong place

Forums: Volume cache rendering in wrong place
Houdini Integrated Plugin

Moderator: juanjgon

Volume cache rendering in wrong place

Postby rustyippolito » Fri Jul 29, 2022 12:02 am

rustyippolito Fri Jul 29, 2022 12:02 am
We have a pyro sim done in Axiom and cached out that is not rendering in Octane correctly. It appears perfectly in the Houdini viewport, however in the IPR or rendered frames it has been repositioned and/or scaled. We even tried rebuilding a super simple hip file that just reads in the cache and renders it and we get the same issue... anyone have any ideas? Here is a screengrab:
Attachments
screengrab.jpg
rustyippolito
Licensed Customer
Licensed Customer
 
Posts: 88
Joined: Wed Mar 08, 2017 10:07 pm

Re: Volume cache rendering in wrong place

Postby juanjgon » Fri Jul 29, 2022 12:25 am

juanjgon Fri Jul 29, 2022 12:25 am
Your vdb object has grids with different voxel sizes (the density and temperature grids have 0.01, while vel has 0.02), something not supported by Octane currently. You can resample the velocity grid to match the voxel size of the other grids using the VDB Resample SOP, as shown in the attached image. Also, you should convert the "vdb" primitives to "volume" primitives to improve the scene extraction time, or even better, cache the volume sequence as OpenVDB files that Octane can load at the render time, making the scene extraction time almost zero.

Hope it helps,
-Juanjo
Attachments
2022-07-29 02_28_47-.jpg
2022-07-29 02_21_04-file1.jpg
2022-07-29 02_21_04-file1.jpg (11.18 KiB) Viewed 1416 times
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Volume cache rendering in wrong place

Postby rustyippolito » Fri Jul 29, 2022 12:34 am

rustyippolito Fri Jul 29, 2022 12:34 am
Thanks for the lightning fast response! The VDB resample is the quick cure, now i will go hunt down where those different voxel sizes came from...
rustyippolito
Licensed Customer
Licensed Customer
 
Posts: 88
Joined: Wed Mar 08, 2017 10:07 pm

Re: Volume cache rendering in wrong place

Postby rustyippolito » Fri Jul 29, 2022 1:24 am

rustyippolito Fri Jul 29, 2022 1:24 am
I believe I found where the voxel size was being halved. It was in the Axiom output tab. Under Compression, the default settings have the Velocity scale set at 1/2. When we change it to 1/1 the velocity voxel size goes from .02 to .01, matching up with the density and temperature voxel sizes. Also wrote out vdb files directly and load times are WAAY faster! Thanks for the heads-up on that:)
Attachments
Axiom_Default_output.jpg
rustyippolito
Licensed Customer
Licensed Customer
 
Posts: 88
Joined: Wed Mar 08, 2017 10:07 pm

Re: Volume cache rendering in wrong place

Postby juanjgon » Fri Jul 29, 2022 7:37 am

juanjgon Fri Jul 29, 2022 7:37 am
There isn't anything wrong with remapping the velocity channel inside Houdini if you want to save disk space in your cache files, but anyway, yes, working with OpenVDB files is the right workflow while rendering animated sequences of complex volume objects. This is true for any renderer, not only Octane because all renderers usually can load OpenVDB files as procedural objects at the render time.

Thanks,
-Juanjo
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: No registered users and 15 guests

Fri Apr 26, 2024 2:30 am [ UTC ]