Hi there,
I'm trying to repurpose the Stadium mocap data that's included with the built in mocapbiped3 HDA, they're stored as bclips inside the HDA which you can save out to disk. Everything is working nicely using a combination of the AgentFromSop example and the CMU retargerting tutorial on the sideFX site. Using a TOPS network I can cycle through all the mocap clips in a folder, retarget them to a new rig and bake them down to MotionClips and apply them to my new Agent.
The only issue I have is each bclip file is a different length and currently the setup bakes out each clip cycling to what ever length my timeline is. The MotionClip node has a frame range option but I don't know to figure out the bclip lengths. I can clearly see in the CHOP network where the cycle point is on each clip but don't want to manually go through 37 clips.
Any ideas would be greatly appreciated!
Cheers
Martin
EDIT: So it seems the clip length is right there on the CHOP file node, but I don't know how to access it in SOP's.