Game Development Community

Weird water fullscreen issue

by Mike Fosker · in Torque Game Engine · 02/17/2006 (3:18 pm) · 2 replies

Has anyone else had this odd bug with full screen mode?
I found that the shore of the water block looked really jagged when I run the TGE in full screen mode.
i25.photobucket.com/albums/c62/mfosker/weird-water.jpg
There were also weird things going on with dif structures etc. I first found this in the RTS Environment pack, and thought that it could be a problem with that, but it happens with the stock TGE 1.4 demo too.

I found that changing to full screen once the mission has loaded fixes the problem, but I still would be interested to see if anyone has any idea about whether there is a proper fix or work around for this?

Here's the same shot after running toggleFullScreen(); twice in the console:
i25.photobucket.com/albums/c62/mfosker/fixed-water.jpg
I've had this on two different machines, although they do both have the same graphics cards (GeForce2 MX)
Cheers

[edited to insert images and for spelling]

#1
02/17/2006 (4:06 pm)
This won't be much help,
but it definitely looks like the zNear and zFar values are getting set badly.
- aka the near and far clipping planes of the openGL viewing frustrum.
#2
02/18/2006 (11:16 am)
I've tested this on my laptop and found that it looked fine. That has a Radeon IGP 345M
I think that the problem with the other two machines was when it was in 16bit mode. When I changed it to 32bit it looked fine, just in case anyone else has the same problem.