View Full Version : Palette matrix example code
Foxbat
09-11-2006, 11:36 AM
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....
holdeWaldfee
09-11-2006, 02:27 PM
http://www.opengl.org/registry/specs/ARB/matrix_palette.txt
It would be interesting to know if this is still supported well by ATI and Nvidia drivers.
Brolingstanz
09-11-2006, 02:38 PM
My NV40 is like, :confused: ... :rolleyes: ... :p
V-man
09-12-2006, 07: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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.