Announcement

Collapse
No announcement yet.

Explicit render path/name/etc

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

  • Explicit render path/name/etc

    Hello

    So we have this lovely command vred(camera="persp") and I can set filename-prefix to c:/some/fancy/path/filename
    and then he will render into that filename, but he will then add _tmp.suffix...

    How can I ask vray to NOT add tmp ?
    I just want to render explicitly to a specific location as I want to be in full control of the output location for my images.

    Any way to do it via python?

    Regards
    Dariusz
    CGI - Freelancer - Available for work

    www.dariuszmakowski.com - come and look

  • #2
    Maybe this thread will clarify things. I need to ask around if this can be worked around with Python.
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Originally posted by hermit.crab View Post
      Maybe this thread will clarify things. I need to ask around if this can be worked around with Python.
      Hey
      Yeah, I've seen that topic.
      Sadly it's not something that is... "good" I was hoping 4y later there might be a solution...

      It would be amazing if
      ```
      import maya.cmds as cmds
      cmds.vrend(outputPath="C:/somefancypath/path/",ignoreTMPSuffix=True)
      ​```
      Or something like that.

      I know "Maya has its way of doing things" but we all think it's a "stupid way of doing things" and we just want to "save render to this path with this name"...

      Any way to do it via c++? I'm writing a plugin for maya, so if we can change that thing via C++ that's also an option.

      We just want to save the file to where we want with the name we want. Not maya/output/tmp(WHY?)/filename.exe or maya/output/myFancyPath/filename_tmp.exe
      I've just had a dig at deadline to see how they are solving it, but sadly they use MayaBatch which I guess... does things differently as using the same command did not work in maya GUI :/

      Any help would be great.

      Regards
      Dariusz
      CGI - Freelancer - Available for work

      www.dariuszmakowski.com - come and look

      Comment


      • #4
        It seems rendering with Maya Batch does not create the tmp folder or _tmp suffix. I need to ask the devs if you can use the vrend function for Maya batch as a workaround.
        Last edited by hermit.crab; Today, 05:18 AM.
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Originally posted by hermit.crab View Post
          It seems rendering with Maya Batch does not create the tmp folder or _tmp suffix. I need to ask the devs if you can use the vrend function for Maya batch as a workaround.

          What command did u use for render batch, ```mayaBatchRenderProcedure(0, "", "", "vray", "")``` ?

          For now my "current" workflow is to just do

          vraysettings.filenameprefix c:/some/fancy/path/somefilename.exe
          and when he renders I get somefilename_tmp.exe
          so the current idea is that after render ends loop over files and regexp find the _tmp suffix for the filename I give it and try to rename/remove it manually. But I don't like it one bit ;////

          Vray batch "could work" if it can show frame buffer in GUI so user can see the progress... but I think batch starts new scene and it takes forever on big scenes so no1 will want to use it :/
          Thanks for looking in to it!

          CGI - Freelancer - Available for work

          www.dariuszmakowski.com - come and look

          Comment

          Working...
          X