Hi Ivan,
On 12/12/06, Ivan Bolčina <[EMAIL PROTECTED]> wrote:
Just one more question...
I will go "osg::Geometry" way. Just one more question. Can I decide on each
frame how many lines will be draw? If I set a large buffer and than on each
frame decide that i want to render 234 lines of all possible 1000?
You'd just need to update the number of segments via the
osg::DrawArray or osg::DrawElements you use. You could do this via an
update, cull or draw callback. Ideally do it in an update callback as
then you won't hit up against any threading restrictions associated
with running with multi-thread, multiple GPU hardware.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/