Re: [osg-users] First time render hiccup

2014-09-03 Thread Per Nordqvist
priority yet. I will be following >> any responses closely and will contribute if I can. >> >> -Original Message- >> From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On >> Behalf Of Robert Osfield >> Sent: Tuesday, September 02,

Re: [osg-users] First time render hiccup

2014-09-03 Thread Vaclav Bilek
.@lists.openscenegraph.org>] On Behalf Of > Robert Osfield > Sent: Tuesday, September 02, 2014 8:01 AM > To: OpenSceneGraph Users > Subject: Re: [osg-users] First time render hiccup > > Hi Per, > > > Stalls like you describe are typically when

Re: [osg-users] First time render hiccup

2014-09-02 Thread Robert Osfield
Hi Per, On 2 September 2014 15:32, Per Nordqvist wrote: > > Thanks Robert for the detailed answer, I see the point of incremental > compilation now but for my particular > use case where I basically load everything at the beginning (but hide some > things from the camera) I think > my magic wan

Re: [osg-users] First time render hiccup

2014-09-02 Thread Per Nordqvist
Thanks Robert for the detailed answer, I see the point of incremental compilation now but for my particular use case where I basically load everything at the beginning (but hide some things from the camera) I think my magic wand still is this "Performer parading trick". I'm happy to break many fram

Re: [osg-users] First time render hiccup

2014-09-02 Thread Robert Osfield
Hi Per, On 2 September 2014 14:18, Per Nordqvist wrote: > > Thanks guys for the answers! I guess it's OK to take a hit at the > beginning if things run smoothly afterwards, > so I don't think I need a incremental compilation. > > Based on your answers I found a similar question here > http://fo

Re: [osg-users] First time render hiccup

2014-09-02 Thread Per Nordqvist
Nick, I suddenly remember all these flashing of models everytime I used to start a Performer app. So this is what you are saying? I need to parade the models in front of the camera? A bit crude but I guess it can be done. Thanks, will try it! /Per On 2 September 2014 15:18, Per Nordqvist wrote:

Re: [osg-users] First time render hiccup

2014-09-02 Thread Per Nordqvist
Thanks guys for the answers! I guess it's OK to take a hit at the beginning if things run smoothly afterwards, so I don't think I need a incremental compilation. Based on your answers I found a similar question here http://forum.openscenegraph.org/viewtopic.php?t=4997 So I tried this: osgViewer:

Re: [osg-users] First time render hiccup

2014-09-02 Thread Cary, Karl A.
I'll check it out. Thanks. -Original Message- From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Glenn Waldron Sent: Tuesday, September 02, 2014 8:21 AM To: OpenSceneGraph Users Subject: Re: [osg-users] First time render hiccup Per, If you don't w

Re: [osg-users] First time render hiccup

2014-09-02 Thread Cary, Karl A.
rajce Nikolov NICK Sent: Tuesday, September 02, 2014 8:07 AM To: OpenSceneGraph Users Subject: Re: [osg-users] First time render hiccup Hi Per, this is a trick from the old days from scenegraph managers like Quantum3D OpenGVS. What they did to avoid this they preloaded the models at the

Re: [osg-users] First time render hiccup

2014-09-02 Thread Glenn Waldron
Per, If you don't want to pre-compile your GL objects, the IncrementalCompileOperation might help too. But you might need a newer version of OSG. Glenn Waldron / @glennwaldron On Tue, Sep 2, 2014 at 7:27 AM, Per Nordqvist wrote: > Hi all, > > Another open-ended question I'm afraid, but maybe s

Re: [osg-users] First time render hiccup

2014-09-02 Thread Trajce Nikolov NICK
users [mailto:osg-users-boun...@lists.openscenegraph.org] On > Behalf Of Robert Osfield > Sent: Tuesday, September 02, 2014 8:01 AM > To: OpenSceneGraph Users > Subject: Re: [osg-users] First time render hiccup > > Hi Per, > > > Stalls like you describe are typically when the grap

Re: [osg-users] First time render hiccup

2014-09-02 Thread Cary, Karl A.
ph.org] On Behalf Of Robert Osfield Sent: Tuesday, September 02, 2014 8:01 AM To: OpenSceneGraph Users Subject: Re: [osg-users] First time render hiccup Hi Per, Stalls like you describe are typically when the graphics driver has to compile new OpenGL objects. There are range of things that

Re: [osg-users] First time render hiccup

2014-09-02 Thread Robert Osfield
Hi Per, Stalls like you describe are typically when the graphics driver has to compile new OpenGL objects. There are range of things that can cause compilation to be slow, I haven't to head off line right now so will have to leave you with that hint... Robert. On 2 September 2014 12:27, Per No

[osg-users] First time render hiccup

2014-09-02 Thread Per Nordqvist
Hi all, Another open-ended question I'm afraid, but maybe someone has seen this before: I sometimes see hiccups (rendering pauses) in my driving simulation, I noticed it only happens with some vehicles, and only when they appear in the frustum for the first time. I wonder how to minimize this eff