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

  1. Path: sparky!uunet!kithrup!stanford.edu!ames!decwrl!concert!borg!pooh!cullip
  2. From: cullip@pooh.cs.unc.edu (Timothy Cullip)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Marketing Triangle performance (how do I acheive it)
  5. Message-ID: <14580@borg.cs.unc.edu>
  6. Date: 19 Aug 92 14:34:07 GMT
  7. Sender: news@cs.unc.edu
  8. Distribution: usa
  9. Lines: 37
  10.  
  11. I'm sure this has been covered in the past (probably several times), but
  12. I am looking for example code that gives the 1 Mega tris/sec for a VGX 
  13. that the marketing pamplets all talk about.
  14.  
  15. We have a PowerSeries 4D/340 VGX with 128 Megs of memory.
  16.  
  17. I've written a program that opens a 500x500 pixel window in RGBmode,
  18. double buffered with zbuffer off.
  19. It uses triangle meshes (200 meshes of 400 triangles each).
  20. Each triangle typically covers about a 3x3 pixel area (very small).
  21. It makes no calls to n3f (just v3f for the vertices) and uses shademodel(FLAT).
  22. It does no lmdef or lmbinds to define material or ligh properties.
  23.  
  24. It only gets 450 K tris/sec.
  25.  
  26.  
  27. Interestingly, if I use an lmdef and lmbind to define a material and light,
  28. (use phong lighting with gouraud shading) and use n3f() and v3f() at each 
  29. vertex and turn the zbuffer on I still get about 400 K tris/sec.
  30.  
  31. I'm not surprised that with all the bells and whistles turned on I get
  32. 400 K tris/sec, but I am surprised that with them turned off I only
  33. get 450 K tris/sec.
  34.  
  35. Have I missed something? 
  36.  
  37. Does someone have an example program that puts out 1 Mega tris/sec on a 
  38. VGX machine? Even though such performance isn't realizable in a real 
  39. world program that would be useful to me, I'd like to see my machine 
  40. perform at that level just once to satisfy my curiosity.
  41.  
  42.  
  43.  
  44. -- 
  45.  
  46.    Tim Cullip
  47.    cullip@cs.unc.edu
  48.