Post

 Resources 

Console


more... Jack Hoxley (0 replies, 0 views) (2000-Sep-17)
-
hi, me again.. I've been looking through the format - looks good. I can make use of it. If you're [corre] already making use of it could you share with me the file schematics? As in, what each line does? I've worked out that it would need DrawIndexedPrimative to work - a demo cube I made only listed 8 vertices.... I then looked through the faces part... which I dont quite follow; and then the normals part which I dont quite follow.. Entries using this format I assume are in the X Y Z configuration *MESH_VERTEX 0 -5.5000 -5.0000 0.0000 but what do I do with this: *MESH_FACE 0: A: 0 B: 2 C: 3 AB: 1 BC: 1 CA: 0 *MESH_SMOOTHING 2 *MESH_MTLID 1 I think I follow this part for Vertex Normals: *MESH_NORMALS { *MESH_FACENORMAL 0 0.0000 0.0000 -1.0000 *MESH_VERTEXNORMAL 0 -1.0000 0.0000 0.0000 *MESH_VERTEXNORMAL 2 -1.0000 0.0000 0.0000 *MESH_VERTEXNORMAL 3 0.0000 1.0000 0.0000 Then is this part for the texture coordinates? *MESH_NUMTVERTEX 12 *MESH_TVERTLIST { *MESH_TVERT 0 0.0000 0.0000 0.0000 Anyway; Any help in deciphering it? I suppose I could do it through trial and error - but you [corre] seem to know how already... Jack,


-
Up One Level | Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 81 visitors within the last 20 minutes
RSS News Feed