HI Markus,

Nice to see it made a small improvement.  Although it does seem to
have push the problem for too many transforms, to an over abundance of
LODs and Groups.

I'm not familiar with your database but there might be ways of
reorganising to its a bit better balanced, the OpenFlight loader isn't
helping this, but there still is probably more efficient ways of doing
things when one takes in consideration that performance
characteristics of modern hardware - for instance geometry isn't the
bottleneck so LOD's needn't be used so pevasively.

Robert.


On 7/19/06, Markus Trenkwalder <[EMAIL PROTECTED]> wrote:
Robert Osfield wrote:
> Hi Markus,
>
> First thanks for sending the logs.  I'm replying here so that others
> can pitch in with their own suggestions.

You're welcome!

> The interesting parts of the old and new loaders logs are:
>
> New OpenFlight plugin stats after optimization:
>
> Stats after:
> Object Type    #Unique    #Instanced
> Group          3357    8974
> Transform      10592    10594
> LOD            4575    16866
> Switch         0    0
> Geode          8981    26704
> Drawable       9338    28964
> Geometry       9338    28964
> Vertices       508153    687961
> Primitives     159927    215328
>
> Old OpenFlight plugin stats after optimization:
>
> Stats after:
> Object Type    #Unique    #Instanced
> Group          3571    3572
> Transform      26    28
> LOD            16863    16866
> Switch         0    0
> Geode          19831    19855
> Drawable       28910    28959
> Geometry       28910    28959
> Vertices       687680    687996
> Primitives     210381    210460
>
> --
> [...]
> Should just need to do:
>
>  export OSG_OPTIMIZER="DEFAULT COPY_SHARED_NODES"
>  osgconv myfile.flt myfile.ive

I have done this for my database too.  Here's the result:

Stats after:
Object Type     #Unique #Instanced
Group           8974    8974
Transform       4       4
LOD             16866   16866
Switch          0       0
Geode           26704   26704
Drawable        28964   28964
Geometry        28964   28964
Vertices        687961  687961
Primitives      215328  215328

This leads to the following new performance table:

Position 1:
OSG version  | fps | Drawables | Vertices
-------------+-----+-----------+----------
1.0          | 30  | 5321      | 226508
cvs-old      | 33  | 5321      | 226508
cvs-new      | 23  | 5320      | 226503
cvs-new-copy | 27  | 5322      | 226476

Position 2:
OSG version  | fps | Drawables | Vertices
-------------+-----+-----------+----------
1.0          | 50  | 3037      | 179605
cvs-old      | 51  | 3037      | 179605
cvs-new      | 40  | 3033      | 179579
cvs-new-copy | 43  | 3035      | 179603

Regards

Markus
--
Dipl.-Ing. Markus Trenkwalder
Software Architecture & Development
  _________
(___  ____)        www.s-p.cc
  ___) S&P Simmulationstechnik
   Phone:  +43 (0)512 393255
   Fax: +43 (0)512 393255 33
_______________________________________________
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