Announcement

Collapse
No announcement yet.

Convert Imported Alembic Camera to VRayPhyscialCamera

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

  • Convert Imported Alembic Camera to VRayPhyscialCamera

    Anyone have a good method for converting cameras from Alembic files to VRayPhysicalCameras that we can edit (like set DOF and motion blur controls, etc.) We normally resort to using FBX for the camera, but is there a better way?

    Thanks.

  • #2
    if fov is static, you can activate alembic cam > press p to make perspective > then create vray cam from perfpective view and link to alembic cam.
    or, you can script it, .fov is fov value for alembic camera.

    Comment


    • #3
      The fov is sadly not static.

      Oh, can you access the fov via scripting? I thought I looked and it looked like you could not. Perhaps I need to look again.

      Comment


      • #4
        Unfortunately, I don't seem to be able able to access .fov for an alembic camera. Am I doing something wrong?

        Code:
        (with the alembic camera selected)
        
        show $
        .source : filename
        .object : string
        .playbackType : integer
        .playbackStart : float
        .playbackEnd : float
        .playbackFrame (Playback_Frame) : float
        .importCustomAttributes : boolean
        .playbackTypeGen : integer
        .playbackStartGen : integer
        .playbackEndGen : integer
        .playbackFrameGen : integer
        .generationId : integer
        false
        
        $.fov
        -- Unknown property: "fov" in $Animation_CAM_2Shape
        -- MAXScript callstack:
        --    thread data: threadID:17220
        --    ------------------------------------------------------
        --    [stack level: 0]
        --    In top-level
        
        ​
        
        ​

        Comment

        Working...
        X