Game Development Community

Bump mapping

by Chris \"Hobbiticus\" Weiland · in Torque Game Engine · 09/14/2002 (6:55 pm) · 8 replies

3 questions:

1. Is it supported?
2. How do you do it?
3. Where do you do it? (models, code, etc.)

I'd like to bump map terrains and possibly interiors so any help would be apprecitated.

#1
09/14/2002 (7:39 pm)
Is it supported by the current head version of the code? No. Can you add it in yourself? Yes. It's both coding and artistic in this case, since you have to add in all the code yourself. Once that's done you use an art resource to produce the bump map.

The current terrain engine uses a height map.

Alc
#2
09/15/2002 (9:33 am)
I saw in materiallist.cc a bunch of stuff havning to do with bump maps, but, since I don't know how to do bump maps, I didn't understand it. And, Tribes 2 did bump mapping, so I'd assume that it would have just been "disabled" instead of ripped out completely. I was hoping that there would be a simple solution to get bump maps working, so, if someone knows a simple way to "enable" it or if you know that it's a complex and very difficult problem for someone who doesn't even know how to bumpmap, let me know.
#3
09/15/2002 (9:52 am)
Tribes2? Bumpmapping? I don't think so...
#4
09/15/2002 (12:19 pm)
Uh...yes, it does bump map. I know from experience - lots of experience.
#5
09/15/2002 (4:56 pm)
Bump mapping support is, as I understand it, present in the TS material as well as the exporter. However, there is no support for rendering them. To add it, you'll have to change the rendering stages around in tsMesh.cc.
#6
09/16/2002 (2:07 pm)
Ok, I looked throught tsMesh.cc and a bunch of other ts*.cc/h files and I read nehe's tutorial on bump mapping and played around with it a little, but the stuff in the torque engine is just way too complicated for me. Would there possibly be anyone that has already put in the bump mapping code that could either share their code or help me through this wild endeavor?
#7
09/20/2002 (1:50 pm)
I hate to "bump" (HAHA!! GET IT??!?) this thread, but I'd really like to get bump mapping in the engine, and I'm sure everyone would like another tool in their arsenal of great graphical effects. So, I really hope someone gets this in or helps me too. If someone else has a common goal, please let me know in this thread. (Or maybe Melv May will continue to be super cool and take this one as his next project, because he really is just that cool) Ok, I'm done.
#8
09/21/2002 (5:44 pm)
It's a pretty monster project, though. The whole material system needs an overhaul, and I think people are mostly waiting to see what graphics card vendors do before they commit to doing something that might just be redone a few months down the line.