USD Stitch Clips "Clip Primitive Path"

   1592   0   2
User Avatar
Member
133 posts
Joined: Sept. 2021
Offline
Hi!

I have been following this [vimeo.com] tutorial to try and stitch together a USD sequence. (I'm trying to do this because I have been having glitches where a material or piece of geometry will disappear on random frames, and I heard from other people that breaking the sequence into separate USDs per frame may alleviate some of this).

So, I have a USD sequence structured like this: /.../USD_Tests/value_clip_tests/usd_sequence/trees.$F4.usd
The scene graph looks like this:


I want to use the usdstitchclipsnode to combine it into a single USD file. The animated trees are the heaviest part (and the only thing that's currently animated), so I figured that the Clip Primitive Path should be /scene/animated_trees.


However, when I click Render, I get this error:



Error 
Error rendering child: /stage/stitching_rops/usdstitchclips1/OUT 
Warning 
Python error: Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/hfs19.5/houdini/python3.9libs/usdroputils.py", line 242, in postRenderStitchClips
_runFunctionOnMultiparm(node,'stitchfiles',postRenderStitchClipsSingle)
File "/opt/hfs19.5/houdini/python3.9libs/usdroputils.py", line 17, in _runFunctionOnMultiparm
func(node, idx)
File "/opt/hfs19.5/houdini/python3.9libs/usdroputils.py", line 207, in postRenderStitchClipsSingle
UsdUtils.StitchClips(resultLayer = outtemplatelayer,
pxr.Tf.ErrorException: 
Error in 'pxrInternal_v0_22__pxrReserved__::{anonymous}::_ClipLayersAreValid' at line 813 in file /home/prisms/builder-new/WeeklyDevTools19.5/dev_tools/src/usd/usd-22.05/USD-py3.9/pxr/usd/usdUtils/stitchClips.cpp : 'Invalid clip path specified </scene/animated_trees>'

Am I missing something? Am I using the Clip Primitive Path the way it's supposed to be used (the tutorial seemed to suggest that we should point it to the primitive that's changing, otherwise it won't have much advantage)?

What should I change to accomplish my goal of either getting more stable USD behavior across frames or efficiently stitching together a USD sequence?

Thanks!
Anson
Edited by AnsonSavage - Nov. 14, 2023 12:01:31

Attachments:
2023-11-09_17-42.png (548.0 KB)
2023-11-09_17-43.png (88.5 KB)
2023-11-09_17-45.png (319.0 KB)

  • Quick Links