Hi Nikolaus,

I don't have too many models to test with, but while the new
OpenFlight loader isn't as fast as the old one yet, its a matter of
10-20%, rather than 10-100x as slower, so there must be something in
the make up of certain .flt files that the new loader is not coping
with yet.

I would very much like to see the new loader equal or better than the
old .flt loader, so tracking down the weak points is crucial.  Is
there any chance you can publish the problem .flt file, or perhaps
create one that reproduces the performance problems?

Thanks
Robert.

On 7/7/06, Hanekamp, Nikolaus <[EMAIL PROTECTED]> wrote:
Hi all,

when I switched my application to the new OpenFlight loader, the
performance drops dramatically:

Loading:    9.1 sec  -> 29.4 sec
Optimizing: 1.2 sec  -> 41.9 sec
Cull:       0.5 msec -> 53.8  msec
Draw:       5.3 msec -> 101.9 msec

Optimizing:
optimzer.optimize(_sceneGroup.get(), Optimizer::DEFAULT_OPTIMIZATIONS |
Optimizer::MERGE_GEODES |
        Optimizer::COPY_SHARED_NODES | Optimizer::TRISTRIP_GEOMETRY);

For the flt-Loader the merging of GeoSets has been enabled by commenting
the line:
//dontMerge = true;

Some statistics:
Flt      OpenFlight
96       32528  Drawables
8756     39527  Primitives

Obviously the "Optimizer::MERGE_GEODES" cannot compensate the missing
merging of GeoSet within the loader itself.

Any idee why?


Regards
Nikolaus


The statements contained in this message are not legally binding unless 
confirmed in writing.
This message may contain confidential information. If you are not the intended 
recipient,
or if this message and its annexes contains information which is apparently not 
meant for you,
please notify us immediately and - to the extent you are not the intended 
recipient - please delete
this message and all its attachments from your system and destroy any copy made 
therefrom.
Any unauthorized review, delivery, distribution, transmission, storage, 
printing or otherwise
making use of the message and its attachments are strictly prohibited. In case 
your systems
have been infected by virus or otherwise negatively affected by this message, 
we will not be
liable for any damage resulting therefrom unless in case of gross negligence or 
wilful misconduct.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to