Game Development Community

Weird background behaviour in mainscreenGUI

by Nir Ziso · in Torque Game Builder · 12/20/2006 (5:58 am) · 2 replies

Hello all,

Here is a small conundrum for you.

When I run my game with the latest drivers on any PC with WinXP all is well.
BUT for tests sake when I install Stock drivers from the OS my backround PNG image is not loaded. I am getting a white background whilst all other sprites and GUIs work as they should.

Tests I made:

Make the background screen greyscale - failed,
Decrease color depth - failed
Take an other image from the ones that work and put that as a background - PASSED.
Made a white image and wrote on it test, saved as PNG - FAILED(!??!!!!???)
Plus many more similar tests

What am I missing?
Where do I look?

Any insights?

Thanks you!

#1
12/24/2006 (7:16 pm)
This really depends on the card and manufacturer. But if you don't have recent drivers for any card you will most likely run into problems like this. That's why they keep releasing updated drivers..! So don't worry about it. If a user complains about this just tell him to update his drivers.
#2
02/14/2007 (4:40 pm)
The problem appears to be one where the chosen PNG cannot be displayed by the host (OS with Stock drivers). This hypothesis is consistent with
Quote:Take an other image from the ones that work and put that as a background - PASSED.
If this hypothesis is true, then that same PNG will fail to be displayed no matter what software is used to send it to the display manager (OpenGL). You should run this test somehow. Micorsoft Windows comes with a bundled application that can be used to display PNG files. If you have a PNG that works with that application (I forget the name), but does not work when it is run through TGB, then the indication is that the latter is at fault. (Read: MS has workarounds that GG doesn't.)

It would be interesting to find out if there are PNG files that can be displayed by some software but not others. This assumes the computer along with its display card and OS are a given. Your particular PNG file manifests some very curious behavior; perhaps you would be interested in posting it so that others can beast on it.