[osg-users] How to speed up rendering in this case.
Jinh Tang
peter.wang1013 at gmail.com
Mon Jul 30 20:00:17 PDT 2018
Hi All,
suppose
1, I have 1000 meshes, and each mesh has 12000 points to draw. (to create 1000 geometry and add them to node in main GUI thread?)
2, also have another work thread, it will modify above 1000 meshes at any time. (will setDataVariance to Dynamic and modify geometry in this thread work?)
3, 3rd thread, will add new or delete some old geometry at any time...
I tried
1, set DataVariance to Dynamic, doesn't work. crash happen.
2, in thread 2 & 3, only create vertices&colors&normals, and use them in thread 1, doesn't work, crash happen.
I am stuck on this problem for 2 weeks.....
...
Thank you!
Cheers,
Jinh
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74430#74430
More information about the osg-users
mailing list