From: Devrim Erdem (devrim.erdem++at++gmail.com)
Date: 02/09/2005 05:15:27
Hello again,
I need to pass 16 float values per vertex to my vertex program. So far
I have tried the pfGeoArray's generic attributes and this has failed
due to a bug w/ pf3.2 and Stace Peterson has suggested use of free
texture coordinates instead. This sounded like a good idea until I
restarted working on the project.
The problem is that each tex coord can hold up to 2 floats and max 3
tex coords are available on a regular vissim database. That only adds
up to 6 floats per vertex, I need 16. I have tried PFGS_TEXCOORD3 to
be able to use 3 floats per tex unit but this didn't seem to be
working with the vertex program somehow. (It wouldn't also solve the
problem completely.)
I appreciate if anyone has a better idea which could help me to pass
16 floats per vertex to my vertex program.
If not, is there a way to manually set vertex attributes for a
pfGeoSet or pfGeoArray ? As far as I know there is no pre/post draw
callback for pfGeoSet and pfGeoArray. In this way, I am hoping to use
the OpenGL functions to set the program vertex attributes manually.
Thanks in advance,
Devrim Erdem
This archive was generated by hypermail 2b29 : Wed Feb 09 2005 - 05:15:37 PST