home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 12987 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.0 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!odin!fido!mds
  2. From: mds@sgi.com (Mark Stadler)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: How to control animation frame rates?
  5. Message-ID: <p3vkrbk@fido.asd.sgi.com>
  6. Date: 27 Aug 92 20:10:29 GMT
  7. References: <1992Aug27.133349@gorgo.gsfc.nasa.gov>
  8. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  9. Organization: Silicon Graphics, Inc.
  10. Lines: 13
  11.  
  12. In article <1992Aug27.133349@gorgo.gsfc.nasa.gov> sullivan@gorgo.gsfc.nasa.gov (Dan sullivan) writes:
  13. >    How can one measure animation frame rate on an Indigo Entry?
  14. >I want to maintain a certain rate, but the complexity of each scene
  15. >may vary. Is the best way to do this counting the number of scenes
  16. >per second and adjusting accordingly? What function returns the time
  17. >most accurately?  Any tips?
  18. >               Thanks, Dan
  19. >
  20. check out the swapinterval() man page.  using this call, you can specify
  21. the worst case frame and force swapbuffers() to swap at that rate.
  22.  
  23. --
  24. -- mds    [aka Mark D Stadler  mds@sgi.com  ...!uunet!sgi!mds  (415)335-1327]
  25.