Original Post
how are 3d objects usally stored? I was thinking about creating a polyhedron class that stored each vertice of the polyhedron as a 3d point and stored a face subclass that stored pointers/index values to each vertice of that face so the polyhedron would contain an array of vertices and an array of faces, then each polyhedra could have its own buffer for storing the converted 2d vertices, the index values in the faces array should be parallel to the converted 2d vertice buffer array(if that makes sence). but then I thought you could only store three vertices for each face because any 3d polygon that has more than 3 vertices might not be a face. this is just an abstract idea(probaly stupid) but it is all i can think of when it comes to storing a 3d object. I was reading a lot of tutorials that sort of skipped this stage where they would tell you how to convert vertices, points in 3d space then go straight onto polygon fill techniques and bsp trees. does anyone know of any good tutorials about this subject?