Re: [osg-users] Custom stats?

2008-03-07 Thread Brett Wiesner
Robert, I already have a custom drawable; in fact that's what I want to view the stats of. For example, in the drawable is some openGL code which produces some billboards, and I want to know show how many billboards it's drawing. When I toggle the stats on and off, I'd like to see something

Re: [osg-users] Custom stats?

2008-03-07 Thread Robert Osfield
Hi Brett, Thanks for the further explanation, I know understand a bit more about what you are after. I'm afraid off the top of my head I can think of the specifics of what you'll need to do. You may well need to write you own traversal of the main view's RenderStage rather than relying upon the

[osg-users] Custom stats?

2008-03-06 Thread Brett Wiesner
Hi, I'd like to display some custom stats every frame. For example, I have a custom drawable which I'd like to display some information about. What's the best way to go about doing this? Thanks, Brett ___ osg-users mailing list

Re: [osg-users] Custom stats?

2008-03-06 Thread Robert Osfield
HI Brett, Just have a look how the present stats are done via the StatsHandler, it should tell you the various things that can be done to get things renderered and updated - there should be no need for custom drawables as it can all be done with standard OSG objects. Robert. On Thu, Mar 6, 2008