Search - User list
Full Version: Time Code/Stamp from USD Import
Root » Technical Discussion » Time Code/Stamp from USD Import
render_dude
I have some generated USD files that start with a time offset other than 0. They look like this:

#usda 1.0
(
defaultPrim = “World”
endTimeCode = 20026.5
startTimeCode = 20025.125
upAxis = “Y”
)

def Xform “World” (
kind = “component”
)
{
def Mesh “mesh_0_0”
{
uniform bool doubleSided = 1
float3 extent.timeSamples = {
20025.125: ,
20025.25: ,
20025.375: ,
20025.5: ,
20025.625: ,
20025.75: ,
20025.875: ,
20026: ,


I have multiple files each with their own (different) start and end and stepping values. So, the question is how do I access/retrieve the time codes from a USD file within Houdini?

Mark
render_dude
Posting seems to have stripped the extents for each of the time samples, but it does import correctly into Houdini
mtucker
You can use python expressions to load the layer and extract whatever information you may need from it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB