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.

Newcomers DBPro Corner / things keep slipping out of my brain.

Author
Message
treborguy
21
Years of Service
User Offline
Joined: 24th Sep 2003
Location: The trendy club
Posted: 27th Oct 2006 14:53
what's the command for turning mipmapping off? i completely forgot it even though i have used it several thousand times at least

(mipmapping, for showing different detail on an object or it's texture depending on how far away it is)

Brains are for idiots.
Julius Caesar
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 27th Oct 2006 15:22
look in the help file(press F1)

Bouncing Physics... How do?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Oct 2006 15:26
from the starwraith website once i googled your problem.

When DBP loads an Image, It has the bad habbit of mipmapping it automatically. So you have to use LOAD IMAGE X$,X,1 so that DBP will keep the original image info without downgrading the quality. This also has to be done for any images that will be used for the GUI.

treborguy
21
Years of Service
User Offline
Joined: 24th Sep 2003
Location: The trendy club
Posted: 27th Oct 2006 15:56
aha that works aswell, i found my old method eventually too,you can use this:

SET OBJECT TEXTURE Object Number,Texture Mode,Mipmap Flag

as far as i can tell, set the Mipmap Flag to anything but 0 and the texture detail goes blurry.

ps. texture mode flags:

0 - default texture setup
1 - reflects the textures in a way that gives you an endless seamless texture (quite useful)
2 - takes the colour of the pixel at the edge of the texture and uses that beyond the bounds of the first texture. (not quite sure what that would look like)

Brains are for idiots.
Julius Caesar
18
Years of Service
User Offline
Joined: 14th Apr 2006
Location:
Posted: 27th Oct 2006 16:11
told u to look in the helpfile

Bouncing Physics... How do?

Login to post a reply

Server time is: 2024-11-27 03:42:39
Your offset time is: 2024-11-27 03:42:39