On 9/7/06, Patco <megalegoland@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.