The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
0answers
95 views

Why are my game snapshots sometimes all black? [closed]

I want to take snapshot of the game when the user right-clicks. This code works, but sometimes the snapshot is nothing but an image with all black pixels. snapshot = new ...
-1
votes
0answers
80 views

How to make an attractive spash screen for my first game? [closed]

This is my first game with the engine jme3 and I'm practicing how to make the graphics attractive for users and gamers. The splash screen for the game when it's loading presents the main character and ...
4
votes
3answers
889 views

How to capture the screen in DirectX 9 to a raw bitmap in memory without using D3DXSaveSurfaceToFile

I know that in OpenGL I can do something like this glReadBuffer( GL_FRONT ); glReadPixels( 0, 0, _width, _height, GL_RGB, GL_UNSIGNED_BYTE, _buffer ); And its pretty fast, I get the raw bitmap in ...
6
votes
1answer
572 views

Using glReadBuffer/glReadPixels returns black image instead of the actual image only on Intel cards

I have this piece of code glReadBuffer( GL_FRONT ); glReadPixels( 0, 0, width, height, GL_RGB, GL_UNSIGNED_BYTE, buffer ); Which works just perfectly in all the Nvidia and AMD GPUs I have tried, ...
0
votes
1answer
171 views

Taking MSAA screenshot using D3DX10SaveTextureToFile()

I have some screenshot code (pasted below) which was working fine until I enabled MSAA. The first time I tried to use this code, it complained that the texture I'm creating needed to match the sample ...