# Ma Self

Wednesday, March 17th, 2010

#### Downloadable Files

- MaSelf.0.1 (689)

This script creates vertex colours based on the angle between the vertex’s normal and the edges connected to it.

It is written as a faster alternative to the Ma Baker script.

It is also a lot like Campbell Barton‘s Self shadow script.

Hence the name.

The big difference is that this script has no settings, and thus should be really fast.

# Requirements

This script is written for blender 2.42

# Running the script

There are no settings for this script and there is no interface! It is written to be quick and simple. If you have no mesh selected it will give an error message. Loose verts and edges will be ignored!

# A nice comparison between the three scripts

The times it takes for the math part to run in the scripts on the suzanne model on my system (1ghz amd 768MB ram):

- MaBaker: 0.5991s
- SelfShadow: 0.1182s
- MaSelf: 0.0944s

# That’s all

Enjoy
Dolf