Bake

7
votes
Date Updated: 
05/21/2001

Bake various properties of objects (ie. procedurally animated object into animated meshes - procedural animation into simple keys - etc).

Version Requirement: 
4; 3
Other Software Required: 
<a href='Extensions/web_upload/avg_dlx_209.zip' target=New>Avguard_Extensions</a> - <a href='scripts/web_upload/John Burnett/BFDtoolsCore.zip' target=New >BFDToolsCore </a> - <a href='scripts/web_upload/John Burnett/jbFunctions.zip' target=New >jbFunctions</a>
Video URL: 

Comments

Comment viewing options

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

I have been looking for a fix

I have been looking for a fix for this script for AGES. The fix works beautifully--this is hands down the best 3dsMax baking script in existence... boy I am one happy camper :-)

juhoru's picture

I thought I installed all

I thought I installed all scripts correctly, except avguard, but its already implimented in Max 2008 and up, right?

But if I try to make a button out of the bake script and push it, I get an error message saying "--No ""getPixels"" function for undefined".
Also, now Max is giving an error message saying "--Cannot assign to read-only variable: toUpper" every time it starts.

I'm running Windows XP 32bit and 3ds Max 2009 32bit.

EDIT:

I found the answear. If someone is strugling with the same problem, here it is:

1. The "Cannot assign to read-only variable: toUpper" error I believe is due to the use of the reserved keyword toUpper. Here's my fix:

a. In Max, edit the jbFunctions.ms script (Maxscript menu - Open Script).
b. Press Ctrl+F to open the Find utility and type toUpper in the Find what drop down list - then click Find Next.
c. For each "toUpper" in the script, change to "toUpper2". Since "toUpper2" is not a reserved keyword, there should be no conflict.
d. Save the script.
e. Restart Max.
f. I had to add 2 to the end of "toLower" too.

2. No "getPixels" function for undefined - This error is due to the fact that the script cannot locate the BFDtools-Bake_Buttons.bmp image that contains the graphics for the Out-of-Range selections (most likely due to out-of-date script, version changes, etc.) To fix, do the following:

a. In Windows, navigate to the C:\Program Files\Autodesk\3ds Max 2009\ui\macroscripts directory.
b. Create a new directory "Bake"
c. Place the BFDtools-Bake.mcr and BFDtools-Bake_Buttons.bmp files from the downloaded .zip file into this new Bake folder.
d. In Max, edit the BFDtools-Bake.mcr macroscript that you just placed into the Bake folder (Maxscript menu - Open Script).
e. Change line 63 to:
local OORBitmap = try (openBitmap (bakePath + "\\Bake\\BFDtools-Bake_Buttons.bmp")) catch (bitmap 168 18 color:green)
f. Delete lines 57-62 (the if statement related to the Max directory)
g. Save the macroscript.
h. Restart Max and try the macroscript.

Both of these fixes worked for me and the Bake script worked successfully.

titane357's picture

can't make it works with 2010

can't make it works with 2010

TexeL's picture

Hey thanks for script realy

Hey thanks for script realy useFULL thing :)

& here is the
Other Software Required:
Avguard_Extensions - BFDToolsCore - jbFunctions

rcarr's picture

Iam not much of a

Iam not much of a sctipter
Is this sctipt going to be written for 2009.

Thanks
R:)B

Comment viewing options

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