[comp.graphics] Polygon array to Indexed-Polygon converter wanted

lansd@eecg.toronto.edu (Robert Lansdale) (05/10/89)

	I am looking for a converter that will compress an un-indexed
polygon file to an indexed-polgon file. Input is as follows:

	polygon
		# Vertex one
		normal x y z
		vertex x y z
		.
		.
		# Vertex n
		normal x y z
		vertex x y z
	end

	The output would be a list of vertices (all unique), an index
list of vertices and an index list of normals.

-- 
CSNET: lansd%eecg.toronto.edu, ARPA: lansd%eecg.toronto.edu@relay.cs.net
Electrical Engineering Computer Group, University of Toronto.

turk@Apple.COM (Ken "Turk" Turkowski) (05/16/89)

In article <89May9.183453edt.2406@godzilla.eecg.toronto.edu> lansd@eecg.toronto.edu (Robert Lansdale) writes:
>	I am looking for a converter that will compress an un-indexed
>polygon file to an indexed-polgon file.

This ia easy to do with awk.
-- 
Ken Turkowski @ Apple Computer, Inc., Cupertino, CA
Internet: turk@apple.com
Applelink: TURKOWSKI1
UUCP: sun!apple!turk