Curious texture bug
by OtakuNoZoku · in Torque Game Engine · 01/03/2005 (10:43 am) · 3 replies
Not sure how many other people have seen this bug before and are already aware of it. I haven't had time to look in to it myself as it's not a huge issue to me right now but may become so later on.
Observed Effect:
Textures flashing between regular textures and some random garbage both buildings and terrain. Texture on player is normal.
How to reproduce:
1. Load up F world included in the SDK.
2. Enter the mission editor, F11, F4
3. Toggle the camera to free flight mode
4. Select one of the tall skyscraper buildings
5. Copy & paste, move the building to some location inside of the mission area
6. Repeat step 5 about 50 times.
7. Drop the camera at the player.
8. switch out of mission editor
9. Toggle the camera in to free flight mode.
You should now be seeing observable texture glitches.
Repeat step 6 a few more times if you don't. Switch camera views does not fix it.
Notes:
Switching from windowed to fullscreen or vice versa after the texture glitches corrects the problem and the textures return to normal.
If you save the mission after achieving the texture glitching and reload it, everything appears fine until you toggle the camera to free flight mode.
Target machines:
Tested on four different machines.
All video drivers are up to date.
Windows XP
512MB DRAM
AMD 3400+ or Pentium M 1.6
ATI Radeon 9600 or NVidia Go5200 or NVidia 5600
Torque 1.3 SDK base install
Have yet to test on Mac OS X. Will try that on the weekend.
Observed Effect:
Textures flashing between regular textures and some random garbage both buildings and terrain. Texture on player is normal.
How to reproduce:
1. Load up F world included in the SDK.
2. Enter the mission editor, F11, F4
3. Toggle the camera to free flight mode
4. Select one of the tall skyscraper buildings
5. Copy & paste, move the building to some location inside of the mission area
6. Repeat step 5 about 50 times.
7. Drop the camera at the player.
8. switch out of mission editor
9. Toggle the camera in to free flight mode.
You should now be seeing observable texture glitches.
Repeat step 6 a few more times if you don't. Switch camera views does not fix it.
Notes:
Switching from windowed to fullscreen or vice versa after the texture glitches corrects the problem and the textures return to normal.
If you save the mission after achieving the texture glitching and reload it, everything appears fine until you toggle the camera to free flight mode.
Target machines:
Tested on four different machines.
All video drivers are up to date.
Windows XP
512MB DRAM
AMD 3400+ or Pentium M 1.6
ATI Radeon 9600 or NVidia Go5200 or NVidia 5600
Torque 1.3 SDK base install
Have yet to test on Mac OS X. Will try that on the weekend.
About the author
#2
01/03/2005 (10:01 pm)
Can you post a screenshot of the problem? Thanks for the bug report.
#3
I did manage to find one more piece to the puzzle, it is to do with how far the camera moves. Here is the scenario:
Do all of the above, get the textures to corrupt, toggle to the window to full-screen or windowed mode (whichever you want) so that the textures return to normal, now rotate the camera slowly with the mouse, all normal. Rotate very fast, textures go haywire and remain that way. Toggle the window again, and textures are back to normal, rotate slowly, nothing happens, rotate quickly, textures go haywire. Rinse, repeat. Hours of fun for the whole family. ;-)
01/04/2005 (12:21 pm)
Yes, I'll post one this evening once I wrap up some work at the office. I'll see if I can track down the problem further on the weekend by examing the code.I did manage to find one more piece to the puzzle, it is to do with how far the camera moves. Here is the scenario:
Do all of the above, get the textures to corrupt, toggle to the window to full-screen or windowed mode (whichever you want) so that the textures return to normal, now rotate the camera slowly with the mouse, all normal. Rotate very fast, textures go haywire and remain that way. Toggle the window again, and textures are back to normal, rotate slowly, nothing happens, rotate quickly, textures go haywire. Rinse, repeat. Hours of fun for the whole family. ;-)
Torque Owner OtakuNoZoku