View Full Version : Fast 2D Graphics

04-07-2005, 05:09 AM
Hi people,
Iīm working on a medical application that demands very fast 2D Graphics. Itīs a video playback that must show 30 frames/s. the frames are huge bitmaps: 1024x1024 , gray scale (8bits per pixel). Iīm thinking about OpenGL as an alternative for windows GDI. Is it possible to draw fast 2D graphics using open GL? Is it possible using a 3D approach ? ( for example , treating my frames as a texture over a 3D plane)Is there a separate group of OpenGL functions for 2D applications ? Letīs say GL_BitBlt()... :D
Thanks a lot people ...

04-07-2005, 06:03 AM
Yes, texturing is the best approach. I've succesfully loaded multiple 2048x2048 and the application rocks. So if you're thinking about just one texture...don't, just do it. Also you might want to read about texture filtering operations and texture compression, though I doubt the latter since you're talking about medical applications. Of course it all depends on the memory of the video card. But any 2-3 year old mainstream card should serve you rather well.