Announcement

Collapse
No announcement yet.

defining render crop via script or plugin or tool i dont know about?

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

  • defining render crop via script or plugin or tool i dont know about?

    ive got a scene where i need to render a few different crops of the same camera. during lookdev and testing i will need to swap between these crops regularly, and they must always match the previous ones. is there a way to save crop "presets" ?

  • #2
    You can use MaxScript to set a region by coordinates for each image. It should look something like this:
    Code:
    vfbControl #setregion 0 0 640 480
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      thanks for the reply, but i need "crop" not "region"

      Comment


      • #4
        found a hacky solution:

        rectangles aligned to camera, edited to match crops marked on highres backplate in viewport.. set to non-renderable, then use the crop "auto region selected" ... i can now swap between crops just by selecting the right rectangle. managed to get it pixel perfect first time so it works.. not ideal though.

        Comment


        • #5
          Sorry, I've misread. Glad you've found a solution. Most likely there is a MaxScript command for the crop region as well as an alternative.
          Aleksandar Hadzhiev | chaos.com
          Chaos Support Representative | contact us

          Comment

          Working...
          X