Page 1 of 1
Script that performs Normal mapping
Posted: 2011-11-24T11:05:35-07:00
by Elsammak
I need a script that performs Normal mapping.
I've googled for a whole day & found nothing...could u help me PLZ??
Re: Script that performs Normal mapping
Posted: 2011-11-24T11:32:15-07:00
by fmw42
Elsammak wrote:I need a script that performs Normal mapping.
I've googled for a whole day & found nothing...could u help me PLZ??
Please describe what "normal mapping" does? Or provide an example input and output.
Do you mean using surface normals? If so, then you really need a 3D modeling and rendering system and not a general purpose image processing system. The only script that I have uses surface normals to shade a sphere. It is called sphere and is at the link below. But it is rather slow because it is a script. Also see my bumptext script (which uses IM -shade)
In IM, see -shade at
http://www.imagemagick.org/Usage/transform/#shade
For GIMP, see
http://code.google.com/p/gimp-normalmap/
I don't know if this will help but see
http://mrl.nyu.edu/~perlin/homepage2006 ... phere.java
http://www.ogre3d.org/tikiwiki/tiki-ind ... g%20Shader