I have been attempting trying to use bump mapping on an object I am making for an RTS. This post may belong on the 3D forum, but as it involves code too I am posting here.
I have no real clue as to the best or easiest way to add bump mapping to an object so far I have tried this.
Make the object, UVW wrap and texture as I normally do.
Load the texture into the gimp and apply bump map.
Then using evolved's normal mapping example I change the code to load in my object, texture and bump texture.
Using that and the supplied normalize texture(with the demo download) it looks sort of bumpmapped, some areas are better than others, but the lighting is wrong. I think the normalize map must be changed also to get the final effect working.
I am at a loss as how to proceed at the second as I cannot even load in a dds texture to view it. Possibly I need some sort of Nvidia tool for this final step?
If anyone has any tips for this. For instance the bump mapped texture I make looks nothing like the example ones, but it certainly adds depth to the object. So if there is a better way to convert the image rather than using the bump map option, that would be handy to know.
I would sure like to know what that dds texture looks like and what I need to do to get my uvw map texture converted over.
http://s6.bitefight.org/c.php?uid=103081