Re: [GtkGLExt] Opengl rendering on image background
- From: "Timothy M. Shead" <tshead k-3d com>
- To: Jerry Stahl <js8582003 yahoo com>
- Cc: GtkGLExt <gtkglext-list gnome org>
- Subject: Re: [GtkGLExt] Opengl rendering on image background
- Date: Tue, 08 Mar 2005 12:30:06 -0800
Jerry Stahl wrote:
I am new at using GtkGLExt/OpenGL and was wondering if
anyone knows if you can render OpenGL on top of a
static background image, such as a .png, jpg, etc. I
have an application where I need to create a gui
containing a image background (a drawing) that will,
at times, have graphical objects moving over the top
of it. I was hoping that I could use OpenGL to do the
object rendering over the image background. Any help
or suggestions would be greatly appreciated.
You will likely want to draw everything, including the background image,
using OpenGL. The alternative would be to draw to a pixmap using
OpenGL, then composite the results over the background yourself, but
this would almost certainly be slower and more complex.
Cheers,
Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]