Announcement

Collapse
No announcement yet.

Camera Match vray

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Camera Match vray

    I have a normal maya camera:

    Angle of view: 71.51
    Focal Length: 25
    Camer Aperture: 1.417 | 0.945


    When I add a physical camera atributte, and enable it, the camera makes a zoom in the scene. That's because the vray physical camera has its own attributes for controling the "camera view".

    I just want to unserstand what is the math behind it so I can match my maya camera, of course I can do it by hand, and it is close enough but in some shots it's vital to be exactly the same.

    As I understood by reading other posts here, I found that it's a balance between film gate, focal length, specify FOV(?), focus distance...anyways.. I am confused.

    Please tell me in this particular camera that I have, what I need to change in the vray physical camera attributes to match exactly the same "camera view" as my maya camera with the "specs" above.


    Thank you in advance

  • #2
    Doesn't work for you "From Maya camera" in the Specify FOV attribute?
    V-Ray/PhoenixFD for Maya developer

    Comment


    • #3
      Thanks for your reply.

      Not really, as soon as I click "treat as vray physical camera" , the camera zooms in. when I do next: specify fov from maya cam it doesnt work either, it still has a small but very noticeable zoom.

      Comment


      • #4
        I found the issue, but...

        when we enable the physical camera and we tell it to read from maya camera, the "Fit resolution gate" attribute it is locked to horizontal, and when it was just the maya camera the fit was "fill"...

        I try try to solve it, any thoughts?

        Comment


        • #5
          I tried to force it in the script editor but no luck..syntx error..strange isnt it?
          setAttr "cameraShape2.filmFit" 0;


          EDIT: Sucess Looks like locking the attribute before treat as phyc cam, solves the issue.

          tnks a lot
          Last edited by wim.mutsaers; 05-02-2012, 05:55 AM.

          Comment


          • #6
            Hi mutsaers

            I have the same problem when I try to render HD sizes with the physical cam, will try locking it next time.

            OK I tried doing this and now I have an even bigger problem...

            Not only does it not match the camera at all like before, it now shows backwards/upside down/sideways and completely ignores my camera when I render.

            NEED HELP.

            Cheers!

            -DM
            Last edited by dmarques1177; 08-02-2012, 02:23 PM.

            Comment


            • #7
              If I unlock the attribute it pops back to horizontal, now the render at least respects the orientation of my camera, but I can't use specify focus, and I still can't align my renders to what I see on my display.

              This is affecting my work and sanity.

              Someone please fix this I have already posted a thread on it months ago.


              Thanks

              -DM

              Comment


              • #8
                Well, my workflow is:

                -Align normal maya camera, and then make a preset for that camera.

                -Add vray camera attrbts and enable it.

                -Choose "from maya cam" in the specify FOV.

                -Disable the physical camera with the first checkbox in the physical camera attributes

                -Go to presets of the camera and choose the one you just saved

                -Go to the "Fit to rez gate" , choose Fill and lock the attribute.

                -Enable physical camera.


                -It should work right? (Crazy workflow)

                Comment


                • #9
                  Hats off to you sir, you just made my day so much better.
                  Thanks a lot for your crazy workflow - and it is not so crazy after all.



                  Thanks again sir!!


                  Cheers

                  DM

                  Comment


                  • #10
                    My workflow is similar to that, but avoids cluttering your camera presets menu:

                    - Add the VRay Physical Cam Attrs to your camera. Do not enable it yet though.
                    - Click the drop down box for Extra Attr (NOT VRay Extra Attr).
                    - Under that menu, look for the field called "Camera Physical Specify FOV" and set it to 2.
                    - Once that's done, you can drop down the Extra VRay Attr menu and flag on the Physical Camera...your view will not change from what it is set to right now.
                    Last edited by kweechy; 09-02-2012, 08:50 PM.

                    Comment


                    • #11
                      For newer V-Ray builds we just made the "Specify FOV" option to be "From Maya camera" by default, so this should be a lot simpler.

                      Best regards,
                      Vlado
                      I only act like I know everything, Rogers.

                      Comment

                      Working...
                      X