I need a script that performs Normal mapping.
I've googled for a whole day & found nothing...could u help me PLZ??
Script that performs Normal mapping
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Script that performs Normal mapping
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