Page 1 of 1

D2X-W32: Screenshots working

Posted: Wed Mar 09, 2005 11:32 am
by Diedel
Just found out that on (older) NVidia hardware (GF2 MX400, GF 5200) screenshots are properly taken. D'oh.

On my X800 XT PE with Catalyst 5.2 glReadPixels() doesn't work.

Heck. I was searching for bloody ages for a bug in my code.

ATI and OpenGL. :x

Currently the screenshot hotkey is Alt+F9.

Posted: Wed Mar 09, 2005 1:08 pm
by Tyranny
Awesome job man. There is a slight problem. Screenshots can't be captured while in demo playback. Not even if you pause the demo to try and take a shot. This isn't right because you could take screenshots while watching a demo in D2.

Perhaps demo playback code has a seperate section where the screen capture was designated and you just need to add the changes into that?

Posted: Wed Mar 09, 2005 1:34 pm
by Diedel
I will look into this. Can't be much of a problem. I guess that the demo playback code simply doesn't react to Alt+F9, because if you can take screenies there in D2 classic, there must be code for intercepting a key and dumping the screen to a file.

Posted: Wed Mar 09, 2005 2:08 pm
by Sirius
Might just test it on my Radeon 7500...

Edit: No problems, screenshots work fine. Go figure.

Yes, the drivers are (relatively) recent... mid-February I think.