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 very
beginning to let OpenGL compile objects and then used in the scene. Maybe
you can do the same way

Nick


On Tue, Sep 2, 2014 at 2:03 PM, Cary, Karl A. <[email protected]>
wrote:

> We have been having the same issue and haven't found a solution yet
> either, though it hasn't been our main priority yet. I will be following
> any responses closely and will contribute if I can.
>
> -----Original Message-----
> From: osg-users [mailto:[email protected]] 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 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 Nordqvist <[email protected]> wrote:
>
>
>         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 effect.
>
>         Clues:
>         -Once the model has been displayed there is no more hiccup.
>         -Differerent models produce different hiccup delays (consistently)
>         -Hiccup problem does not scale with .ive size or nr of polygons
>         -In bad cases I can see the osgstats cull part go to zero for
> about 1 sec.
>         -Using ProxyNode makes no difference.
>
>
>         Suggestions? Some caching options I can try?
>         Anything nasty to look for in the .ive models?
>
>
>         (Most are 3DS format made by 3rd party, converted with osgconv,
>         sorry I can't share them)
>
>
>         I'm using OSG 3.01, compositeviewer, linux, Nvidia (different
> cards, same problem.)
>
>
>         Thanks!
>
>
>
>         /Per
>
>
>
>         _______________________________________________
>         osg-users mailing list
>         [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to