Announcement

Collapse
No announcement yet.

how to set the VFB-Renderregion from inside maya

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

  • how to set the VFB-Renderregion from inside maya

    Hi Guys,

    i want to do some render-optimization and therefore i would like to set a renderregion for vray while rendering in mayabatch using a pre-render-frame callback.
    Can anyone please give me some advice how to "inject" that region into vray-translation process? And is it possible to adjust that region on a per frame base?

    thx in advance
    Oliver
    OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

  • #2
    You can try calling vraySetBatchDoRegion(left, right, bottom, top) - this is what the -reg command-line switch to the Maya batch command does.

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

    Comment


    • #3
      sounds great! Thx!

      Will this also work if i want to render frames 1-5 with a moving object where i need to set the region per frame?
      OLIVER MARKOWSKI - Head of 3D at RISE | Visual Effects Studios

      Comment


      • #4
        I'm not sure - you'll have to try it and see what happens. If worse comes to worse, you'll have to render each frame with a separate batch command.

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

        Comment

        Working...
        X