Announcement

Collapse
No announcement yet.

render element file naming

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

  • render element file naming

    I was just wondering if it's possible to have render elements automatically save as the max scene filename instead of an explicit file name that you have to type in. I'd like to have the vray wire color element automatically save as the name of my max file for organization purposes.
    "A severed foot would make the ultimate stocking stuffer"
    -Mitch Hedberg

  • #2
    Code:
    renderers.current.output_splitfilename = maxfilepath + (getfilenamefile maxfilename) + "_.exr"

    to be modified to your desire, you could set the path from a variable quickly etc... BUT now we come to the annoying part: although now the entry to the "save separate render channels" is set, vray will not save it to disk. You'll need to open the save dialog (where the path is not remembered) and set it manually again and press enter. Should probably post this in bug reports. So another quick workaround for you, you can copy paste the string to the save dialog

    Code:
    myname = renderers.current.output_splitfilename = maxfilepath + (getfilenamefile maxfilename) + "_.exr"
    temp=newscript()
    print myname to:temp
    hope this gives you some ideas,
    best regards,
    Michael
    This signature is only a temporary solution

    Comment


    • #3
      Thanks for the reply but I get this error. I know absolutley 0 about maxscript

      "A severed foot would make the ultimate stocking stuffer"
      -Mitch Hedberg

      Comment


      • #4
        @ powerandrubber

        If I got you right,

        All the channels are saved with the name you set + ".[channel name]"
        Example: If you set your save to be like < scene-name.tif >, the files have to be finally named like.

        1. Scene-name.RGB_color.0000.TIF
        2. Scene-name.Alpha.0000.TIF
        3. Scene-name.VRaySpecular.0000.tif

        etc. etc.

        Best regards,
        nikki Candelero
        .:: FREE Your MINDs, LIVE Your IDEAS ::.

        Comment


        • #5
          Yep, that's what I get.

          Comment

          Working...
          X