Advertisement

Storing / using Vertices

Started by July 24, 2000 09:38 AM
0 comments, last by RavNaz 24 years, 5 months ago
How can I create a large data set of vertices. All I want is a list of vertices in a file which I can read into my engine, and build a list of triangles. I tried using WorldCraft to export a .map file, and then take the vertices from that file. However WorldCraft does not store vertices like this so I need another editor or some way of creating and saving the vertices. Please help
How does WorldCraft store vertices then?

Just find a format which contains x,y,z vertices. So far every 3D format I''ve encountered (.3DS, .MAX, .ASE, .X) All contain the x,y,z vertices in a very easy form e.g stored as 4-byte floats or as ascii text e.g ''1.34444,10.33333, -6.23420''

If you have 3DS MAX or something, try exporting to .ASE (Ascii Scene Export) this is a very easy readable format as all the information is stored as ascii.

You may want to write a quick converter program which converts .ASE into .X or a binary file containing VERTEX data & Triangle Lists for each object, not to mention adding materials/mapping coords .

/Memir
Flash Pool - Pool/Billiards game for Facebook (developed by Memir).

This topic is closed to new replies.

Advertisement