From: Helix Genomics Tech. Team <parisodhana@he...> - 2004-04-15 09:31:10
Is there any "Layers concept in OpenGL".
by layers i mean the one that we see in softwares like flash,
where we can have one object in the background doing its job and the
other in the foreground doing its own job?
please any body with a solution reply.
"Fill the Other with Your Self or Fill the other within Yourself"...
Shiva. ---> Path to Acquire Knowledge.
From: Brian Paul <brian.paul@tu...> - 2004-04-15 13:52:28
Helix Genomics Tech. Team wrote:
> Is there any "Layers concept in OpenGL".
> by layers i mean the one that we see in softwares like flash,
> where we can have one object in the background doing its job and the
> other in the foreground doing its own job?
Some graphics hardware support "overlay planes" which can typically be
thought of as an 8-bit color index framebuffer over the regular
framebuffer. Color index 0 might be the transparent pixel that lets
the underlying buffer's colors show through.
But the hardware and drivers for overlay planes isn't real common.
Typically, OpenGL is so fast nowadays that you can just re-render both
layers from scratch for every frame.
Otherwise, you might be able to do tricks with render-to-texture, etc.
Get latest updates about Open Source Projects, Conferences and News.