Re: [osg-users] Multi-view Performance Issue with Statesets

2010-03-12 Thread Drolet, Frederic
: Friday, March 12, 2010 10:39 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Multi-view Performance Issue with Statesets Drolet, Frederic wrote on 2010-03-12: > osg::ref_ptr lStateSet = mGeometrie- >> getOrCreateStateSet(); > > lStateSet->setMode(GL_LIGHTING, osg::StateAttribute

[osg-users] Multi-view Performance Issue with Statesets

2010-03-12 Thread Drolet, Frederic
Hi everyone, I've seen a lot of threads on performance issues in the mailing list but none of them seemed to address my particular problem precisely, either because the problem description was vague or the replies were covering a matter far too vast to include everything in a single message.

Re: [osg-users] CompositeViewer context cleanup and missing textures

2009-11-24 Thread Drolet, Frederic
c.gc.ca -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of J.P. Delport Sent: November-24-09 10:17 AM To: OpenSceneGraph Users Subject: Re: [osg-users] CompositeViewer context cleanup and missing textures Hi Fre

Re: [osg-users] Texture loading problem

2009-11-24 Thread Drolet, Frederic
Hello Aydin, See current thread "CompositeViewer context cleanup and missing textures" for real-time solution! Cheers, Frederic Drolet, M. Sc. Computing Solutions and Experimentations | Solutions informatiques et expérimentations Systems of Systems | Systèmes de systèmes DRDC Valcartier | RDDC

Re: [osg-users] CompositeViewer context cleanup and missing textures

2009-11-24 Thread Drolet, Frederic
Hello J.P., I see it's a good thing this thread got my attention! I have similar missing texture issues in another application that creates and deletes window contexts applied to viewer slaves (also created and deleted dynamically). Here's the way we create our textures: osg::ref_ptr

Re: [osg-users] Would someone be willing to help me diagnose aperformance issue?

2009-11-10 Thread Drolet, Frederic
Hello Frank, You should try to create the 52 models cache outside the rendering tree (in a separate list or a distinct tree detached from the camera). Even if the visibility is turned off, I think the rendering visitors (update, cull, etc.) are still browsing the whole tree. Also, don't forg

Re: [osg-users] Texture missing when adding slaves dynamically to osgViewer

2009-10-09 Thread Drolet, Frederic
l switch this on to save memory, so try not calling the Optimizer to see if makes a difference. It's possible that the original database also has this options set, but for most databases it'll be off, which is the default. Robert. On Thu, Oct 8, 2009 at 8:21 PM, Drolet, Frederic wr

Re: [osg-users] Texture missing when adding slaves dynamically toosgViewer

2009-10-08 Thread Drolet, Frederic
est a threading issue... Thanks again, Frédéric Drolet From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Drolet, Frederic Sent: October-08-09 3:21 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Texture missing

[osg-users] Texture missing when adding slaves dynamically to osgViewer

2009-10-08 Thread Drolet, Frederic
Hello, I'm having trouble with textures on slave cameras added to an osgViewer. Textures won't appear if I add the slaves after a first call to osgViewer::frame(). My application is composed of a rendering thread calling osgViewer::frame() every 15 ms (for a 60 Hz framerate) and a main t