Create bump map texture

Started by
6 comments, last by Richy2k 18 years, 7 months ago
Hi. So, I wanted to try out some bump mapping this time. I created a black/white texture representing height of the bumps. How can I transform it to the proper bump map format? I know the theory, I'm just looking for a program that does this automatically. Anything out there? I searched g****e, but (as usual, lately) with no success. Tried looking for it in Photoshop, didn't find anything either. What do you use?
Advertisement
I take it by proper format you mean normal maps? There is a plugin for The GIMP floating about, link to it from the nvidia developers site. You already know how you are going to handle the normal mapping? dot3, fragment shader, etc?
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd
NVidia also has the normal map plugin (plus a few others) for Photoshop here.
Since I'm a Win guy, I'm going to give Photoshop a try.

Yeah, I know how to handle the rest.
Thanks for the info!
I think ATI has a program to do that, I'll look for you...

http://www.ati.com/developer/sdk/radeonSDK/html/Tools/ToolsPlugIns.html
If you're using Direct3d you can always use the D3DXComputeNormalMap function...
(I'm not sure if there's an equivilant helper function for OpenGL)

-Michael g.
A normal map can be generated by taking the derivative of height along u and v directions of the height map, adding the z as the inverse of "bumpiness" and normalizing the result at each pixel.

Niko Suni

Quote:Original post by Thr33d
If you're using Direct3d you can always use the D3DXComputeNormalMap function...
(I'm not sure if there's an equivilant helper function for OpenGL)

-Michael g.


Nah opengl doesn't, sadly, OpenGL is a bit closer to hardware than DX is, its a pro and a con.
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd

This topic is closed to new replies.

Advertisement