Search - User list
Full Version: Camera Screen Window Size ignored with stage ?
Root » Solaris and Karma » Camera Screen Window Size ignored with stage ?
harrybardak
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
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
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
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
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.
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