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 / How to use mipmapping?

Author
Message
kru64
22
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Russia
Posted: 27th Jan 2004 00:19
Does anybody can show a short example how to use mipmapping? I want to see detail texture when I approach to the wall.
Neophyte
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 27th Jan 2004 04:31
Its used automatically. No example required.
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 27th Jan 2004 05:33 Edited at: 27th Jan 2004 05:35
If you want it so that the texture is more detailed the closer you get, you would have to do that yerself. You could make a huges texture as a .dds image and make yer own mipmaps so then it wouldn't go slowly when you are looking from a distance.

P.S. Anyone know where i can get a .dds exporter for PSP?

0100100100100000011000010110110100100000011001110110111101100100
No, really, its true. Honest
kru64
22
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Russia
Posted: 27th Jan 2004 10:53
I have guess the more simple way. It needs to load few textures with various detalization. Then check in main loop distance between camera and object and texture this object with appropriate texture. Thats all.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Jan 2004 15:46
Just get a jpeg to dds converter. There's many out there. I think MS website may even have something there.

"eureka" - Archimedes

Login to post a reply

Server time is: 2025-06-01 09:41:36
Your offset time is: 2025-06-01 09:41:36