From: Jimi Hong (jimi++at++imrc.kist.re.kr)
Date: 05/11/2005 21:46:16
Dear Performers
I'm trying to program in GLSL.
Performer has a method for binding uniform value.
(ShaderProgram->addUniform)
But I can't find a method for binding an attribute.
setAttr method of geoset has only COORD, NORMAL, COLOR and TEXCCOORD.
And I need a GENERIC type of attribute.
I've red that in Performer Newsletter "Add attribute using a method at
GeoArray".
But If I use geoarray, I should convert geode model to geoarray model,
shouldn't I?
I haven't try this way, because I think geode must have some other way.
Please let me know.
How to use the method - glBindAttribLocationARB(myProgram, 1, "AAA") -
in Performer?
Thank you.
This archive was generated by hypermail 2b29 : Wed May 11 2005 - 21:46:20 PDT