Author : disting


Reply
Reply
 
Thread Tools Display Modes
garriola83's Avatar
Old (#26)
love the script, but i do have a question: does it always constrain its proportions to a square when i change it? im trying to get it to render out at 1440x900 and its always 1440^2 or 900^2...or did i just miss something? thanks man!
Character Artist
Available for freelance and full-time
www.giancarloarriola.com
My Character Art Thread
Offline , polygon, 665 Posts, Join Date Feb 2008, Location Greater Los Angeles Area  
   Reply With Quote

Ravenslayer's Avatar
Old (#27)
i'm going to look into this problem since some max setups seem to do this, could you perhaps tell me what max version you are running and if you have any special UI setup like the ribbon docket to the side of your screen or something?
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Ravenslayer's Avatar
Old (#28)
i found the problem (float to integer convertion always outputted one as ratio)
You can download the adjusted script on the site or scriptspot

tnx for reporting btw
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

SideEffect's Avatar
Old (#29)
I'm loving the script man! Thanks so much

I ran into an error trying to render out my image sequences with alphas.
It renders the first pass fine but it stops at the very first frame on the alpha pass and gives this error:

Offline , spline, 176 Posts, Join Date Nov 2004, Location Santa Cruz, CA Send a message via AIM to SideEffect Send a message via MSN to SideEffect Send a message via Skype™ to SideEffect  
   Reply With Quote

garriola83's Avatar
Old (#30)
thanks a lot for addressing the issue! sorry i couldnt be more informative sooner
Character Artist
Available for freelance and full-time
www.giancarloarriola.com
My Character Art Thread
Offline , polygon, 665 Posts, Join Date Feb 2008, Location Greater Los Angeles Area  
   Reply With Quote

Ravenslayer's Avatar
Old (#31)
np garriola83.

SideEffect: looks like the filenameparsing isn't working for some reason, could you try to uncomment that messagebox line ,run the script again with the same settings and tell me what the messagebox outputs? Also could you tell me the full path+name of your baseimage that he saved

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

SideEffect's Avatar
Old (#32)
The path is:
Code:
"C:\Users\SideEffect\Desktop\bluefor"
named it "bluefor" like in the above pic
first file in the sequence comes out as "bluefor0000.PNG"

messagebox:
Code:
"C:\Users\SideEffect\Desktop\bluefor\bluefor0000.PNG"
hit ok

messagebox:
Code:
"C:\Users\SideEffect\Desktop\bluefor\bluefor0160.PNG"
hit ok

get the same boxes as in the above pic
Offline , spline, 176 Posts, Join Date Nov 2004, Location Santa Cruz, CA Send a message via AIM to SideEffect Send a message via MSN to SideEffect Send a message via Skype™ to SideEffect  
   Reply With Quote

SideEffect's Avatar
Old (#33)
On another note if I tick
"From To" in the Animation Range
and go from 0-100

run it again it gives me a message box for every frame in the sequence (0001-0100) everytime I hit ok.
Offline , spline, 176 Posts, Join Date Nov 2004, Location Santa Cruz, CA Send a message via AIM to SideEffect Send a message via MSN to SideEffect Send a message via Skype™ to SideEffect  
   Reply With Quote

Ravenslayer's Avatar
Old (#34)
messagebox:
"C: \Users\SideEffect\Desktop\bluefor\bluefor0160.P NG"

is the second frame he wants to add the alpha to or the 160th?
also is that space in the .P NG there in the messagebox?
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

SideEffect's Avatar
Old (#35)
No the space wasn't there thats just the messageboard glitching it
I edited my post after

Yes for
Code:
"C:\Users\SideEffect\Desktop\bluefor\bluefor0160.PNG"
That happens on frame 1
(sequence starts at frame 0)
Offline , spline, 176 Posts, Join Date Nov 2004, Location Santa Cruz, CA Send a message via AIM to SideEffect Send a message via MSN to SideEffect Send a message via Skype™ to SideEffect  
   Reply With Quote

Ravenslayer's Avatar
Old (#36)
found the problem, when using "Active Range" he was getting 1f instead of just 1 so it resulted in a integer convertion of 116

anyway i updated the script so this shouldn't be a problem any more
tnx again for taking the time
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

SideEffect's Avatar
Old (#37)
no, thank you man!

works perfect now

also the new crop feature is amazing

Last edited by SideEffect; 01-07-2012 at 11:11 AM..
Offline , spline, 176 Posts, Join Date Nov 2004, Location Santa Cruz, CA Send a message via AIM to SideEffect Send a message via MSN to SideEffect Send a message via Skype™ to SideEffect  
   Reply With Quote

Xoliul's Avatar
Old (#38)
Hey man, been using this script for my dozer captures, should be on a DVD cover soon ;) Thanks for preventing me from having to resort to renders, with the soft shadows it's just perfect!

One thing I noticed: at huge grabs, it tends to crash Max on the second attempt, highlighting the "ForceRedraw()" line. Im probably really pushing it with my resolutions (I got It to render pure black for a grab that was 13megapixels...), but I do notice you are always saving to 16bit PNG's. I don't think there's any benefit from that, as I'm pretty sure what you get from the viewport is just going to be output in 8bit before you grab it. So best to save some memory by just saving out 8bit images, as 16bit is quite a bit heavier to work with...
Offline , card carrying polycounter, 2,432 Posts, Join Date Oct 2008, Location London, UK Send a message via MSN to Xoliul  
   Reply With Quote

Ravenslayer's Avatar
Old (#39)
tnx guys ^^

xoliul: good point ,i'm going to look into that and see what else can be optimized in the process
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

S_ource's Avatar
Old (#40)
Seames like a good script....when it works got this error. And no image.
Offline , polygon, 531 Posts, Join Date Jan 2010, Location Sweden  
   Reply With Quote

Ravenslayer's Avatar
Old (#41)
hey S_ource what version of max are you using? i'm guessing something before 2010?
could you also give me the number of the line of code it goes to when that error pops up
tnx
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

S_ource's Avatar
Old (#42)
Im using 2009 64
It goes to 1035

MAXScript Rollout Handler Exception
---------------------------
-- Unknown property: "getViewportShadingSettings" in <Interface:maxOps>

Hope it helps.
Offline , polygon, 531 Posts, Join Date Jan 2010, Location Sweden  
   Reply With Quote

Ravenslayer's Avatar
Old (#43)
tnx, i updated the script you shouldn't get that error any longer
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

cptSwing's Avatar
Old (#44)
worked flawlessly (if a little slow) just the other day

I did get the impression that there might be a memory leak, at least i had to restart my computer after a dozen or so screengrabs - but that might be due to a hundred different factors!
Offline , polycounter, 1,286 Posts, Join Date Aug 2011, Location Berlin  
   Reply With Quote

Firebert's Avatar
Old (#45)
I get this noise after installing and trying to use. (setting hotkey or toolbar button)
Max 2011 64 (tried running as admin and not as admin)
win7
computer made of sauerkraut sandwiches




Thanks sexy
Offline , dedicated polycounter, 1,641 Posts, Join Date Jan 2009, Location North Carolina, USA Send a message via Yahoo to Firebert Send a message via Skype™ to Firebert  
   Reply With Quote

Ravenslayer's Avatar
Old (#46)
cptswing: tnx i'm going to look into that and make sure i'm cleaning everything up after each capture

firebert:
strange :s i use the exact same setup for testing the script.

could you go into the listener and type this line

getdir #Scene

and tell me what directory it outputs?
tnx
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Firebert's Avatar
Old (#47)
It lists whatever dir I have set as my project folder. I work on secondary drives and my primary drive is my OS.

in this case it lists F:\3D\project_name\project
Offline , dedicated polycounter, 1,641 Posts, Join Date Jan 2009, Location North Carolina, USA Send a message via Yahoo to Firebert Send a message via Skype™ to Firebert  
   Reply With Quote

Ravenslayer's Avatar
Old (#48)
aha yeah i didn't take that into account. I tried to find a unified directory so people running multiple versions of max would get the last saved settings in all versions. But since i never really setup a different project folder inside max itself it's always the standard one

i fixed it by saving the ini file in the max scripts folder if it returns an undefined.
you can download the updated script

tnx for pointing this out

Last edited by Ravenslayer; 01-15-2012 at 11:23 AM..
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   Reply With Quote

Firebert's Avatar
Old (#49)
U make me all warm and fuzzy
Offline , dedicated polycounter, 1,641 Posts, Join Date Jan 2009, Location North Carolina, USA Send a message via Yahoo to Firebert Send a message via Skype™ to Firebert  
   Reply With Quote

Ravenslayer's Avatar
Old (#50)
that's my job :P , just like santa only less bearded
Offline , dedicated polycounter, 1,871 Posts, Join Date Feb 2008, Location Antwerp, Belgium  
   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