harrybardak
July 22, 2025 17:12:55
Hi everyone,
I have a camera exported from maya with a post scale via Alembic.
If I import this abc in the Obj context, I can see the Screen Window size picking up the value.
When I import this same abc in the stage context, this value is ignored. I am importing it though a reference node.
Any ideas ?
Heileif
July 24, 2025 05:00:22
Solaris will not use it.
I had to make a Python script that edits the focal length to match the post scale from Maya.
harrybardak
July 28, 2025 16:04:16
This is a shame. As I wanted to avoid any manual edit in the scene, I meant by manual just load the alembic and that it.
Cameras in the context of stage seems to be behind from industry standard.
Is it an usd limiation or Solaris ?
Heileif
July 28, 2025 17:35:23
The Maya USD version we have exported USD caches with does not export the post scale by default on cameras, so we had to make a custom setup with some scripting to get it out from Maya.
robp_sidefx
July 29, 2025 10:48:20
harrybardak
This is a shame. As I wanted to avoid any manual edit in the scene, I meant by manual just load the alembic and that it.
Cameras in the context of stage seems to be behind from industry standard.
Is it an usd limiation or Solaris ?
In Solaris, we use the USD-shipped Alembic importer/exporter. The camera code is from here down:
https://github.com/PixarAnimationStudios/OpenUSD/blob/dev/pxr/usd/plugin/usdAbc/alembicReader.cpp#L2672 [
github.com]
In /obj we use custom Alembic importing code.