Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Storing / using Vertices

This topic is 6538 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites
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 .


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!