home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12619 < prev    next >
Encoding:
Text File  |  1992-08-19  |  1.9 KB  |  49 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!odin!deadhead.asd.sgi.com!mogal
  3. From: mogal@deadhead.asd.sgi.com (Joshua Mogal)
  4. Subject: Re: Marketing Triangle performance (how do I acheive it)
  5. Message-ID: <1992Aug19.181506.26531@odin.corp.sgi.com>
  6. Sender: news@odin.corp.sgi.com (Net News)
  7. Nntp-Posting-Host: deadhead.asd.sgi.com
  8. Organization: Silicon Graphics, Inc.
  9. References:  <14580@borg.cs.unc.edu>
  10. Distribution: usa
  11. Date: Wed, 19 Aug 1992 18:15:06 GMT
  12. Lines: 35
  13.  
  14. In article <14580@borg.cs.unc.edu>, cullip@pooh.cs.unc.edu (Timothy Cullip) writes:
  15. |> I'm sure this has been covered in the past (probably several times), but
  16. |> I am looking for example code that gives the 1 Mega tris/sec for a VGX 
  17. |> that the marketing pamplets all talk about.
  18. |> 
  19. |> We have a PowerSeries 4D/340 VGX with 128 Megs of memory.
  20. |> 
  21. |> I've written a program that opens a 500x500 pixel window in RGBmode,
  22. |> double buffered with zbuffer off.
  23. |> It uses triangle meshes (200 meshes of 400 triangles each).
  24. |> Each triangle typically covers about a 3x3 pixel area (very small).
  25. |> It makes no calls to n3f (just v3f for the vertices) and uses shademodel(FLAT).
  26. |> It does no lmdef or lmbinds to define material or ligh properties.
  27. |> 
  28. |> It only gets 450 K tris/sec.
  29. |> 
  30. |> 
  31. |> Interestingly, if I use an lmdef and lmbind to define a material and light,
  32. |> (use phong lighting with gouraud shading) and use n3f() and v3f() at each 
  33. |> vertex and turn the zbuffer on I still get about 400 K tris/sec.
  34. |> 
  35. |> I'm not surprised that with all the bells and whistles turned on I get
  36. |> 400 K tris/sec, but I am surprised that with them turned off I only
  37. |> get 450 K tris/sec.
  38. |> 
  39. |> Have I missed something? 
  40.  
  41.  
  42. Have you made sure that you set SUBPIXEL(TRUE) ?  If this is not set you will get approx 50% of the peak machine performance...
  43.  
  44.  
  45.  
  46. Joshua Mogal
  47. Product Manager
  48. Advanced Graphics Division
  49.