Advertisement

Opening Models

Started by February 07, 2004 04:41 PM
1 comment, last by orcblood 21 years, 1 month ago
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.
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

Advertisement
Ok, thanks alot. I actually forgot about the SDK! I cant believe that... Anyways, thanks again.

This topic is closed to new replies.

Advertisement