home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!wupost!usc!sol.ctr.columbia.edu!destroyer!news.iastate.edu!tc4.fi.ameslab.gov!raeker
- From: raeker@tc4.fi.ameslab.gov (Todd J. Raeker)
- Subject: are gl objects faster?
- Message-ID: <1992Aug26.134805.19112@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Reply-To: raeker@tc4.fi.ameslab.gov (Todd J. Raeker)
- Organization: Iowa State University
- Date: Wed, 26 Aug 1992 13:48:05 GMT
- Lines: 16
-
- I am writting a gl program that draws about 100 animated rames of 200 16 sided
- polygons all the same size and shape using tmesh. I thought that if I used
- makeobj(obj) once to create the object and then callobj to draw all the polygons
- it would be faster than doing the tmesh 200 times. Am I wrong or are there just
- a few case that using an object is faster the drawing the same over over and over
- again with the same hard code? Any advice would be appreciated on speeding this
- up also. I am not using z-buffering since I can easily sort, w/r to z, the polgons
- first. This gave me at least a 30% speedup.
-
- --
-
-
- Dr. Todd J. Raeker | 307B Wilhelm Hall
- raeker@tc4.fi.ameslab.gov | Iowa State University
- Phone (515)-294-9927 | Ames Laboratory, USDOE
- FAX (515)-294-5204 | Ames, Iowa 50011
-