View Full Version : Palette matrix example code

09-11-2006, 12:36 PM
Does anybody have a link to palette matrix example code? ( i.e. glCurrentPaletteMatrix, glMatrixIndex* ) My version of the red book has nothing. Google comes back with lots of links but as far as I can tell they are all from "extension wrangler" or other similar libs. Did a search in the Wiki.... I must be missing something here....

09-11-2006, 03:27 PM

It would be interesting to know if this is still supported well by ATI and Nvidia drivers.

09-11-2006, 03:38 PM
My NV40 is like, :confused: ... :rolleyes: ... :p

09-12-2006, 08:07 AM
Leghorn says it's a dead extension. Use shaders.
Matrix pallette skinning is basically this

(matrix0 * vertex) * weight + (matrix1 * vertex) * (1-weight) = new_vertex

and you can have more matrices if you want.
That extension is not eve present on my ATI Linux driver. Maybe they removed it in Windows too.