Announcement

Collapse
No announcement yet.

animated Region Render

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

  • animated Region Render

    I am rendering an animation with 4000 frames withe the dimension of 8000 * 3000 pixel in maya. A bird is flying in an empty scene all around the image in varying sizes, sometimes quite small.
    The rendering of the bird itself is really fast. But just to test the whole image, whether there is someting there or not, takes quite some for this resolution. And most often the image is almost empty.

    Sphere Fade or masking will not help, since the complete image would still be tested.

    So I thought I would try to animate the Region Render. But I do not know how to access or animate it or how to reach it with a script.

    My pseudo code looks like this:

    Warning: Pseudo Code Start ...

    global proc defineRegionRender(){
    float $leftBottom[] = `xform - q -t leftBottom_locator`;
    float $rightTop[] = `xform - q -t rightTop_locator`;

    setAttr vrayRegionRender.left $leftBottom[0];
    setAttr vrayRegionRender.rght $rightTop[0];
    setAttr vrayRegionRender.bot $leftBottom[1];
    setAttr vrayRegionRender.top $rightTop[1];
    }

    But I do not have access to my invented "vrayRegionRender.left".

    I thought I could then throw the procedure into the Pre Render MEL slot of the MEL callbacks in the Vray Common Render Settings ...

    Thanks for your attention

    /Bumba

  • #2
    Hey Bumba,

    you could also constrain a camera to your bird and render the camera in smaller resolution.
    Later you just need to recreate the movement of your bird in your comp software.

    Hope this helps.

    Paul
    VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

    Comment


    • #3
      Just in addition to Pauls idea: Maybe don't recreate the movement but export it to any 3D capable copmpositor like Nuke, AE or Fusion. Then place a camera in the comp at the position of your original camera (or, if animated, export your camera). Attach the rendered sequence from Pauls idea to the animated object imported earlier and orient it (or constrain it) to the comps camera.

      Comment


      • #4
        Thanks pechart, I was just too lazy to write more text ^^ Thats excactly how I would do it
        VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

        Comment


        • #5
          Thought so Nice weekend to all of you!

          Comment


          • #6
            Hi Paul, hi Pechart,

            Yup, thanks for the ideas.
            Parenting the camera to the bird would perfectly work, if the bird would stay aproximatly at the same distance from the camera. But unfortunatly the bird is moving from the far back up to really close to the camera, filling the screen from time to time. So I would also have to adjust the resolution of the rendering depending on how close the bird gets to the camera.
            So I do not believe that parenting the camera will help in this case.

            Well thanks though

            Comment


            • #7
              Maybe you could only parent x and y to the bird an use the closest part of your animation to render out the anim.
              VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

              Comment

              Working...
              X