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 Professional Discussion / Bump Mapping - What am I doing wrong?

Author
Message
Orgull
21
Years of Service
User Offline
Joined: 21st Oct 2002
Location: Canada
Posted: 22nd Dec 2002 05:02
Hi!

I've been trying to get bump mapping to work and although it works fine in the 3D showcase example, it doesn't seem to be working for me. So I tried an experiment. I loaded the asteroid object from the demo, and loaded the two textures, and when I try to bump map the asteroid using exactly the same commands as in the demo, the object turns black. Anyone know why this is or what I might be doing wrong? I have tried it with several different objects and textures and continue to get the same result.

Creepy thing is, I know bump mapping works with my card and with DBPro because the showcase demo works just fine.

Any help would be appreciated.

heres my code...

**********
load object "ast4.x",1

load image "ast4.bmp",1
texture object 1,1

load image "bump.bmp",2
set bump mapping on 1,2
**********

Login to post a reply

Server time is: 2024-05-05 02:11:55
Your offset time is: 2024-05-05 02:11:55