PDA

View Full Version : Stupid Noobie Question



Bodger
12-09-2009, 11:51 AM
I am just evaluating whether OpenGL would be a good step for my project or not.

I am currently on a project that has a multiplayer client that is currently a top down, hex map image with a few sprites on it. The map is pre rendered and copied on to a buffer from an image then sprites copied on top of that and a few other points of interest. All double buffered to the screen.

Screenshot of the program (http://frontiermux.com/page.php?3)

My question to you is, would OpenGL improve the speed and response of this program assuming the underlying computer had appropriate hardware and the programming was done correctly?

Thanx

Julian

Benoit
12-10-2009, 01:28 AM
I am just evaluating whether OpenGL would be a good step for my project or not.

I am currently on a project that has a multiplayer client that is currently a top down, hex map image with a few sprites on it. The map is pre rendered and copied on to a buffer from an image then sprites copied on top of that and a few other points of interest. All double buffered to the screen.

Screenshot of the program (http://frontiermux.com/page.php?3)

My question to you is, would OpenGL improve the speed and response of this program assuming the underlying computer had appropriate hardware and the programming was done correctly?

Thanx

Julian

Hi,

You mean this is a client/server project ?

I think this could be interesting to use OpenGL with FBO in order to create different layers on the output...

Best,

Bodger
12-10-2009, 08:11 AM
So this may be advantageous. Can you tell me what FBO stands for so I can look it up?

Thanx

Julian

Benoit
12-10-2009, 08:15 AM
So this may be advantageous. Can you tell me what FBO stands for so I can look it up?


Frame Buffer Object: http://www.gamedev.net/reference/articles/article2331.asp

The idea is to perform the rendering into a buffer (thus a texture for example) instead of screen.

Bodger
12-10-2009, 08:30 AM
Thank you for your time I will do some playing to see that this is feasible and useful.

Thanx

Julian