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 / Cube Mapping?

Author
Message
BLink
21
Years of Service
User Offline
Joined: 1st Jan 2004
Location: Laptop, wherever that is
Posted: 28th Jul 2006 05:08
Is there any way at all to do cube mapping in DBC? Or, is that totally out of the question?

Pineapple juice, the best drink ever made.
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 29th Jul 2006 11:28
UV mapping? It might be possible with Memblocks, but it would be very hard, and I don't know how to do it.

RUCCUS
20
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 29th Jul 2006 14:33
Thats Box Mapping . Cube Mapping is an effect created on an object to make it look like it has reflective properties, like a shiny car. I remember seeing something in one of the Newsletters about someone making a poor man's cube map without any .fx files or shader commands, might want to look there.


Projects: Online CTF Game | Newcommer's Guide to FPS's
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 30th Jul 2006 00:02
Oh..That's easy! You just make 2 models, one larger than the other, and then texture the larger model with the reflection, and then ghost it. I do that in my greyhound racing game for the glass effect. Then when you move the camera around, you scroll the texture on the larger model.

Login to post a reply

Server time is: 2025-05-25 08:34:33
Your offset time is: 2025-05-25 08:34:33