Path: chuka.playstation.co.uk!news From: "Mark Wilson" Newsgroups: scee.yaroze.programming.2d_graphics Subject: VSync return values Date: Thu, 19 Mar 1998 18:56:15 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 20 Message-ID: <6erpi5$l5r19@chuka.playstation.co.uk> NNTP-Posting-Host: ae176.du.pipex.com X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Help, something weird is happening... I've hacked together a 3D starfield, and the first method of drawing the stars I used (using a GsSortLine to draw a line of one pixel's length) was a bit slow, so I tried using a buffer in main RAM, drawing all the stars into that, and then using LoadImage to shove it all into the current display buffer. This seems to work fine except for one thing. At the top of the screen I'm using the built-in font to print the number of frames elapsed, the number of lines since the last VSync, and the maximum number of lines since VSync that has so far occurred. Occasionally, the text seems to glitch for one frame, and the maximum number of lines leaps to some huge figure, like 30000 lines! The stars don't seem to be affected by this at all. Any ideas as to what's causing this? Mark Wilson