I'm using colors just because it seemed like a simple approach and because all 
the colors of everything in my scene are replaced wholesale by lookup tables so 
there's no need to keep any color data once it's been swapped in the shaders.  
I was also wary of using generic attributes after reading the bottom of this 
page:

http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php

Just seemed like more trouble than it was worth.  But I'm really just learning 
OpenGL and osg so it could be that using a generic vertex attribute is the way 
to go.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46057#46057





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to