webprogrammer101
09-23-2001, 03:00 PM
I have created an object in a 3D Program called Anim8or. Anim8or is a very very simple program, doesn't do much other than create 3D objects. One of their nice features, though, is the .C file exporter. It exports the entire object to a .c file containing a few numeric variable arrays. The variables hold ALL of the inforation to create the object.
They are:
mesh01_coords[] (Coordinates)
mesh01_normals[] (Normals)
mesh01_indices[] (Indices)
mesh01_matindices[] (Material Indices)
mesh01_texcoords[] (texture Coordinates)
I was able to load the points of the object from the mesh01_coords[] varialble, but can't figure out how to get the faces to work.
Can anyone please help me out?
Thanks,
Paul
They are:
mesh01_coords[] (Coordinates)
mesh01_normals[] (Normals)
mesh01_indices[] (Indices)
mesh01_matindices[] (Material Indices)
mesh01_texcoords[] (texture Coordinates)
I was able to load the points of the object from the mesh01_coords[] varialble, but can't figure out how to get the faces to work.
Can anyone please help me out?
Thanks,
Paul