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 / Blending Two Or More Texture

Author
Message
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 22nd Apr 2003 17:38
How do I blend two or more texture on a model, or better known as multitexturing.

The DBpro box said that it supports multitexturing, but I just can't find the way how to do it. I tried to use TEXTURE OBJECT on two texture image, but the second call to the function will just replace the first texture.

Can anybody advise me?
Thanks!
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 22nd Apr 2003 17:54
Well, look at the SET DETAIL MAPPING, SET LIGHT MAPPING etc etc commands, there's lots of them - I'd just experiment with the demo example in the help files - the one with the cool sphere mapped rock, that let's you try out different effects.

Not all graphics cards support the more advanced features, like bump mapping for example.


Van-B
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 22nd Apr 2003 20:24
What if I just want to alpha blend two textures on a model?

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
kevil
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Netherlands
Posted: 22nd Apr 2003 20:36
Blend mapping??

Kevil

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 22nd Apr 2003 22:46
then crack open the Image Memblocks and do it the old fashion way

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 23rd Apr 2003 09:34
Thanks Raven! I guess that is the only way I can think of.

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/

Login to post a reply

Server time is: 2026-07-10 19:48:29
Your offset time is: 2026-07-10 19:48:29