[osg-users] Appending dynamic 3d line

Ertan Ataman ertanataman at gmail.com
Thu Jan 11 06:24:35 PST 2018


Hi,

In the program I append random points to my line sements array( Route instance) and after a while it stucks (and I think appends(0,0,0) as the last point but not very sure about its coordinate.)

The strange thing is when I increase the frequency (decrease STEP_DURATION), the number of drawn segments increases. I think something is corrupted but could not find the reason.


I also attached 3 screenshots for 1, 100 and 1000(May not be really 1000) frames per second. By changing STEP_DURATION, the change in numbers of line segments can be seen.

All I want is to be able to append my segments forever without the undesired other point.


My problem is possibly same with another topic(viewtopic.php?t=2190&postdays=0&postorder=asc&start=0) in this forum but with a new clue. Since an other problem is appended there I created a new topic.
And attached Route.cpp is  Route.cpp, based on a source code(//files/osgdinamicline_180.cpp) in the topic, shared on that topic. Since it is my first post I can not share their url's here

Thank you!

Cheers,
Ertan[/img][/code][/quote]

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




Attachments: 
http://forum.openscenegraph.org//files/randomroutes_with_different_fpss_837.jpg
http://forum.openscenegraph.org//files/route_762.cpp




More information about the osg-users mailing list