Hi,
I've got it,
[GEMglDrawBuffer] defined with [GLdefine GL_FRONT] and connected to [GEMglClear] does single buffering.
http://www.talisman.org/opengl-1.1/Reference/glDrawBuffer.html
If you don't find it I will send an attached patch...
patco
josephgray@grauwald.com a écrit :
tried this also, didn't work in my patch.
Interestingly enough the patch in
GEM examples (PixDataSimple.pd) does leave
pixels behind that have not been drawn over
sending gemwin the "buffer 2" message does indeed
clear the old pixels though
>
> if send buffer 1 to gemwin donŽt draw anything.
> I want that when render a frame the previous frame
> donŽt clear...still drawed on back of screen,and this
> way successively...
>
> in openGL without the command glClear this works.
> but in GEM i donŽt know how desactivate glCLear...
> that is my question.
>
> thank you.
>
> --- chris clepperescribió:
>
>> You want single buffer rendering? Send a 'buffer 1'
>> message to
>> gemwin. I think PixDataSimple.pd in the 04.pix
>> examples uses
>> singlebuffer rendering.
>>
>> On 7/10/06, Andres Ferrariwrote:
>> >
>> > hello,
>> > is possible donŽt use clear screen in GEM-openGL?
>> > ,not clear previous frame when render in openGL?
>> > in other applications with openGL like CsoundAV I
>> can
>> > do it, but in GEM I canŽt...
>> > I tried with
>> > [GEM glClearColor],[GEM glClear]...but nothing...
>> >
>> > is possible???
>> >
>> > thanks a lot!!!!!!!!!
>> >
>> >
>> >
>> > Andrés Ferrari G.
>> > http://puredata.org/Members/anfex
>> >
>> > __________________________________________________
>> > Correo Yahoo!
>> > Espacio para todos tus mensajes, antivirus y
>> antispam ¡gratis!
>> > Regístrate ya - http://correo.espanol.yahoo.com/
>> >
>> > _______________________________________________
>> > PD-list@iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>> >
>>
>
>
> Andrés Ferrari G.
> http://puredata.org/Members/anfex
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
>
> _______________________________________________
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list