Game Development Community

Alpha 2 FilterMode Bug

by chris · in Torque Game Builder · 01/01/2006 (5:44 am) · 1 replies

I checked through the forums to see if this was mentioned and couldn't find anything, so...

It seems that changing the screen mode (from fullscreen to windowed or vice versa) makes all of my imageMaps convert to the SMOOTH filtermode, as opposed to NONE which is set in my datablocks. For the game I'm currently playing around with, I simply changed any reference of GL_LINEAR to GL_NEAREST in the engine code (mostly in gTexManager.cc, if I remember correctly) and recompiled, but obviously that defeats the purpose of being able to select a mode in the first place :) It seems like it might have something to do with the texture manager being destroyed and recreated when switching the screen mode.

Alpha 2 is working great for me otherwise (maybe a few physics hiccups, but easy enough to work around).

iBook G4 933
640 mb RAM
Mac OS X 10.4.3


Thanks,
Chris

#1
01/01/2006 (11:31 am)
Hmm, darn it, yeah, I bet the texture ressurection in the texture-manager is reinstating the filtering. Shouldn't have missed that one!

In our database as issue#1021.

Big thanks Chris!

- Melv.