pix_coordinate will modify the four texture coordinates associated with the image before the image is mapped onto a Geo. Make sure it comes after pix_texture.
On 7/12/06, patco megalegoland@yahoo.fr wrote:
Very good, now I can modify the coordinated of a texture on a geometric object, thing that I couldn't do on GEM's shorthands like [cuboid], [polygon],...
Thank you for the advice.
Patco.
chris clepper cgc@humboldtblvd.com a écrit :
You need to have texture coordinates for each vertex. Try GEMglTexCoord2f or one of the many Geo objects (sphere, cube, polygon, etc).