Announcement

Collapse
No announcement yet.

Maya render view always coming up

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

  • Maya render view always coming up

    Ever since we upgraded our office to Vray 2.4 the Maya render view window pops up infront of the Vray frame buffer window every time I hit render, even if you enable "hide render view" in the render settings.
    It's not the end of the world but it's extremely annoying.

    Both machines at the office experience this using Maya 2012.

  • #2
    Yes its a known issue and has been discussed here before. here is what I do to work around it.

    Click image for larger version

Name:	Capture-1.jpg
Views:	2
Size:	78.3 KB
ID:	851054
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment


    • #3
      Originally posted by Bart247 View Post
      Ever since we upgraded our office to Vray 2.4 the Maya render view window pops up infront of the Vray frame buffer window every time I hit render, even if you enable "hide render view" in the render settings.
      We had to disable that option for the 2.x builds because of related crashes. It works properly in V-Ray 3.0 builds.

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

      Comment


      • #4
        lol! works for me.

        Thanks Dmitry

        Comment


        • #5
          Originally posted by Bart247 View Post
          lol! works for me.

          Thanks Dmitry
          Yeah, you get the best of both frame buffers this way. Only downside if you hit render from top maya ui, it rescales the maya framebuffer to full size again.
          Dmitry Vinnik
          Silhouette Images Inc.
          ShowReel:
          https://www.youtube.com/watch?v=qxSJlvSwAhA
          https://www.linkedin.com/in/dmitry-v...-identity-name

          Comment


          • #6
            Like Vlado said, this will be working in V-Ray 3.0.
            I wanted to bump in and share that there is a way to work around this in 2.0 builds.
            If I don't intend to use the render view at all and rely only on the VFB, I usually edit the windowPrefs file (User/Documents/maya<version>/prefs/windowPrefs.mel) and set the render view coordinates outside the screen. The line you should be looking for in the mel file is this one:
            Code:
            windowPref -topLeftCorner 1 1 -widthHeight 680 600 -parentMain true renderViewWindow;
            Yours could vary in values.

            With some help from co-workers here and after abandoning this for almost a year, I finally found a (somewhat) stable and predictable way of doing this with a pre and post render mel callback.
            I simply put in Render settings > Vray Common tab > Mel/Python Callbacks
            Pre Render MEL: window -e -topLeftCorner 5000 5000 renderViewWindow;
            Post Render MEL: window -e -topLeftCorner 10 10 renderViewWindow;

            The second statement is optional and will move the render view back into the screen after the render has finished.
            You can later edit either one by typing the same statement in a MEL tab in the script editor at any time.
            Feel free to try, just keep in mind that I do not guarantee that this method will not mess up something in your Maya setup at some point (no matter how unlikely it is).
            Last edited by yolov; 17-12-2013, 05:05 AM.
            Alex Yolov
            Product Manager
            V-Ray for Maya, Chaos Player
            www.chaos.com

            Comment


            • #7
              Try to use the mel script below. Just put it to Pre Render Mel.

              evalDeferred -lp "if(`window -ex \"renderViewWindow\"`){windowPref -r \"renderViewWindow\"; deleteUI \"renderViewWindow\";}";

              Best Regards,
              Sangho Jung

              Comment

              Working...
              X