Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Bump mapping in DBC, yes there is a way.

Author
Message
Major Payn
21
Years of Service
User Offline
Joined: 16th Dec 2003
Location: United States of America
Posted: 31st Jan 2005 07:57 Edited at: 31st Jan 2005 08:02
I suggest that everybody go out and download Gimp, it is a free paint application, and believe me, the things you can do with this app, are pretty spectactular. Now I have found that you can easily use Gimp to create textures, with bump mapping type effects, however, they are not "truely" bump mapped, because, that would mena that the depth perception would change depending on the ingame light source, Gimp canmake bump mapped images, but the light source will be fixed, for example, take your texture, import it into gimp, click filter>light effect, then place the light on the texture, and go to bump mapping, and click the little check box to turn it on, Your entire image will now become bump mapped depending on where the light is, you can also adjust the specular of the texture to make the effect less noticeable.

Here is a test pic, of a plain with a bump mapped image on it, quite cool eh?



Do not let the limitations of the engine hold you down, there is always a work around.

EEK! sorry for the large file size, it's a jpg, I don't know why it is so huge!

here is a link to the Gimp...
http://www.gimp.org/

Guns arn't the problem, people are the problem, shoot all the people and guns arn't a problem anymore.
NanoBrain
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 31st Jan 2005 16:21
Hello Major Payn,

The only thing, is that if there are multiple walls with the same "bump mapped" image needed, then the level would have a need of a seperate bitmap for each angle of the walls, and so forth. Though it would most definitely make the level more realistic, it would take a grand amount of memory to run. It would be good to use if the levels in the game were all smaller. But, this just depends on one's processor. Thanks for the tip, though.

+NanoBrain+
Major Payn
21
Years of Service
User Offline
Joined: 16th Dec 2003
Location: United States of America
Posted: 1st Feb 2005 01:49
This is not a true bump mapping effect, your texture will not change it's appearnce with angle, or lighting, it is however a way to simulate the effect, for instance, say you have a wall texture, and you want to place a light source on that wall, well use Gimp's light effects to create the light image, and then the bump mapping around it to simulate the light effecting the wall. It is best used to create depth to your textures, it won't be true "bump mapping"
but it's the closest you can get with this engine.

Guns arn't the problem, people are the problem, shoot all the people and guns arn't a problem anymore.
Xander
22
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 3rd Feb 2005 02:34
I think it is a pretty cool effect. I have downloaded GIMP, but haven't found all of its cool features yet. Thanks for the tip Major, I'll remember it for when I want to do some texturing in the future...

Xander Moser - Bolt Software - Firewall
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 3rd Feb 2005 02:38
Yeah, looks nice - a good way to make some decorative features in a level without using more than 2 polygons.. (DirectX uses triangles)

Avatar - white cat in a snowstorm. Look closely.
Dot Merix
21
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Canada
Posted: 3rd Feb 2005 02:46
Major.. You can also do this with other programs, not only Gimp. Texture Maker has a bump mapping feature as well that would probably give the same effects.



WindowsXP Home(Service pack 2), Athlon XP 2400+(2.1Ghz), 1GIG Ram, Ati Radeon 9800Pro 128MB.

Login to post a reply

Server time is: 2025-05-24 05:20:42
Your offset time is: 2025-05-24 05:20:42