Hi,
I am new to OSG and have developed my own osgviewer client on Android
OpenGL ES 2.0 based on osgAndroidExampleGLES2.

Now I want the osgviewer of android to access network files like http:// by
curl plugin. However I found a big problem of it: when the network
transmission time is too long, the FPS of my app is too slow, less than 1.

I think it is because it is a single-threaded client, http curl will block
the rendering. Through the online docs,
http://www.openscenegraph.org/index.php/documentation/platform-specifics/android/43-building-openscenegraph-for-android-3-0-2,
the Android viewer does not support multi-thread. So I only
use:_viewer->setThreadingModel(osgViewer::ViewerBase::SingleThreaded) in my
code.

How to solve my problem? Is there a very elegant solution of it?

Thanks.


regards,
夏清然
Xia Qingran
[email protected]
http://www.qingran.net
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to