The script not worked on max2009. The main reason is maxops.getViewportShadingSettings() and ViewportButtonMgr wich is for max2010 +. Commented the problematic lines will solve the problem and script will run properly on max2009. Only AOMask don't work. Thank you for the credit and for the script. :)
hey Ravenslayer, great script....I had the visibility in undefined error also, MAX 2011 64 bit, never used 3ds clean or any custom set-up....got around it by deleting .visibility from the script wherever it came up as an error while trying to execute the script...works just fine now...odd huh? thanks again for the ace…
yeah i still need to work on this script and do some proper testing with the new xoliul shader anyway tnx for the suggestions, most of them sound pretty good additions so when i finally do update the script they probably will be in there.
nope because they use the viewportshading to create those states oh and since more people will be using the 3ds clean script i added an extra check so it won't crash any more. If you want to you can remove the file again and update the script
One more thing I've noticed about running viewportGrab is that the amount of memory max uses increases each time you use the script. After several grabs things can start to get a little slow so I suggest running a garbage collect every once in a while. Perhaos this could be added to the script?
odd. yesterday on a computer at school i was able to just drag and drop the script into the viewport and it opened. today at home i do the same and nothing happens. is there another way to launch the script? (also going to MAXScript > Run Script does not work either) EDIT: nvm, should've read the first post. XD on a…
Thanks for the tip. Setting the transparency to None actually yielded better results and the grab viewport script works fine with my hair alpha. Simple also works, but doesn't look as good. Thanks Seeing as we are in the spirit of improvement ... I have a few suggestions on this script as well... Viewport Size ... can we…
Hey Raven, I'm using Max 2009, and whenever I try starting the Script, it sends up an error alongside the Script with the message: -- Unknown property: "visibility" in undefined It also higlights the following part: if (((maxVersion())[1] / 1000) > 10) then m_bviewcube = ViewCubeOps.Visibility if (((maxVersion())[1] /…
Hiya Raven I have an issue with your grabviewport script, which is awesome by the way :) I'm using max's standard viewport shader with an alpha texture for some hair fins. The problem is the aliased edges of the alpha planes don't scaled up with the rest of the image .. They float separately and don't appear to be…
ABOVE LINK HAS BEEN UPDATED WITH FIXED SCRIPT tnx guys miauu: no thank you for getting me scripting again :P, i added some version checks . Since the AO pass uses the viewportshading i disabled it if the maxversion is lower than 2010. I also tried the pastebitmap function btw but it requires a bmp with an alpha channel and…