Reply
Reply
 
Thread Tools Display Modes
Ravenslayer's Avatar
Old (#1)
hey guys, first of all happy newyear
i'm glad to say i have a holiday present for you







Quote:
Grabviewport is a FREE MaxScript that enables you to take High Resolution Screenshots of your 3ds Max Viewport.
It also offers you the options to capture animations as well as multiple passes that can later be used for compositing your final presentation image.

Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Nysuatro's Avatar
Old (#2)
Sexy stuff mate, will try it out soon.
Technical Artist at Eidos-Montreal
http://nysuatro.blogspot.ca/ - www.nysuatro.com
Co-Creator Xoliul Shader 2 - http://viewportshader.com/
Offline , triangle, 337 Posts, Join Date Aug 2006, Location Belgium  
   Reply With Quote

Ravenslayer's Avatar
Old (#3)
tnx Nysuatro ^^

For the people who already downloaded the script

Did a very minor tweak to the script so it doesn't show the gizmo anymore when in zdepth mode. This seemed to be a problem in some max versions.

Updated Script available here
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

mLichy's Avatar
Old (#4)
Works good . Awesome work

However, shouldn't the zdepth be greyscale? At least, thats how I've always seen it/used it.
Offline , polycounter, 1,064 Posts, Join Date May 2008, Location Kirkland, WA Send a message via MSN to mLichy  
   Reply With Quote

Ravenslayer's Avatar
Old (#5)
tnx
This should be the result of the zdepth, but i think i already know why your result is different. Do you have a scene with objects that don't have any materials applied to them?



already updated the script so also objects without materials showup properly

Last edited by Ravenslayer; 01-02-2012 at 07:52 AM..
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

cptSwing's Avatar
Old (#6)
will post some feedback here once i've used it again. thanks for the new release!
Offline , dedicated polycounter, 1,328 Posts, Join Date Aug 2011, Location Berlin  
   Reply With Quote

mLichy's Avatar
Old (#7)
Awesome. Yeah, had no materials
Offline , polycounter, 1,064 Posts, Join Date May 2008, Location Kirkland, WA Send a message via MSN to mLichy  
   Reply With Quote

Computron's Avatar
Old (#8)
How do I uninstall my old version? Couldn't find anything regarding this or any auto-update feature on the site.
Offline , dedicated polycounter, 1,482 Posts, Join Date May 2011, Location Minnesota, USA  
   Reply With Quote

Ravenslayer's Avatar
Old (#9)
tnx guys

Computron: delete the old macro in the following folder
Quote:
\Users\Username\AppData\Local\Autodesk\3dsmax\MAXV ERSION\enu\UI\usermacros
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

TonyClifton's Avatar
Old (#10)
Thanks for sharing, Ravenslayer!
Offline , line, 69 Posts, Join Date Nov 2008, Location Brazil  
   Reply With Quote

Ravenslayer's Avatar
Old (#11)
glad it's useful tony
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Kovac's Avatar
Old (#12)
Hey Raven,
This is an awesome tool, thanks a bunch for the work put in! Have you happened to have any luck with saving out batch images instead of an AVI sequence? Quite a few projects I'm working on involve getting an alpha'd object image sequence (30 frame rotation,etc) and require bringing them into After Effects afterwards. Using this in the past I'd have to render this out frame by frame.

Excellent work!
Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Ravenslayer's Avatar
Old (#13)
hey Kovac,

You can save the animations as image sequences PNG TGA and BMP
i just updated the script so it includes the alpha inside the basecapture if you save your animation as PNG's .
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Kovac's Avatar
Old (#14)
Awesome Ravenslayer, thanks a bunch!
Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Kovac's Avatar
Old (#15)
I've tested the latest download on the site and cannot seem to get the PNG to export out that information.

Additionally, since anti aliasing options are no longer available once Animation is selected, the quality is drastically lower than that of the original.

Any ideas?

Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Ravenslayer's Avatar
Old (#16)
hmm that's really odd, so you selected png and enabled the alpha checkbox while setting the mode to animation.

also i'm not getting such lowres results over here, why is the extension on your image jpg btw?
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Kovac's Avatar
Old (#17)
Sorry that was just for quick uploading purposes. I found that the default resolution was creating the artifacts and setting it to square fixed it just fine.

I tested the alpha again and correct, while using Animation the alpha is not stored directly in the PNG file. It does work, however, when I save it out as an individual frame. I'll see if I notice any obvious differences taking place during the saving process between the two.
Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Ravenslayer's Avatar
Old (#18)
oh oke i'm going to check that quality loss problem.

could you for all safety please redownload the script and install it?
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Kovac's Avatar
Old (#19)
I don't see how it's bypassing the check you have for PNG alpha when running an animation vs an image :X.

I've deleted my previous files and have tested it again; still no luck, unfortunately.

General process:
Load max file
Open GrabViewport
Select frame range x to y
Check Alpha
Choose Animation
Change format to PNG

Thanks again for the assistance!
Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Ravenslayer's Avatar
Old (#20)
lol damn sorry. i feel stupid, for some reason it didn't overwrite the script properly so it was still the old version.

please download it again, should work now
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Kovac's Avatar
Old (#21)
WinMerge is saying the latest version on your server and my previous versions are all identical; is there anyway you could try a new file name for testing this?

Thanks
Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Ravenslayer's Avatar
Old (#22)
i'm sure it's the right one on the server right now, try to open the script and look for "AlphaToAnim" if that's in there it's the right one.

there's a direct link to the mcr on scriptspot too http://www.scriptspot.com/3ds-max/sc...grabviewport-0
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Kovac's Avatar
Old (#23)
The latest version works like a charm, Ravenslayer! Thanks a bunch for taking the time to look into this, it's a huge help on my end!
Offline , polygon, 527 Posts, Join Date Dec 2004, Location Green Bay, WI  
   Reply With Quote

Ravenslayer's Avatar
Old (#24)
np , i'm glad it works.
Offline , dedicated polycounter, 1,893 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

jeremiah_bigley's Avatar
Old (#25)
Holy crap! I love you man! You just made my year! lol

Anti-Aliasing = Win!
Element Pass = Win!
AO = You have outdone yourself sir!

You made my life SOO much easier.

Haven't tested it yet, but it came just in time for a character I just started texturing.
Offline , polygon, 664 Posts, Join Date May 2009, Location Coral Springs, Florida Send a message via Yahoo to jeremiah_bigley  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch