ATI cards - screenshots fix :)
by Denis Linardic · in Torque Game Engine · 09/09/2004 (7:52 am) · 10 replies
Hi. Recently I was trying to take few screenshots from the game I am creating and all screenshots turn out totaly black. I guess this is a stupid question but if you have any idea why is this happening then please help.
Thanks.
Thanks.
About the author
#2
09/09/2004 (9:05 am)
Denis, are you using printscreen or CTRL+P?
#3
I tried Printscreen but it seems that it's not working, or I am using it in wrong way ;)
My home machine specs are:
2400 Intel Celeron
512 RAM
ATI Radeon 9200 128 MB - With latest drivers
DirectX 9
P.S. I will try to take screenshot with other machine but there is also Radeon (9550)
edited:
I tried (CTRL+P) take screenshots in different views
in 1st person view - black
Spectator view - Somekind of pink
exited the game, deleted all screnshoots (4 of them), enterd the game, take some again and they were ok, go to main menu, change resolution to next low(1024 X 768) enter the game, take screenshot - Navy blue.
Any Idea why is this happening?
Sorry for my English but it's not my native language
09/09/2004 (1:10 pm)
I am Using Ctrl+P.I tried Printscreen but it seems that it's not working, or I am using it in wrong way ;)
My home machine specs are:
2400 Intel Celeron
512 RAM
ATI Radeon 9200 128 MB - With latest drivers
DirectX 9
P.S. I will try to take screenshot with other machine but there is also Radeon (9550)
edited:
I tried (CTRL+P) take screenshots in different views
in 1st person view - black
Spectator view - Somekind of pink
exited the game, deleted all screnshoots (4 of them), enterd the game, take some again and they were ok, go to main menu, change resolution to next low(1024 X 768) enter the game, take screenshot - Navy blue.
Any Idea why is this happening?
Sorry for my English but it's not my native language
#4
09/09/2004 (1:26 pm)
I can confirm that Print Screen does work.
#5
That's an old thread that talks about this, assuming it's the same problem i'm describing. Not much information, though.
09/09/2004 (1:31 pm)
www.garagegames.com/mg/forums/result.thread.php?qt=13324That's an old thread that talks about this, assuming it's the same problem i'm describing. Not much information, though.
#6
09/09/2004 (1:35 pm)
Yes Print Screen is working, however CTRL+P also working(sometimes) I guess it could be the drivers. Thanks!
#7
Everywhere you find a fullscreen windowStyle, add WS_VISIBLE.
example:
You should do that in winD3Dvideo.cc, winOGLvideo.cc and winWindow.cc
Hope it helps :)
09/09/2004 (6:58 pm)
Here's the fix I did for that (fixing ATI's with newer catalyst driver):Everywhere you find a fullscreen windowStyle, add WS_VISIBLE.
example:
if ( fullScreen )
windowStyle |= ( WS_POPUP | WS_MAXIMIZE | WS_VISIBLE); //Eric added WS_VISIBLEYou should do that in winD3Dvideo.cc, winOGLvideo.cc and winWindow.cc
Hope it helps :)
#8
Ohh and Denis, that wasn't a stupid question :) Everyone with ATI's will get that problem if the WS_VISIBLE switch isn't present :)
edit: typo
09/09/2004 (7:05 pm)
By the way this doesn't affect older drivers nor any other video card (tested on ATI, NVIDIA down to TNT2, INTEL XTREME and XTREME2, MATROX...) since the "only" thing WS_VISIBLE does it to create a window that is initially visible, which the catalyst driver seem to need that in order to truly put the new window in foreground.Ohh and Denis, that wasn't a stupid question :) Everyone with ATI's will get that problem if the WS_VISIBLE switch isn't present :)
edit: typo
#9
Maybe I should change the topic title to something different so that other with
same problem will easily find out the solution?
09/10/2004 (3:15 am)
Thanks guys, it's working perfectly.Maybe I should change the topic title to something different so that other with
same problem will easily find out the solution?
#10
09/11/2004 (7:45 am)
Ah, good fix. I'll stick this onto my todo list. Thanks!
Torque Owner Drew Hitchcock
I don't have any problems in windowed mode, though, so that's probably worth a try.