How can i disable Mipimapping

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
chwc
Posts: 4
Joined: Tue Dec 23, 2008 2:11 am

How can i disable Mipimapping

Post by chwc »

i want to know how can i disable mipmapping in a node

:D :D
nathanf534
Posts: 199
Joined: Tue Dec 09, 2008 2:55 am

Post by nathanf534 »

Code: Select all

driver->setTextureCreationFlag(ETCF_CREATE_MIP_MAPS,false);
while(signatureEmpty){cout<<wittyComment();}
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Note, though, that this disables creation of mipmaps. If you created a texture with mipmaps (intentionally, or due to loading from a .irr file), you can also disable use of mipmaps (also temporarily). This flag is rather new, so I'm not sure whether it's already part of Irrlicht 1.7
Brainsaw
Posts: 1242
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Cool .. this flag might fix the skybox-problem I have. I guess I'll have to check the 1.7 documentation or wait for 1.8 ;)
Image
Dustbin::Games on the web: https://www.dustbin-online.de/
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, indeed one of the points I wanted to fix with this flag was the 'skybox from .irr files' problem. It's useful in other places as well. A proper fix for the actual problem would be to have serializable texture creation flags and methods to work with the mipmap settings of the texture, though. Will come later.
Post Reply