Jump to content
  • Advertisement

Archived

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

orcblood

Opening Models

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

Ok, so Im basically trying to make a program that can read/write ms3d model files. I can make it so that the program will open a specific milkshape file, however, I dont know how to open any file through the use of a dialog box (like in milkshape and other such programs). I have absolutly no idea how to do this since, in all of my programming experience, I have never been able to get file input/output right... Would anyone know how to do so? Also, Im trying to get it so that the file renders to all the 4 viewports that I have made for the program, however whenever I try to do so with pModel(); it never works... Ive read through the viewport tutorial on this site but it doesnt seem to help very much. Ill post up the source code if needed... Anyways, heres what the program looks like so far: www.orcish-design.net/Orcish F-Ex.zip the up/down arrows zoom in/out on the model. The right/left arrows did rotate around the model, however, I did something and it stoped working (another problem that I can figure out on my own). The mouse will also work eventually, however, whenever you click right now it just shows a dialog box saying "hello world". Anyhelp would be amazing.

Share this post


Link to post
Share on other sites
Advertisement
I strongly recommend you going through the milkshape sdk. It has many examples of file opening and closing. Also with a few changes here and there you can create your own model format to import and export.

Good luck

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!