Game Development Community

Desactivating Mip mapping

by Ben "Djaggernaut" Chavigner · in Torque Game Engine · 08/11/2006 (8:24 am) · 6 replies

Hello,

I got one little question :)

Is it possible (and then how) to desactivate mip mapping in code? Or eventually make it stay at higher texture.

I've been unable to find a method to remove mip mapping from terrain, interior and dts so far.
I guess it's not good for most game, but mine doesn't have any distance change and I'd like to control the texture size like I want :)

Thanks.

#1
08/11/2006 (8:29 am)
Quite a few forum threads, here's one that even has code: www.garagegames.com/mg/forums/result.thread.php?qt=34246
#2
08/11/2006 (8:44 am)
Thanks Chris.

Well, I've looked into as many threads as possible without finding how to really remove mip mapping.

I already saw this one. It's interesting but it's about a texture problem. Here I have no real problem, mipmapping is working like it should be, I just want to avoid the massive blur from mipmapping. :)

I guess there's no simple way to remove it through script anyway.

BTW, even just hints on where to search would already be great :)
#3
08/11/2006 (9:20 am)
Not exactly what you're asking for, however playing around with below pref settings will improve texture quality a great deal:
$pref::OpenGL::anisotropy
$pref::OpenGL::textureAnisotropy
$pref::OpenGL::textureTrilinear
$pref::TS::detailAdjust
$pref::Video::safeModeOn
#4
08/11/2006 (9:50 am)
You can easily remove mipMapping and smallTexture support from the code, but not via scripts :/
#5
08/12/2006 (3:58 am)
With dts you can specify in the object notes for it to not mipmap. Check the documentation on how to do it with whatever app you're using (prolly max I'm guessing Ben?)
#6
08/12/2006 (8:46 am)
In Max, I add:
MIPMAP::NO_MIPMAP=true

Within the bounds properties to disable mipmaps.

The procedure will most likely vary pending which dts exporter you are using.

There's heaps of documentation for Max on the TDN