Page 1 of 1

Normals manipulation modifier

Posted: Mon Nov 04, 2013 8:10 pm
by aivanis
Hi I made a new modifier for normals manipulation, it takes vertex colours and converts them to normals:


Usual vertex normals:
Image


Modified vertex normals:
Image
Image

What do you think what is the best way to convert colour to normals? Currently, I check if colour is black or white and if it is normals remain untouched. If it is not RGB is converted to XYZ so that 0.5 if subtracted from each channel and normalised. For example if you want Z up normals you need to paint vertices with R = 0.5, G = 0.5, B = 1