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

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