Ma Baker

Wednesday, March 17th, 2010

Downloadable Files

This script bakes vertex colours into your mesh depending on the angle of the edges of the mesh.

Based on an idea by endi

Optimised by tedi


Requirements

The script is written for use with blender 2.41 but should work with newer and older versions as well.


The interface


The header

Here you can see what version of the script you are currently using


Messages

Here helpfull messages will be printed. It will tell you if the bake was succesfull and if not what went wrong.


The settings

Here are all the functions of the script. The following options are available.


Tips

If you find this script is too slow for you try the Ma Self script.

For the bake effect to show up in your 3d window you’ll have to view your model in “textured view mode” (Alt + Z). For the bake effect to influense your render you will have to assign a material to your model with VCol Light in the material buttons switched on.


Exporting the result

This based on a tip from patricks. Follow the following instructions

. Assign a uv layout to your object (unwrap it).

2. Open a script window.

3. Run the “texture baker” script you can find in the scripts menu under “UV”. This will export an image but not with the colors. The script will create an object and camera on layer 20.

4. Go to layer 20 (right bottom in the layer selection of your 3d window).

5. select the camera you can find there.

6. Hit CTRL + Numpad 0 to make this your current camera.

7. Set your rendersize to something square.

8. Render it!


Examples


That’s it

Enjoy!
Dolf