Re: polygon counts

New Message Reply Date view Thread view Subject view Author view

Fischler (src++at++rose)
Tue, 7 Mar 1995 13:33:17 -0800


+>---- On Mar 7, 11:22am, Roy W Latham wrote:
> Subject: polygon counts
->
->
->Is there a function that returns number of polygons or triagles in a node?
-
Use pfStatsCountGSet() with the same stats structure on all the
gsets under the node.
There is an example of a user traversal in libpfutil that
counts up the datase statistics under a node:
        pfuTravCountDB(pfNode *node, pfFrameStats *fstats).
The resulting stats will e stored up in the fstats structure.
You can use it directly or grab the code of interest from
/usr/src/Performer/src/lib/libpfutil/trav.c.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Graphics Dev.
src++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:02 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.