Announcement

Collapse
No announcement yet.

Batch Converter for Vraymesh

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

  • Batch Converter for Vraymesh

    Would be cool to be able to take a whole models folder and convert it over to vraymeshes instead of doing 'import, export, save as'...
    LunarStudio Architectural Renderings
    HDRSource HDR & sIBL Libraries
    Lunarlog - LunarStudio and HDRSource Blog

  • #2
    i once wrote a batch exporter from max to shockwave (using the plasma shockwave exporter)
    the export is scriptable
    in my case the export plugin was remembering its last settings, so all you had to take care of was setting everything up correctly before running the script
    wasnt that much work, basicly the file selection dialogs and the necessary error catching were the worst part

    Comment


    • #3
      thats actually pretty damn easy though i can't recall offhand what it is exactly. I know thats one of the things in the CGAcademy maxscript fundamentals dvd's... dont have max here but heres the gist.

      if you're feeling frisky look into something like this:
      --not real code.. max key words bolded.. search for em and replace with your syntax of choice

      listOfFiles = GetFiles "C:/3dsmax7/random/path"
      for eachfile in listOfFiles do
      (
      importmaxfile eachfile
      select all (Or max select all, i forget..)
      exportfile ("C:/3dsmax7/scenes/DemoFile/" + selection[1].name) #noprompt
      delete all or reset scene
      )
      Dave Buchhofer. // Vsaiwrk

      Comment

      Working...
      X