Hi,
I’m wondering if anyone here has done any 2d stuff with OpenGL. Then
I’m taking about maybe using gl_quads with textures and use hardware
accel to do alpha blending etc?
Yes, I did some proof-of-concept hacks for Project Spitfire some time ago.
Would such a way to do alpha blending be significantly faster or?
Yes, way faster on just about any 3D card - and that goes for all
blitting; not just alpha blending.
Is there some demo or anything I can see this at work?
Well, I guess I could try to dig out a “working” version of that stuff…
If you’re not in that much of a hurry, you could wait for OpenGL support
in Kobo Deluxe. The graphics engine I used was originally written for
Projec Spitfire, and is designed with portability and reusability in mind.
The “control system” doesn’t contain any rendering code, and works with
sub-pixel precision and transparently separated control system and video
frame rates with linear interpolation of coordinates. In other words,
it’s just a matter of getting “sprite” (bank/frame oriented graphics
manager with image processing plugin support) to upload the frames to the
video card, and throwing some OpenGL code into the render() callbacks.
However, right now, I’m fixing the last details for the 0.3 release of
Kobo Deluxe, and next, I was planning to work on sound and music. I might
change my mind, though…
//David Olofson — Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |
--------------------------------------> david at linuxdj.com -'On Sunday 23 September 2001 23:36, Gu?mundur ?lafsson wrote: