Capture Viewport animation to any output video/image format that 3ds Max support, with an access to the I/O bitmap setup (quality and compression settings), with a few (similar to the renderer) timing options.

Update
- - version 1.4 change log:
- Now custom-built sequence support negative ranges
- You can use interval (space sign) in custom-built sequence
What that mean?
Previously to enter range between -5 and +3
you should type:
"-5,-4,-3,-2,-1,0-3"Now you can just type
"-5 - 3"(or
"-5-3").
Also using intervals (optional) made the input more clear.
"-5 - 3"is more readable than
"-5-3", and
"-15 - -10"is more readable than
"-15--10".
Examples:
-- next sequence:
"-9 - -7, -5 - 2, 6, 9 - 11"
-- will capture frames:
#(-9, -8, -7, -5, -4, -3, -2, -1, 0, 1, 2, 6, 9, 10, 11)
-- next sequence:
"-9 - -7, -5 - -2, 6, 9 - 11"
-- will capture frames:
#(-9, -8, -7, -5, -4, -3, -2, 6, 9, 10, 11)- version 1.3 change log:
- version 1.2 change log:

Comments (23)
Comment policy
As mentioned before, I talked about it matching the render resolution. I was hoping it would crop the image to be actual res....
Hey John, sorry for the bad news but the only way to "set" the view-port size is via
, and it actually create new GW (Graphic Window) which "works" (awesome broken feature).
Excellent
Worked great, saving separate images to animation frames is what I was looking for! Thanks!
happy end then :)
I read your comment on my Grab Viewport Plus and see that you finally find what you looking for ;) About the GIFs - yes, not supported.
Gif
Pity Max won't save to gif eh? :)
Thanks Pifitas!
Hey John,
thats not a big deal for coding but I worried to add this 'cause resizing of the view port itself is too buggest. If you like to test and use this feature though, just add this code to the script (in "on open" event for ex.):
Hey Ian,
I think that what you ask is already there. With SaveAs button you set where to save and just enter the name of the scene into the save-dialog. If you worried for typing mistakes when enter the name, just put the next line of code at the beginning of "on bt_save pressed do" event:
..and now when the save-dialog pop up you can just press Ctrl+V ;)
great anubis!
- would you have time to make a checkbox, that when checked makes a preview in the project folder where the .max file is sitting, with the scene name plus _001 incremenation at the end?
that would be great if it could automatically name the previews as the scene name!
resolution
anyway you could get the resolution to take into account the render output size?
hey anubis :)
Yes, I suggest adding STOP function
Sometimes I have choosen wrog camera/viewport, or something missing, and there's no way to stop it, so I have to wait 'til finish just to repeat it.
thanks
Hi Pifitas, yes, I see your point and update the script.
Now you can interrupt it at any time by pressing Escape.
OMG!
You're amazing dude
thanks for your support :)
let's try it....
Hi Pifitas,
Thanks for the comment.
-- The script use Max built capture system that grab the whole view and no way to set it to grab safe frame only.
Actually this is possible with post-processing bitmaps but will made the tool to work extremely slow.
-- For the progress bar I notice that this happen sometime but it's not fatal for the script so I'll play on this some day when I have more free time.
-- Stop function? You need to break the script while running? I can add this but perhaps breaking the process will corrupt the video files.
-- Button for toolbar? - Get related to the .MS version file .MCR (macroScript file), I also wrote an installation instruction into the script description above, so you can create a button via Customize User Interface dialog.
and thanks again for the nice words.
hey thanks!
works fine under 2008 x64
but I noticed it records whole viewport window, instead of SAFE FRAME ONLY when active, also progress bar finishes prior recording all frames.
and STOP FUNCTION NEEDED.
Can you add a button for toolbar please?
btw very nice and must-have tool.
thank you very much
Well, I wrote a script that promised:
http://www.scriptspot.com/3ds-max/scripts/grab-viewport-plus
I make a few test only, and I hope it's a bug free.
About the top menu in max2010-2011 I cannot help 'cause I still work on max2009 and have no idea what's up out there. The rest is not problem.
yes. i'd love to use your script instead PrintScreen button. all what is needed:
1. assigned shortcut from 'customize'
2. set folder to save and filename prefix
3. forced expert mode option (is it possible to hide massive top menu in max2010-2011 so screenshot will appear maximum size)
THAnk you!
Nice! Thank you !
I'm vote too for the incremental save version.
Many thanks,
ven
Thanks everybody! The script updated again.
Hi Viktor, I add an option to force expert mode + option to maximize viewport. I hope this new options will be useful to other guys as well.
The second request is increment save on single shots, right? It's sound interesting and is more suitable for separate macro script. I'll take a look on this as soon as I can.
Cheers,
Anubis
Thank you!, works fine on max 2008x64 :)
@michel71, thedour:
nice to see you here guys...:P
thanks! works great.
could you please add option to force expert mode while saving an animation?
would be also very useful to save viewport images manually by shortcut assigned from 'customize' so each new screenshot goes with postfix _001, _002 and so on
best regards
viktor
Thanks. The script updated, now the slidertime restore it's previous location, as suggested, but for SceneRedraw I prefer to stay on just to be sure so all animations like scripted particles or scripted controllers will be updated correct.
Cheers,
Anubis
Nice!
I had a thought and tested it: wrapped your bt_dotit pressed event with disableSceneRedraw() & enableSceneRedraw() and it is ever so slightly faster.
Also it may be nice to have the slidertime return to it's original location.
Point!
Good job Anubis :) Very, very useful ;) One point to you!