From: Vitaly V. B. <vit...@uk...> - 2005-02-16 01:55:34
|
On Tue, 15 Feb 2005 18:46:02 +0100 Dennis Smit <sy...@yo...> wrote: > > I blit an RGB VisVideo onto a GL VisVideo? I guess I was thinking of > > something more abstract, where the overlay engine would offer a series > > of fonts, and then the app could call the overlay engine "I want this > > text to appear using font X/size Z to appear as a right-to-left > > scrolling bar Y high on the bottom of the screen (or as a static box in > > the center of the display, etc) using the following foreground/background > > colors for the text and the (if specified) enclosing rectangle and border." I agree, it's definitely must have feature. It's just not implemented yet ;) > you want everything in ARGB. Regarding GL, how would you like to > overlay it? like some glDrawPixels call, or ? (vitaly jump in here!) > I am not really a big gl hero myself actually, is there a way to savely > overlay over a GL frame, while a GL scene is rendered ? Sure. If there's an image, it can be glDrawPixels()'ed. That's the way lvdisplay handles RGB actors within glx. BTW, this image can be used as texture for a surface. Another way is to use GL's functions directly to draw "overlayed" interface, but it's obviously GL-only. -- Vitaly GPG Key ID: F95A23B9 |