Hi Jan, On 8/16/07, Jan Ciger <[EMAIL PROTECTED]> wrote: > Robert, I think that there may be indeed some threading bug in the > osgViewer. I have tested the files from Joan and if I view them using > osgViewer, it starts up (no black screen) but hangs right away after > displaying the first few frames or when I try to move the camera. This > happens for all of the models here.
What threading model is being used? Which version of the OSG? Try forcing different threading models by using the OSG_THREADING env var, or setting it on the command line. See osgviewer --help and osgviewer --help-env for details. > If I do the same with osgproducerviewer, everything works and I am > getting decent frame rates even - few hundreds FPS, even up to 1000 > sometimes on my two 6800GS. The models are not that big, the largest has > 117693 polygons and I am still getting 1000+ FPS with it with Producer. > I have also checked the data files and the VRML files contain several > meshes, few thousands triangles/quads each. Nothing extraordinary. > > I have experienced the hangs with osgViewer in our own application > recently as well, but I couldn't reproduce them with the plain osgviewer > binary, so I have ascribed it to some race condition in my code. Now > these datafiles trigger it with plain viewer 100% each time on my PC. I > am running a dual core Athlon (SMP machine) and the cards are configured > using SLI, alternative frame rendering (AFR). Do the hangs always happen at start up? Or any point during rendering? If you could provide a datasets then I could try it out on my system. I have a dual core Althon system and a new quad core Intel system, both right now just have a single card in but I can swap things around. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

