Game Development Community

Terrain/Texture 'Flashing'

by Jeremy Noetzelman · in Torque Game Engine · 09/16/2001 (11:32 pm) · 4 replies

I've got a small test map, with a single enclosed room type interior exported from WC.

When moving around inside or outside, and when sitting inside the building, I see terrain and texture tri's swapping back and forth ... almost as if it were a Z buffer problem ... Is this a known issue, or am I doing something wrong?

#1
09/17/2001 (4:25 am)
Could you post a screenshot so I can see? It sounds like Z issues, but that shouldn't be happening up close, if you're inside you should be fine (unless the floor of the interior is cutting badly through the floor of the terrain).

Unless your card uses a w-buffer, it's like a z-buffer, only with more depth detail in the distance (z's tend to have their detail up close, hence why water in the distance looks awful in 16bit colour mode).


Try running the game in 32bit - you have to edit base/prefs/clientprefs.cs and change the line $pref::Video::resolution = "800 600 16"; to something else, such as $pref::Video::resolution = "800 600 32";

32 meaning 32 bit colour, but it will also give you a 32 bit z-buffer, and fixes many z issues.

but post a screenshot here and I'll have another look if that doesn't help! (oh, and what graphics card you have)

-Mark
#2
09/17/2001 (7:50 am)
I had the same problem. I fixed it by upgrading my video drivers. If you have an nVidia chip on your card, then you will most likely need to update you drivers with the latest at www.nvidia.com. If not then disregard this.
#3
09/17/2001 (8:28 am)
yes, it's a TNT2. I'll upgrade tonight when I get home, and see if that fixes things. Thanks!
#4
09/17/2001 (9:42 pm)
that fixed the problem

and a nice side effect, my fps rates went through the roof with the new det drivers.