[osg-users] multiple texture loading of identical objects

Robert Osfield robert.osfield at gmail.com
Thu Jul 10 07:30:00 PDT 2008


Hi Deiter,

The osgUtil::Optimizer contains a visitor dedicated to removing
duplicate state, so run the optimizer over your scene.

Also try upgrading to the latest in SVN as it has some fixes to
handling some imperfectly set DataVariance that seems to stem from
.flt loaded files.

Robert.

On Thu, Jul 10, 2008 at 2:04 PM, Dieter Pfeffer
<dieter.pfeffer at nl.thalesgroup.com> wrote:
> Hi
>
>
> when I start osgViewer with e.g. 29 identical objects(.flt) , the framerate
> is about 30 fps, but starting with 30 identical objects the frame rate drops
> down to 1 fps. This has s.th. to do with the texture , when I press 't' the
> framerate increases to 30 fps.
>
> Is it possible to load the texture only once and not every identical
> object (similar to SGI pfuDownloadTexlist) ?
>
>
> Windows XP, OSG 2.3.6
>
>
> Thanks
>
> Dieter
>
>
>
>
>
>
>
>
> Unclassified Mail
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list