[GEM-dev] Some newbie questions (sorry)
chris clepper
cgc at humboldtblvd.com
Fri Jul 9 19:08:05 CEST 2004
You will find the clearing and buffer swapping code in GemMan ::
swapBuffers(). To keep the contents of the window from clearing try
sending a 'buffer 1' message to the gemwin.
I don't really know what you mean by a 'render object', but GemMan sets
up most of the render states and then clears them while individual
objects send GL drawing commands in immediate mode. It's really fairly
primitive (pardon the pun) right now, but that might change at some
point.
cgc
On Jul 9, 2004, at 10:19 AM, Ronan Puce Muse wrote:
> Hello,
>
> There is something i dont understand in the gem framebuffer handling.
> It
> seems that the frame is cleared, projection reinitialised for each
> frame. Is
> that normal ?
> I personnally want to use precedent images and viewing
> transformations, is
> there a way to avoid that ? I've tried to look inside the code but i
> dont
> see any glClear commend that could explain that.
>
> I'd also like to code some externals, but i cant figure out the
> overall gem
> structure. Is there somewhere a description of the internal structure
> of Gem
> ?
>
> this question may be the consequence of my gem ignorance but: why can
> i find
> a render object (id like to do multipass rendering, usefull to set
> render to
> texture features)
>
> Thanx for the Help
> Ronan
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/gem-dev
More information about the GEM-dev
mailing list