The code I sent out was a test program to see of stats was working.  The right use of it in the end would be to output the information into the osg Stats somehow.  It could even go as a simple string for right now. 

There is still some work to get this as useful information, which will involve complexities like synchronizing the CPU and GPU clocks.  There is currently some potentially interesting information about swap time. The clock is queried before and after the call to swapbuffers and the returned value would give you an idea of how much of the frame is being used to wait on vertical retrace.  This could potentially show you how close you are coming to breaking frame, purely from a GPU draw time.  However, the current code only works at the Producer::Camera level and the osg VIewer calls swapbuffers from CameraGroup, which I haven't coded up to get swap times yet.

Now, was it my intention to have the output scroll by on the output window? Of course not.  Those things that scroll by that look like "←[0;0H"  are ANSI escape sequences, which clear the screen and Home the text cursor.  The S in ANSI stands for Standards.  If the WIndows console had any notion of following any kind of standard whatsoever, you'd get a nice "print in place" output.

Aren't you glad Microsoft doesn't build airports?

-don

On 8/26/06, Paul Martz <[EMAIL PROTECTED]> wrote:
Hi Robert and Don --

Latest CVS builds and runs fine for me on WinXP, built with VS8.

I also tested the pipe stats feature, which works with my GeForce 6600. I'll
try this later with a Quadro FX 1500. Don, the pipe stats output scrolls in
the Windows console window, was this what you expected or were you sending
tty command codes to update text in the console (no scrolling)?
   -Paul



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of
> Robert Osfield
> Sent: Thursday, August 24, 2006 2:00 PM
> To: osg users
> Subject: [osg-users] Preparing for 1.1.1-rc2
>
> Hi All,
>
> I am planning to cut a rc2 in the coming days.   Before I do
> this it'd be useful to get some more build and runtime
> testing done on the CVS version. Let me know how things
> are/are not working on your platform so I can get an idea of
> how things are converging.
>
> Cheers,
> Robert.
>
>

_______________________________________________
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