[comp.sys.sgi] swapinterval & tmesh

root@fuzzy (Dr. Michael M. Cohen) (04/28/91)

A few questions from a vgx novice...

If I've got swapinterval(2), for running on 60Hz console (at 30 frames/sec)
should I put swapbuffers(1) when in 30Hz mode for NTSC output?

I'm plotting about 1000 polygons (mixed 3&4 point) using bgnpolygon,
(...n3f, v3f,...) endpolygon mode. I can do this (just barely) at 30 Hz.

How much speedup in drawing time can I expect by using triangular mesh approach?
(system is 4D/310-VGX-FX 3.3.2 16Mb)

I am computing the vertex normals myself. Can the graphics hardware
do this for me?

TIA for assistance... MMC

andreess@mrlaxa.mrl.uiuc.edu (Marc Andreessen) (04/28/91)

In article <15121@darkstar.ucsc.edu> mmcohen@fuzzy (Dr. Michael M. Cohen) writes:
>How much speedup in drawing time can I expect by using triangular 
>mesh approach? (system is 4D/310-VGX-FX 3.3.2 16Mb)

Quite a bit.  I haven't used the vgx, but on PI's and GTX's tmeshes
give dramatically better performance (since after the first triangle
you're only passing one new vertex per triangle through the pipeline).

>I am computing the vertex normals myself. Can the graphics hardware
>do this for me?

Nope.  (Or does the VGX do something new?  And if so - or if it could -
would it be faster than a fast software algorithm?)

Marc

-- 
Marc Andreessen___________University of Illinois Materials Research Laboratory
Internet: andreessen@uimrl7.mrl.uiuc.edu____________Bitnet: andreessen@uiucmrl