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