Announcement

Collapse
No announcement yet.

Viewport height locked?

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

  • Viewport height locked?

    Hi there,

    Is there any option to extend the height of the rendered viewport? It is pretty anoying that Rhino and vray lock the height and only change the width of the image when I change the ratio. I really need to render something that's beyond the upper or lower border of the viewport and I just can't. Is there a plugin or similar to solve this?

    Just for explanation: If my viewport has a 3:2 ratio and I render it with 3000 width and 2000 height px. it exactly fits the screen. If I change the height to 3000px and leave the width at 3000px, the rendered image is cropped. The height stays the same and the width is narrowed.

    Any help is really appreciated.

    Thanks in advance.
    Toni

  • #2
    Hi Toni,
    I never saw this problem.
    Isn't it that you should move the camera (or change the lens length) in Rhino?
    I use this script to show the render frame in the viewport:

    -_RunScript (
    Call SafeFrame
    Sub SafeFrame()
    Dim Vray
    Set Vray = Rhino.GetPlugInObject ("V-Ray for Rhino")

    If IsNull(Vray) Then
    Rhino.Print "V-Ray for Rhino Scripting Plugin Not Loaded"
    Exit Sub
    End If

    Dim imgW, imgH
    Call Vray.GetRenderOutputSize (imgW, imgH)
    Rhino.RenderResolution Array(imgW, imgH)
    Rhino.Command "-_RenderSafeFrameOptions visible enter", False

    End Sub
    )

    I put it in a button and it's very useful. It's a toggle and I turn it off and on again every time I change the output settings to see what will get in the frame.

    Comment


    • #3
      Thanks mgibeault,

      I will try your solution but when I understood you properly, I don't think that it will solve my problem, because the upper and lower border of the viewport still won't be extended. But I'll try.

      Anyone else? Suggestions?

      Thanks
      Toni

      Comment


      • #4
        Using the safe frame will help you visualize the way the view will crop, as mgibeault recommends. I recommend it highly.

        You are correct, the height is locked and the width varies - but only for landscape oriented views. If you change the output to 3000 wide by 6000 tall, you will see the viewport extend beyond the top and bottom, and now the width will be locked. Again this is hard to understand if you aren't using safe frame since the view won't update, you'll only see it in the render.

        so what if you want to keep a landscape orientation but extend the top and bottom? Well really that means you need either a wider lens or move the camera farther away, or both. Which is exactly what you would do with a real camera.
        emil mertzel
        vray4rhinoWiki

        Lookinglass Architecture and Design

        Comment


        • #5
          Hi fooprobe!

          Thanks a lot for your answer, htis helps me a lot. I didn't know about the orientation thing...

          It perfectly does what I wanted...
          Thanks again
          Toni

          Comment

          Working...
          X