[PD] gem2pdp

cyrille henry cyrille.henry at la-kitchen.fr
Tue May 27 22:11:59 CEST 2008



ydegoyon a écrit :
> ola, cyrille,
> 
> well, yes it's obvious i'm almost new to gem, but
> things are getting better and worse
> ( see attached patch ) :
>> as expected, this patch did not draw anything in single buffer.
>> you have to bang the gemhead.
> i do it now at each cube rotation,
> what i get is a double rendering
> in double buffer mode
yes, in double buffer mode, you don't have to bang gemhead.
so you render 2 time the same square. 
> and still _no_ rendering in gem window
> in single buffer mode ..
if you are in lighting 1 mode, then you should also bang the gemhead for the light!
without light, the cube is black.

cyrille

> 
> _but_, one thing is better, i get frames captured
> in pdp window in single buffer mode,
> that's the only mode that works with a pdp_xv
> 
> something is wrong in my patch now?
>>
>>
>> this patch have also an other problem : pix_write is before the cube. 
>> so you just write the image before rendering the cube.
>> if you swap both objects, then everything will work as expected in 
>> both mode.
>>
> yeh here you're right
> 
> ciao,
> sevy
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list