[PD] gem: resize a texture / buffering textures

chris clepper cgclepper at gmail.com
Thu Sep 7 19:54:07 CEST 2006


On 9/7/06, Patco <megalegoland at yahoo.fr> wrote:
>
> Thoralf Schulze a écrit :
> > hi there,
> >
> > with regard to this thread:
> > http://lists.puredata.info/pipermail/pd-list/2006-09/041759.html
> > - is there a way to resize a texture in gem?
> > i'm aware of pix_resize, but this object is slow as
> > hell and only resizes to the next power of two.
>
> GEMglTextCoord2f for example resizes a texture, GEMglTexParameterf could
> be use for different kinds of texturing, no latency, no power of two.
> attached patch uses these two openGL functions.


pix_coordinate does that for regular GEM Geos.  Make sure it is  _after_
pix_texture.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060907/f80301d1/attachment.htm>


More information about the Pd-list mailing list