Announcement

Collapse
No announcement yet.

Silent vrimg2exr converter

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

  • Silent vrimg2exr converter

    So heres the problem. We're running Deadline as our farm and we've got a python post render process that takes the rendered frame, vrimg2exr's it, then deletes the vrimg. Works great. The only problem is that the vrimg2exr pops up the python prompt every frame. Not a huge issue because it only lasts a few seconds, but if you've got the render node running in the background, it gets in the way sometimes. Anybody have any ideas on how to run vrimg2exr as a silent background process or anything like that??

    Thanks,
    -B

  • #2
    Technically when a Windows console process is run there is a flag to specify that the console is created in a minimized state, so in principle it is possible. Whichever program is starting the python script (Deadline?) should take care of this - but I don't know if it can actually do this.

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

    Comment


    • #3
      Thanks Vlado, that's a good call. I'll see if i can make that happen.
      -B

      Comment


      • #4
        Hi,

        In RenderPal we create the subprocess this way which avoids the popup window:

        handle=subprocess.Popen(cmd,stdout=subprocess.PIPE , universal_newlines=True, creationflags=0x08000000)
        http://www.andreas-reimer.de
        http://www.renderpal.com
        my HDRI and texture collection

        Comment

        Working...
        X