fps global options and caches

   4979   4   1
User Avatar
Member
30 posts
Joined: Feb. 2021
Offline
Hello,

I am trying to understand the behavior of camera cache imported with the sub layer node (tried abc and usd), the camera has been exported from maya where it was timecoded at 25 fps. Houdini is set by default at 24 fps in the animation options, therefore i though that by changing to 25fps the camera cache would behave correctly, but it is not the case. to make the camera having the same animated frame range than maya, I needed to remap the speed of the camera sublayer node from 1 to the value of 25/24=1.0416.

So it appears that regardless the fps global settings value the loaded cache is always interpreted at 24fps, is this correct? do the global fps option affect the lop nodes at all?

how do I tell to the sublayer node, that the cache I am loading is timecoded at 25fps and not 24fps? should it be automatic?


Cheers,
R.

houdini 18.5.696
User Avatar
Staff
4565 posts
Joined: July 2005
Offline
First, can you validate that the USD file output by Maya has the layer has metadata on it indicating that the TimeCodesPerSecond for the file is 25?

Also, is the sublayer of the camera file the first node in your LOP graph, or is it part way down?
User Avatar
Member
918 posts
Joined: March 2014
Offline
This seems related to issues I had with importing Alembics onto the stage. They always came in at 24fps. I needed to use a configure layer LOP and set the FPS explicitly. The global FPS setting doesn't seem to affect imported layers. Again, this was with Alembics only.
User Avatar
Member
8177 posts
Joined: Sept. 2011
Offline
Andy_23
This seems related to issues I had with importing Alembics onto the stage. They always came in at 24fps. I needed to use a configure layer LOP and set the FPS explicitly. The global FPS setting doesn't seem to affect imported layers. Again, this was with Alembics only.

That's because the alembic usd plugin has the framerate hardcoded as 24fps.
User Avatar
Member
30 posts
Joined: Feb. 2021
Offline
Thanks everyone for the answers,

the usd file from maya does say:

#usda 1.0
(
endTimeCode = 1284
framesPerSecond = 25
metersPerUnit = 1
startTimeCode = 1001
timeCodesPerSecond = 25
upAxis = "Y"
)

ive also tried to convert the maya abc into usd with solaris, the result (the data) is the same.
in both cases, when I am loading the usd file into solaris the result is not correct. but by assigning the a configure layer and forcing it to 25fps it "seems" doing the job. Said that, the viewport is not really consistent in visualizing the result, which brought me a few times to misjudgment, by changing properties/values on the configure layer node, at times, the node does not update the viewport.
  • Quick Links