Increase in USD file size when using cache nodes
713 4 1- shirak
- Member
- 11 posts
- Joined: Nov. 2018
- Offline
I'm looking for a simple sop to lop workflow.
I attached a simple scene.
I created animation data in sop and added a motion blur node (cache node) in lop.
USD Render Rop to export sequence USD files for rendering, the first frame will be 500KB, but the 10frame will be 900KB.
This is probably because the 10frame USD file contains animation information from the 1st frame.
I'm trying to find a way to minimize caching along the way, but maybe I'm doing it wrong?
I attached a simple scene.
I created animation data in sop and added a motion blur node (cache node) in lop.
USD Render Rop to export sequence USD files for rendering, the first frame will be 500KB, but the 10frame will be 900KB.
This is probably because the 10frame USD file contains animation information from the 1st frame.
I'm trying to find a way to minimize caching along the way, but maybe I'm doing it wrong?
Edited by shirak - Oct. 3, 2024 01:33:39
- robp_sidefx
- Staff
- 504 posts
- Joined: June 2020
- Offline
The Motion Blur LOP has an embedded Cache LOP in it which is set to "Cache Cooked Frames". This, as you suspected, leads to an aggregation of data where on frame 1 you only cache samples for frame 1 and, on frame 10, end up with a cache of samples for frames 1-10.
Our USD ROP (and USD Render ROP) have control for filtering out "irrelevant" time samples when writing out the USD files, but it looks like it's not working as-expected in the USD Render ROP. See the attached image for things working when using the USD ROP to write out the files.
Can you please log a bug?
Our USD ROP (and USD Render ROP) have control for filtering out "irrelevant" time samples when writing out the USD files, but it looks like it's not working as-expected in the USD Render ROP. See the attached image for things working when using the USD ROP to write out the files.
Can you please log a bug?
- shirak
- Member
- 11 posts
- Joined: Nov. 2018
- Offline
I exported it using USD ROP and it seems to be working fine.
As a result of inspecting, only 0.5 and 1.5 frames are exported for the 1st frame, and 9.5 and 10.5 frames are exported for the 10th frame.
Next, I tried exporting using the USD Render ROP and changing Filter Time Samples to "When Using Frme Ranges".
Then, information for all frames is now included from the first frame file.
Should I submit it to an RFE?
As a result of inspecting, only 0.5 and 1.5 frames are exported for the 1st frame, and 9.5 and 10.5 frames are exported for the 10th frame.
Next, I tried exporting using the USD Render ROP and changing Filter Time Samples to "When Using Frme Ranges".
Then, information for all frames is now included from the first frame file.
Should I submit it to an RFE?
- shirak
- Member
- 11 posts
- Joined: Nov. 2018
- Offline
- robp_sidefx
- Staff
- 504 posts
- Joined: June 2020
- Offline
-
- Quick Links