Hi Roland,
Great stuff. I had stats history graphs on my wishlist too. This will be of
great help for our projects.
Maybe we should make the statshandler configurable so users can tweak it for
their specific needs.
Well, something that's been on my wishlist for a long time is to
refactor the StatsHandler so that it's decoupled from the actual stats
it displays. Then, we could add arbitrary stats for it to display in
different ways. This is most useful for time-based stats which fit in a
(bar or line) graph form.
In our case (from the point of view of a physics engine developer), we
would add for example the dynamics update time, the collision checking
time, etc.
It could also be useful to have multiple stats handlers attached to the
viewer, one for physics and one for graphics, for example. By decoupling
the stats from the object that displays them, that would be easy. It
would make the stats handler more general. A multiplayer game might add
a stats display to show networking statistics like latency and
bandwidth. There are many more possible uses of this kind of thing.
Anyways, that's a lot more work so probably not now. But I'd like to get
to it eventually.
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org