Re: [osg-users] A bug in multi-threaded osgTerrain (with proposed fix) plus assorted questions

2014-04-23 Thread Sylvain Comtois
Hi, I made some more test and to solve the problem i only have to be sure that the assumeMultiThreaded parameter of the GeometryTechnique::init is set to true. In OSG 3.2, i change 5 values. Two in the GeometryTechnique::traverse(), two more in TerrainTechnique::traverse() and the

Re: [osg-users] A bug in multi-threaded osgTerrain (with proposed fix) plus assorted questions

2014-04-23 Thread Robert Osfield
Hi Sylvain, Could you post the modified files to the osg-submissions list so I can review them along with a explanation of how I might reproduce the bug. Cheers, Robert. On 23 April 2014 18:52, Sylvain Comtois sylvain.comt...@gel.ulaval.ca wrote: Hi, I made some more test and to solve

Re: [osg-users] A bug in multi-threaded osgTerrain (with proposed fix) plus assorted questions

2014-04-22 Thread Sylvain Comtois
Hi, I have a similar problem when i create an OSGTerrain node in a multithread configuration. The crash occur in the init function of the GeometryTechnique class. Note i use OSG 3.2. To solve this problem, i made a small modification to OSG itself. I replace the line if

Re: [osg-users] A bug in multi-threaded osgTerrain (with proposed fix) plus assorted questions

2014-04-22 Thread Sylvain Comtois
Hi, Humm, forget my solution. She's not working. Thank you! Cheers, Sylvain -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59102#59102 ___ osg-users mailing list

[osg-users] A bug in multi-threaded osgTerrain (with proposed fix) plus assorted questions

2013-10-17 Thread Keith Steiger
I'm using osgSim::LineOfSight to answer line-of-sight questions for a larger application. I'm seeding my osgSim::DatabaseCacheReadCallback with the appropriate files before I start, and then sending quite a few requests at the same time, processed through a thread pool. If two threads end up