Page 1 of 1

Camera viewport problem

Posted: Sat Jan 07, 2006 12:42 am
by daimon
Anyone knows why my render image doesn't match the camera viewport? I scale the camera so I don't get alot of dof.

Posted: Mon Jan 09, 2006 10:36 am
by Maya69
can you explain your setup

you don't forget maxwell dof is physical dof your all objet must have real size ..

a+

Posted: Mon Jan 09, 2006 3:26 pm
by daimon
Here's 2 images, the wireframe is the camera angle and what was suppost to get rendered, the render image is what was render from that camera angle.

Image



Image

Posted: Mon Jan 09, 2006 3:33 pm
by Olivier Cugniet
do you use "view -> camera settings -> resolution gate" of your camera ?

Posted: Mon Jan 09, 2006 5:33 pm
by Maya69
YES I THINK YOU CAN USE RESOLUTION GATE TO SEE A REAL CAMERA

Posted: Mon Jan 09, 2006 6:51 pm
by daimon
Thanks guys I ll give it a shot when I go home, but I think the resolution gate with maxwell camera shows me 1024x1024 no matter what resolution I have. The problem is only with maxwell camera, maya default cameras work perfect with the Resolution Gate.

Posted: Mon Jan 09, 2006 6:58 pm
by Maya69
yes, of course

but i have no probleme with maxwell camera ....

Posted: Mon Jan 09, 2006 7:34 pm
by daimon
It doesn't work for me, Check the image to see that the resolution is different on render settings and different on camera viewport (look at the top on the image)
Image

Posted: Mon Jan 09, 2006 7:46 pm
by Olivier Cugniet
you can send me the scene if you want, maya6.5 max :wink:

Posted: Mon Jan 09, 2006 7:58 pm
by daimon
Is not the scene, I am guessing some attribute of maxwell plugin (script)doesn't connect to maya correctly.

Posted: Mon Jan 09, 2006 8:07 pm
by iker
I think someone made a script to correct that, I can't remember who, but maybe you can do a search.

Posted: Mon Jan 09, 2006 8:16 pm
by daimon
Thank you Iker

Posted: Mon Jan 09, 2006 9:36 pm
by Maya69
ok i think i understand your probleme

you must setup in mxcamera the film and respect a ration image with maya camera and maxwell camera.

i f you use ratio 1.5 in maya you must use the same ration in your camera's maxwell

for me this a little bug placment (1 or 2 pixel decal )

i all ready mix toon render ( tomcat render + maxwell render and i have no probleme)

yes there is bug message with resolution !!!!!

Posted: Mon Jan 09, 2006 9:59 pm
by 3dtrialpractice
yes Maya 69 has great point , you must have same ratio, i stick withthe 1.5 film aspect ration default.

also pixel aspect ratio with this in you MAya globals must be 1.0 not .9 pixel aspect like you would have with 720x480 rez, instead 1.0 pixel aspect ratio will be 720x540

daimon, looking at your last screen cap of maya, you have all your gates turned on, way too confusing, ONLY have your RESOLUTION Gate turned on in your MX camera.

also, there is small ADJUSTMENT you mush DO manually in your MXcamera Expression to get more accurate gate display in maya, i think this is what Iker was refering to here is a Link to that discussion....
you must do this noramly by editing your mxcamera expressions yourself...
pabl0 wrote:yes, mayall only supports 24 fps :?

and another trick :
in the expression of maya camera's horiz and vertic aperture replace :
"cameraShape1.horizontalFilmAperture = MXCamera1.filmWidth * 0.039"
with
"cameraShape1.horizontalFilmAperture = MXCamera1.filmWidth * 0.03937"

so your open GL view match exactly with your Maxwell render view !
(if you want to blend two sorts of render in 2D compositing !)
8)


because 1/25.4 = 0.0393700 (to convert mm in inch)
select you CameraShape node, and in maya: window>Animation Editors>expression editors

now edit Both the horizontal/vertical Film apeture atributes to the value of 0.03937

make sure to hit the "EDIT" buttion after both changes for that edit to take place.

-hope all these replies helped

But be assured that once you get it figured out, the regular maya cameras and the viewport rez gate will definatly align up with the maxwell camera renders.

Posted: Mon Jan 09, 2006 10:42 pm
by daimon
Thanks a million guys!!!! I hope it will be fixed in coming releases of Mayall