|
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!
|
, polygon,
665 Posts,
Join Date Feb 2008,
Location Greater Los Angeles Area
|
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?
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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 
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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:

|
|
thanks a lot for addressing the issue! sorry i couldnt be more informative sooner
|
, polygon,
665 Posts,
Join Date Feb 2008,
Location Greater Los Angeles Area
|
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
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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
|
|
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.
|
|
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?
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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)
|
|
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
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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..
|
|
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...
|
, card carrying polycounter,
2,432 Posts,
Join Date Oct 2008,
Location London, UK
|
tnx guys ^^
xoliul: good point ,i'm going to look into that and see what else can be optimized in the process
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
, polygon,
531 Posts,
Join Date Jan 2010,
Location Sweden
|
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
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
Im using 2009 64
It goes to 1035
MAXScript Rollout Handler Exception
---------------------------
-- Unknown property: "getViewportShadingSettings" in <Interface:maxOps>
Hope it helps.
|
, polygon,
531 Posts,
Join Date Jan 2010,
Location Sweden
|
tnx, i updated the script you shouldn't get that error any longer
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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!
|
, polycounter,
1,286 Posts,
Join Date Aug 2011,
Location Berlin
|
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 
|
, dedicated polycounter,
1,641 Posts,
Join Date Jan 2009,
Location North Carolina, USA
|
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
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
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
|
, dedicated polycounter,
1,641 Posts,
Join Date Jan 2009,
Location North Carolina, USA
|
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..
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
|
that's my job :P , just like santa only less bearded
|
, dedicated polycounter,
1,871 Posts,
Join Date Feb 2008,
Location Antwerp, Belgium
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Copyright 1998-2012 A. Risch
|