Camera from Maya not getting same result in Houdini

   987   9   2
User Avatar
Member
212 posts
Joined: 8月 2015
Offline
I'm trying to get camera from maya into houdini for rendering.
But no matter if I use usd or alembic there is always slight diference in camera, either there is difference in fov or something... example attached.
I can manually tweak later but I need really 100% identical down to pixel. Any ideas what is going on why and how to get identical correct transfer of camera from maya to houdini?

see all teh extra space:

Attachments:
camera_dference.png (3.9 MB)

User Avatar
Member
9127 posts
Joined: 7月 2007
Offline
are you using any screen space offset and zooms on camera in Maya, I recall Maya has several of them on top of the standard one, and they don't translate to standard alembic properties, not sure how they appear in .usd or whether they are collapsed, but that can be one of the reasons

- does the .usd load correctly back in Maya
- if so, do you see any attributes on camera prim in usd that are not present on default camera prim?
Edited by tamte - 2025年2月19日 02:53:45
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
スタッフ
528 posts
Joined: 6月 2020
Offline
There's also the split in data between the Camera and the Render Settings to consider.

If you can share a USD/Alembic file via support/bugdb, I'm happy to take a look.
User Avatar
Member
212 posts
Joined: 8月 2015
Offline
It was just default may a camera only change made was Focal Length but setting it manually with camera edit in Houdini makes it even worse.
Will share on support thanks!
User Avatar
Member
224 posts
Joined: 1月 2015
Offline
Have tried to change conform policy in the render settings? Then you don't have to deal with the camera edit node.

If post translate/scale has been used on the camera in Maya. The values will be exported with Alembic, but not the USD exporter if I remember correctly.

To get the camera in Solaris to use the values correctly we ended up running some code with a Python node. If this is the issue you are having I can send you the code that adjusts the camera.

If alembic camera cache contains the values that is.
Edited by Heileif - 2025年2月19日 15:19:32
User Avatar
Member
212 posts
Joined: 8月 2015
Offline
Having the same problem with both USD and alembic as well.
But just tested and FBX import seems to be fine.
User Avatar
Member
212 posts
Joined: 8月 2015
Offline
So it seems there is more to that. Just did another test and I was exporting geo from Maya to Houdini. I've exported using mm, cm, and m as settings in Maya.
all versions in USD and ABC are identical in size.
FBX exports were different sizes than they should.

So seems like unit settings in Maya do not affect USD and ABC at all only FBX.
That is probably why cameras from ABC and USD also have problems and fbx camera is fine.


edit:
anyway for now solution manually setting fov and horizontal app with aspect ratio.


The only problem is that will overwrite any fov animation if there is one in Maya but.. for now, at least gives the same look.
Edited by Mirko Jankovic - 2025年2月22日 06:54:08

Attachments:
edit_camera.png (21.5 KB)

User Avatar
Member
224 posts
Joined: 1月 2015
Offline
Mirko Jankovic
So it seems there is more to that. Just did another test and I was exporting geo from Maya to Houdini. I've exported using mm, cm, and m as settings in Maya.
all versions in USD and ABC are identical in size.
FBX exports were different sizes than they should.

So seems like unit settings in Maya do not affect USD and ABC at all only FBX.
That is probably why cameras from ABC and USD also have problems and fbx camera is fine.


edit:
anyway for now solution manually setting fov and horizontal app with aspect ratio.
Image Not Found


The only problem is that will overwrite any fov animation if there is one in Maya but.. for now, at least gives the same look.

Did you try to change conform policy? It should fix this. It does the same as the Maya camera modes like vertical, horisontal, fill etc. You just need to select the mode that matches exported Maya camera.
User Avatar
Member
212 posts
Joined: 8月 2015
Offline
Not sure that I understand what you mean by conform policy, where to find that?
User Avatar
Member
224 posts
Joined: 1月 2015
Offline
Mirko Jankovic
Not sure that I understand what you mean by conform policy, where to find that?

I'm only have access to my phone now. But you can find example hip here from when I asked for support in Redshift. Hope it helps.

https://redshift.maxon.net/topic/49464/aspect-ratio-conform-policy-not-supported-when-rendering-with-husk/4?_=1740252589593 [redshift.maxon.net]

Edit: Added image of where to find it.
Edited by Heileif - 2025年2月23日 10:17:53

Attachments:
aspectRatioConformPolicy.png (418.3 KB)
aspectRatioConformPolicy2.png (47.5 KB)

  • Quick Links