Jump to content
  • Advertisement

Archived

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

Whats comes next?

This topic is 5152 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

Hey everyone! I''m progressing along with DirectX very nicely and was just wondering what stage comes next. This is what I have; DirectX loads fine, I can draw shapes and sprites. I was starting on my UI and there must be an easier way to create all the vertices than hard-coding them? Is there a way to read them in from a file? thanks! Craig

Share this post


Link to post
Share on other sites
Advertisement
DirectX''s native file format is the .x file. Most modelers can export to it. It can contain animations data too which is a plus. You are not limited to the .x file though. If your manualy creating buffers in hardcode you should easily be able to figure out how you could convert an array developed from a file (from a differnt type) into your buffers. Id start with the X file first though, since there are functions already provided in dx.

Share this post


Link to post
Share on other sites
I agree. Start with the X-file and become comfortable with handling meshes. However, I would not become dependent on them, because as soon as you try animation, you''re going to have a lot of problems. This is because the x-file format has some problems (which microsoft is working to fix) that make animation difficult. It''s possible, but it''s very hard.

I would recommend looking into other model formats too, for example MD2, MD3, OBJ, or 3DS.


Dustin Franklin
Mircrosoft DirectX MVP

Share this post


Link to post
Share on other sites
The problem is you said you didnt wanna hardcode the coordinates, I assume you dont what to type them. If you want to use a modeler then use the .x format, no matter how simple the object is. Or make your own text file format at type the coords in by hand in notepad. If you chose this I suggest isometric graph paper to lay everything out.

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!