Last active
August 29, 2015 14:16
-
-
Save benbrandt/6db628ac555d6a11f10d to your computer and use it in GitHub Desktop.
Automatic Render Output MAXScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renderSceneDialog.close() | |
-- 1. Specify a Directory | |
MyDir = "D:/MyRenders" | |
-- 2. Make a render directory for this scene file | |
PassName = substring maxfilename 1 (maxfilename.count - 4) | |
RenDir = MyDir + "/" + PassName --"D:/MyRenders/MyFirstRender" | |
MakeDir RenDir -- Makes the directory | |
RenFile = RenDir + "/" + PassName + ".jpg" | |
rendSaveFile = true | |
rendoutputfilename = RenFile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment