[PD] gem: resize a texture / buffering textures

Patco megalegoland at yahoo.fr
Thu Sep 7 19:28:12 CEST 2006


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.

Patco.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: GL_texture_test.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060907/b48a80da/attachment.asc>


More information about the Pd-list mailing list