usd cameras in maya, horizontalApertureOffset+verticalApertureOffset

13 views
Skip to first unread message

matt estela

unread,
May 3, 2025, 6:57:50 AMMay 3
to maya...@googlegroups.com
We have some cameras from Blender, want to bring them over to Maya, seemed reasonable to try USD as Blender's USD support is constantly improving.

In Blender if I roundtrip the file, I can see that the X and Y offset for the cameras comes through.

In Houdini I can see that the values are stored as horizontalApertureOffset and verticalApertureOffset, and if I read the docs I see that these are official attributes in the USD spec, not made up stuff.

In Maya if I load the usd file via create -> USD -> Stage From File, I can see those attributes on the USD camera prim (not sure if it renders with it though).

If I r.click the camera prim, 'Edit as Maya Data', it gets converted to a Maya camera, but the offsets aren't copied to the film offset attributes.

I've tried this in Maya 2024 and the import was a little broken, in Maya 2026 its better, but still missing stuff. If any attributes it doesn't understand could be moved to 'extra attributes' that would at least allow me to wire it up, but it looks like Maya removes all the extra USD attributes.

Am I missing something? Is there another way? Worst case I can use python to read the usd attribs directly from the usd file on disk but... I'd rather not.

Cheers,

-matt


joiec...@gmail.com

unread,
May 9, 2025, 5:11:12 AMMay 9
to maya_he3d
I have no answer to that issue, but I'd like to follow your thread in order to see how it ends up.

matt estela

unread,
May 9, 2025, 5:54:39 PMMay 9
to maya...@googlegroups.com
Heh, so partial solution; turns out maya WAS doing the right thing all along, just hidden. The attribute editor was reading all zeros, but if I queried the results with python, the numbers are being pushed down into the 6th or 7th decimal place. Makes sense, the scene was coming in with metres as the standard scene unit, these shifts are in the millimeter to sub millimeter range, maya UI usually shows 3 decimal points at most.

The results were wrong, but that's a result of the upstream calculations, not maya. :)



--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/maya_he3d/b2bcafc9-14b4-45c1-8a5e-e9df75daef86n%40googlegroups.com.

joie

unread,
May 11, 2025, 11:35:37 PMMay 11
to maya...@googlegroups.com
Good to know!

You received this message because you are subscribed to a topic in the Google Groups "maya_he3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maya_he3d/hK1r4UaYoqk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maya_he3d+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/maya_he3d/CAPVsX9QPk_C3jvRMNw7djSdFkagFEX-hAbsNCPRSLFzj0jkYuQ%40mail.gmail.com.


--
Visita mi blog: 3djoie.blogspot.com
Reply all
Reply to author
Forward
0 new messages