Re: pfdGSet.c

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 01/18/2001 11:39:58


We don't have any papers on the algorithms, but they're pretty common and
the code is isn't too hard to follow. Here's a little more on what they
do:

pfdNewCube - makes six faces out of 12 triangles

pfdNewSphere - creates a cube that contains no more than the specified
               number of triangles and then normalizes all the points
               to make a sphere. This doesn't make a very uniform
               distribution, but it's not too bad.

pfdNewCircle - creates a circle with the specified number of triangles.
               It's cut up into slices like a pizza.
pfdNewRing - same as above, except it's unfilled

pfdNewCylinder - Creates circles for top and bottom like pfdNewCircle and
                 the cylinder body by connecting corresponding slices in
                 the two circles.

pfdNewPipe - like a cylinder, except the endcaps aren't there

pfdNewCone - Makes a circle for the base then creates triangles from the
             thick ends of the slices and the point of the cone.

pfdNewPyramid - square base and triangles defined by the pyramid point and
                base sides.

pfdNewArrow - A pyramid on top of a box

pfdNewDoubleArrow - Two pyramids with a box in between them

-- Marcin

On Thu, 18 Jan 2001, Markus Som wrote:

> Hello! I'm searching for a detail description of pfdGSet.c. TO say it more
> precisely, I'm searching for theory papers for the algorithms, which are
> behind the pfdNewSphere etc.
> Does anyone have something .. please
>
> thx
> markus
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 18 2001 - 11:40:07 PST

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