iDevGames Forums
Bump Mapping - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Design (/forum-5.html)
+--- Thread: Bump Mapping (/thread-7530.html)



Bump Mapping - SethWillits - Oct 13, 2002 10:42 PM

What is bump mapping?


Bump Mapping - OneSadCookie - Oct 13, 2002 11:38 PM

A technique for adding detail to a 3D scene via the per-pixel lighting of each rasterized triangle based on the normal at each vertex, the direction of the light, and a height- or normal-map of the triangle's surface at a higher resolution than the underlying geometry.

Wink Rasp


Bump Mapping - SethWillits - Oct 14, 2002 01:10 AM

Quote:Originally posted by OneSadCookie
A technique for adding detail to a 3D scene via the per-pixel lighting of each rasterized triangle based on the normal at each vertex, the direction of the light, and a height- or normal-map of the triangle's surface at a higher resolution than the underlying geometry.

Wink Rasp


Oh ok. BTW, that did make sense Rasp


Bump Mapping - OneSadCookie - Oct 14, 2002 02:16 AM

I knew it made sense, I just didn't know if it was going to be any use to someone who didn't know what bump-mapping was.

I wonder if I could have stated it as concisely and precisely whilst making it still more difficult to understand :confused:


Bump Mapping - Feanor - Oct 14, 2002 07:06 PM

Quote:Originally posted by OneSadCookie
I knew it made sense, I just didn't know if it was going to be any use to someone who didn't know what bump-mapping was.

I wonder if I could have stated it as concisely and precisely whilst making it still more difficult to understand :confused:

Replace it with the lighting calculation equation or something. Math is the most concise, most difficult to understand way of writing any quantitative procedure. Rasp

For the uninitiated, it means making flat surfaces look bumpy, by drawing fake shadows on the surface around where you want bumps to be. Personally, I wasn't aware of the method using the vertices. I'm familiar with the DOT3 method, which using a second texture of the same size as the rgb texture to store the normal to the matching pixel. The bump texture uses the r, g and b values to store x, y and z values for the normal. When you see a bump texture, it always looks freaky because it looks like a false-light version of the original texture, and usually has pinkish and cyanish look to it.

Download the DOT3 sample code from Apple to see an example.

--FÎanor