-- 
Abed M. Hammoud, D.Sc.                          [EMAIL PROTECTED]
IntellX L.L.C.                                  Office: (303) 469-7383
Colorado, USA                                   http://www.anatomic.com/abed


Hello,

I have the following byu file that discribes a surface:

1 8 12 48
1 12
0.0 0.0 0.0
0.0 0.0 1.0
0.0 1.0 0.0
0.0 1.0 1.0
1.0 0.0 0.0
1.0 0.0 1.0
1.0 1.0 0.0
1.0 1.0 1.0
4 3 -1
1 2 -4
8 7 -5
5 6 -8
4 8 -6
6 2 -4
3 7 -5
5 1 -3
5 6 -2
2 1 -5
3 7 -8
8 4 -3

where starting at the top, 8 is the number of vertices,
and 12 is the number of polygons. The vertices are listed
first and then the indices of the vertices that makes the
polygons. How can I use the above info to build an
IndexedTriangleArray which I can use to build a 3D object.

This will enable me to write a loader for the byu format
surfaces.

Appreicate any comments.

Abed


Reply via email to