home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12993 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!access.usask.ca!regina!haidl
  3. From: haidl@cs.uregina.ca (Mark Haidl)
  4. Subject: Re: How to control animation frame rates?
  5. Message-ID: <1992Aug27.230509.4262@regina.cs.uregina.ca>
  6. Sender: news@regina.cs.uregina.ca
  7. Organization: University of Regina
  8. References: <1992Aug27.133349@gorgo.gsfc.nasa.gov> <p3vkrbk@fido.asd.sgi.com>
  9. Date: Thu, 27 Aug 1992 23:05:09 GMT
  10. Lines: 20
  11.  
  12. mds@sgi.com (Mark Stadler) writes:
  13.  
  14. >In article <1992Aug27.133349@gorgo.gsfc.nasa.gov> sullivan@gorgo.gsfc.nasa.gov (Dan sullivan) writes:
  15. >>    How can one measure animation frame rate on an Indigo Entry?
  16. >>I want to maintain a certain rate, but the complexity of each scene
  17. >>may vary. Is the best way to do this counting the number of scenes
  18. >>per second and adjusting accordingly? What function returns the time
  19. >>most accurately?  Any tips?
  20. >>               Thanks, Dan
  21. >>
  22. >check out the swapinterval() man page.  using this call, you can specify
  23. >the worst case frame and force swapbuffers() to swap at that rate.
  24. >--
  25. >-- mds    [aka Mark D Stadler  mds@sgi.com  ...!uunet!sgi!mds  (415)335-1327]
  26. Note that swapinterval was broken in 4.0.1-4.0.4 on our PIs and Indigo.
  27. I would assume it is fixed under 4.0.5.(We reported it back at 4.0.1)
  28. --
  29. Mark Haidl, Systems Manager, Dept of Computer Science, U of Regina, Canada
  30. haidl@cs.uregina.ca,  regina!mercury!haidl
  31. Phone: (306)585-4977, Fax: -5205
  32.