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/