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