Announcement

Collapse
No announcement yet.

3dsmax crop to specific sizes

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

  • 3dsmax crop to specific sizes

    Hi there,

    I have a project on at the moment where a render will be displayed on 5 large lcd screens, each with a resolution of 1366x768 . In total this comes to 6830x768. I dont want to have to render the entire sequence and then crop in aftereffects due to the fact that when you crop to region in aftereffects in still takes the same amount of time to render out the crop as it would if you were rendering the entire sequence...hence the need to render out specific crop sizes from max.

    There is a set to region in max script but it doesnt seem to work. Does anyone know of the best way I can render specific crop sizes from max ? I was thinking of backburner stripes without reassembling...
    Regards

    Steve

    My Portfolio

  • #2
    Maxscript and some simple math, methinks.
    Lele
    Trouble Stirrer in RnD @ Chaos
    ----------------------
    emanuele.lecchi@chaos.com

    Disclaimer:
    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

    Comment


    • #3
      Ive looked at the max script reference and tried the example but it does not resize the region render...and im no max scripter.
      Regards

      Steve

      My Portfolio

      Comment


      • #4
        Managed to work it out..i need to have the viewport maximised.. for this code to work..

        Here it is if anyone is interested:

        You just need to remove the "--" for whichever crop you need.

        Code:
        -- Viewport secrop render
         
        viewport.activeViewport = 1
        EditRenderRegion.EditRegion()
        EditRenderRegion.IsEditing
        -- crop 1
        -- viewport.setRegionRect 1 (Box2 0 0 1366 768)
        -- crop 2
        -- viewport.setRegionRect 1 (Box2 1366 0 1366 768)
        -- crop 3
        -- viewport.setRegionRect 1 (Box2 2732 0 1366 768)
        -- crop 4
        -- viewport.setRegionRect 1 (Box2 4098 0 1366 768)
        -- crop 5
        -- viewport.setRegionRect 1 (Box2 5464 0 1366 768)
        EditRenderRegion.UpdateRegion()
        Regards

        Steve

        My Portfolio

        Comment


        • #5
          If #region, #regionCrop or #blowUp is selected, the region: parameter may be used to override the currently set regions for the active viewport, specified as pixel coordinates relative to the top-left corner in the bitmap (VFB). The region argument is ignored for all other render types. The region argument can be a Box2 value.
          I was about to post this
          Lele
          Trouble Stirrer in RnD @ Chaos
          ----------------------
          emanuele.lecchi@chaos.com

          Disclaimer:
          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

          Comment

          Working...
          X