[PD] texturing with openGL objects

chris clepper cgc at humboldtblvd.com
Tue Jul 11 20:17:27 CEST 2006


On 7/11/06, patco <megalegoland at yahoo.fr> wrote:
>
>
>
> I've just tried [pix_texture] and it seems to change slightly the color of
> the vertexes, I will try to find the functions to add for drawing correctly
> the image...
>
> I've attached the test I've made with [pix_image]
>

You need to have texture coordinates for each vertex. Try GEMglTexCoord2f or
one of the many Geo objects (sphere, cube, polygon, etc).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060711/3b9f8c77/attachment.htm>


More information about the Pd-list mailing list