3

I have a bunch of polygons that are generated by my program (i.e. I manually calculate the position vectors for the vertices). I want to dump these to a .x file (or .fbx or any format I could reload later with XNA). Is there any C# or XNA API for doing this?

10x!

Yoyo

Yaniv
  • 315
  • 1
  • 4
  • 8

1 Answers1

1

You could try XmlSerializer's Serialize() and Deserialize() methods to save and recall your polygons, as well as anything else in your program.

Seth Moore
  • 3,575
  • 2
  • 23
  • 33