Hi Jeremy,

The glsl attachments have been squashed - could you attach them as .txt, please?

I believe you have to bind shader vertex attributes as PER_VERTEX as opposed to 
colours and normals which can be PER_PRIMITIVE.
Then copy the line that calls push_back() on gridCoordinates so you have 4 
calls and it should work.

I had to add:
setVertexArray(gridPositions);

to get anything at all on the screen ( otherwise there are no primitives ).

Cheers,

-Tony

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





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

Reply via email to