I’m looking ahead trying to implement support for spline and animation curves in usd for when it’s released in a future update. I’m using the OpenUsd dev branch which already contain part of that implementation and tests that I can use to give it a try.
Having said that, I’m having issues understanding a few things and would love to get some help here:
on the proposal it says:
Floating-point scalars - double, float, and half - are the attribute value types that USD splines will support.
With the current system, we would export something like:
float3 xformOp:rotateXYZ.timeSamples = {
1: (0, 0, 0),
...
}
uniform token[] xformOpOrder = ["xformOp:rotateXYZ"]
1. Is it expected that we have to break down every xform transform into its own components in order to use the spline animation?
meaning that the example above would have to become:
float3 xformOp:rotateX.spline = {
0: 1; pre ws(0, 0); post held,
...
}
float3 xformOp:rotateY.spline = {
0: 1; pre ws(0, 0); post held,
...
}
float3 xformOp:rotateZ.spline = {
0: 1; pre ws(0, 0); post held,
...
}
uniform token[] xformOpOrder = ["xformOp:rotateX, xformOp:rotateY, xformOp:rotateZ"]
And regarding joints animations, it doesn’t seem that it would be possible. What would be the solution for that case? I saw this other topic here, but its been a while and I figured I would as again.
Thanks for the help,
Talis