Solaris/usd and vdbs, slow to write out
6276 9 3- sanostol
- Member
- 577 posts
- Joined: Nov. 2005
- Offline
Hello,
I want to write usds that have volumes and this takes quite some time, compared to abc references.
There is not any additional data in the resulting usda file, for example bounds. just the samples and the file path.
is there any way to speed this up. the rest is more or less immediately written to disk
thank You
Martin
I want to write usds that have volumes and this takes quite some time, compared to abc references.
There is not any additional data in the resulting usda file, for example bounds. just the samples and the file path.
is there any way to speed this up. the rest is more or less immediately written to disk
thank You
Martin
- tas3d
- Member
- 120 posts
- Joined: Jan. 2012
- Offline
Is this volume being imported to LOPs with SOP Import or Volume where you specify path to VDB?
Michal Tas Maciejewski @ www.vfxtricks.com
- sanostol
- Member
- 577 posts
- Joined: Nov. 2005
- Offline
- tas3d
- Member
- 120 posts
- Joined: Jan. 2012
- Offline
When VolumeLOP loads VDB from disk, it needs to load it and parse it for existing volumes(density, vel, temp, etc). The bigger the file, the longer it will take, and that happens per frame.
I had the same issue. To solve it, I started saving VDBs to disk as a USD. This way all necessary info is written to USD while data is in memory. Then I can reference that USD file in LOPs at very high speed.
I had the same issue. To solve it, I started saving VDBs to disk as a USD. This way all necessary info is written to USD while data is in memory. Then I can reference that USD file in LOPs at very high speed.
Michal Tas Maciejewski @ www.vfxtricks.com
- sanostol
- Member
- 577 posts
- Joined: Nov. 2005
- Offline
- tas3d
- Member
- 120 posts
- Joined: Jan. 2012
- Offline
give it a try. You will notice that VDB will be written as usual, alongside with USD. So you get both !
Michal Tas Maciejewski @ www.vfxtricks.com
- sanostol
- Member
- 577 posts
- Joined: Nov. 2005
- Offline
- louisx
- Member
- 46 posts
- Joined: July 2009
- Offline
tas3d
give it a try. You will notice that VDB will be written as usual, alongside with USD. So you get both !
Hi,
I'm currently working on the same topic.
Is there a way to specify an explicit path for the volumes,which are automatically created during the generation of the .usds.
Right now it looks like this.
Preferably they would all lay next to the .usd files with the same name. Or at least all in one folder with a specific name.
Thanks in advance,
Cheers Martin
Edited by louisx - Nov. 4, 2021 18:39:17
- tas3d
- Member
- 120 posts
- Joined: Jan. 2012
- Offline
https://www.sidefx.com/docs/houdini18.5/solaris/sop_import.html#vols [www.sidefx.com]
I think this attib can help
"You can assign a SOP attribute named usdvolumesavepath to specify a custom path to save the volume file to when using the USD ROP. This attribute is translated into the HoudiniSavePath metadata on the USD field prim."
I think this attib can help
"You can assign a SOP attribute named usdvolumesavepath to specify a custom path to save the volume file to when using the USD ROP. This attribute is translated into the HoudiniSavePath metadata on the USD field prim."
Michal Tas Maciejewski @ www.vfxtricks.com
- AnimGraphLab
- Member
- 66 posts
- Joined: May 2019
- Offline
tas3d, thank you.
Visual answer for future Googlers...
Reference can be done via:
Volume LOP: ideally (i guess) for static volume.
Geometry Sequence LOP: ideally for animated volume.
Reading VDBs/USD asset comparison on a sky box:
Here's a visual addition to the answers above on how to create custom VDB save path when saving as USD
Use Scene Graph Tree to inspect if
Visual answer for future Googlers...
Reference can be done via:
- Geometry Sequence LOP: VDBs
- Volume LOP: VDBs
- Reference LOP: VDBs and USD asset (when directly reading VDBs, it will show a warning to use Geometry Sequence LOP instead)
- Sublayer LOP: USD asset
Volume LOP: ideally (i guess) for static volume.
Geometry Sequence LOP: ideally for animated volume.
Reading VDBs/USD asset comparison on a sky box:
Here's a visual addition to the answers above on how to create custom VDB save path when saving as USD
Use Scene Graph Tree to inspect if
usdvolumesavepath
attribute was created and passed from SOPs to USD primvar.Edited by AnimGraphLab - Sept. 18, 2024 04:13:08
Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
-
- Quick Links