Script that performs Normal mapping

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Elsammak
Posts: 1
Joined: 2011-11-24T11:02:46-07:00
Authentication code: 8675308

Script that performs Normal mapping

Post by Elsammak »

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

Re: Script that performs Normal mapping

Post 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
Post Reply