i need to compute texture coordinate using linear equation based on current modelview matrix multiplied by current vertex (something like GL_OBJECT_LINEAR but apply modelview matrix before)…

simply i want to assign higher coordinate to vertex with higher z. that coordinate should be computed after transformation because my scene is build from variuos pieces, translated and rotated together.

it could be possible to use GL_OBJECT_LINEAR and after each change of modelview matrix change texture matrix too… is this a good aproach or is there something better?

[This message has been edited by miko (edited 03-06-2003).]