GrabViewport 2.1

56 votes
Version: 
2.1
Date Updated: 
06/13/2011
Author Name: 
Leslie Van den Broeck

FOR THE LATEST VERSION PLEASE GO HERE http://www.scriptspot.com/3ds-max/scripts/grabviewport-0

2.1 Changes:
- Now properly includes alpha masks from Xoliul, 3point shaders and standard material into the Alpha and all other passes
- Hides the World Axis icon from the viewport (max 2008 and higher only)
- Added directory selection and filename in the UI
- Saves settings to ini file and loads them the next time the script opens

Save High Resolution Viewport Captures

Passes:
Alpha: Saves alphas from the viewport to the alpha channel of the baseimage
Color: Assigns random colors to all objects and saves the separate pass
SSAO: Saves a separate Screen Space Ambient Occlusion Pass
Wire : Saves a separate Wire Pass
Z-Depth: Control the Zdepth range and save it as a separate pass (first increase the end untill all is visible and then tweak the begin parameter)

ColorMask, AOMask, WireMask: save a separate image or avi file to the same directory as the basefile (filename_passname.ext) AlphaMask : includes an alphamask in the viewportcapture alpha channel or saves out a separate avi file for the animation.

Tested in 3ds max 9, 2010 , 2011, 2012 (DIRECT3D)

PASSES PREVIEW

 

Install:

Drag Grabviewport2.mcr into your viewport or go to maxscript ->Run Script. Now go to Customize->Customize User Interface. Toolbars->Category->Grabviewport2 and drag the Grabviewport button into your UI or bind a key to it. Special thanks to : Borislav Petrov (MaxScript reference), Kostadin Kotev (miauu )for the Alpha Masking technique

 

 

Version Requirement: 
3ds max 9 and up

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
glennn's picture

Hi mate

Do you know if there has been a fix or trick to get the animation to save as an image seq ?
Cheers

glennn's picture

Making image Sequence

Great script !
One Question
How can I get it to export an image sequence of 35 frames?
Script will only make one image and export.
Whats the trick?
Cheers

harumscarum's picture

"filename" is indefined bug

this issue is localized - it happens when XnviewMP is opened on sript's run

ravenslayer's picture

hey guys the new version of

hey guys the new version of Grabviewport is available over here

http://leslievdb.com/grabviewport.htm

HCkev's picture

Images sequence?

Hi, I wonder if there is a way to save the animation into separate images rather than .avi file? I'm trying to save a turntable for a demo reel, and I am using the Xoliul viewport shader(so I can't make any rendering - only viewport captures). I'd like to save it into separate .png images so I can get some decent image quality rather than a compressed .avi file

Great script BTW!

harumscarum's picture

great script - but some suggestions and bug reports

- custom image size doesn't work now (max2012x64)
- need option to disable frame buffer which appears after image capture
- if world axis is already disabled script should not try to disable it and then don't need bring it back
- now script dont work if ViewCube is deleted from max
- please add separate macroscript to assign on shortcut which will run script as image capture with last settings
- automatic file naming - maxfilename_date_time.png
- save animation as images sequence

thank you very much for efforts

Michele71's picture

Thanks for this great script

Thanks for this great script :)

othoap's picture

THANKS

easy to use, well designed and laid out. Thanks

mustafa mamdouh's picture

Q?

Is that work with nitrous viewport in max 2012? I can't make high resolution grab the result always the same screen resolution!!

thanks
Mustafa

thanks to scriptspot community

ravenslayer's picture

tnx for helping him out :)

tnx for helping him out anubis :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.