setUseDisplayLists( false ).

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Allen
Saucier
Sent: Wednesday, April 15, 2009 3:44 PM
To: [email protected]
Subject: Re: [osg-users] Dinamic Line Drawing

Thanks Paul!  I didn't understand that in the previous postings.  Would you
mind telling me how to "disable" the display listings for this geometry?


** PAUL wrote ***
Your geometry is probably using display lists (on by default).
setVertexArray will dirty and rebuild them. A more efficient solution would
be to disable display lists. If you do that, you should be able to change
individual elements of your array and not have to set the entire array.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

------------------------
----
Allen

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





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

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

Reply via email to