Archived

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

MichaelNolan

Young Programmer eager to test His Function.

Recommended Posts

go to 3dcafe.com and download some free models.
go download milkshape and during your trial import all the models you downloaded from 3dcafe and export them as milkshape ascii files.
Or just search for ms ascii files.

Share this post


Link to post
Share on other sites
Bummer. I checked aswell and i found something that came with a loader function but my function didn''t work. I think it might be because most functions and loaders are created in Visual C/C++ but i use Borland C++ Builder 4.

Share this post


Link to post
Share on other sites
Theres an example ms ascii loader with the SDK (available from the site) which includes 2 ascii models with animations.

No offence or anything, but if you wrote the loader without having access to an example file, how did you write the loader? EG how did you know what to load?

To be honest, I''m not surprised your loader doesn''t work if you never referenced the file format you were writing for ;¬)

Dan

Share this post


Link to post
Share on other sites
heres a box for you to test on, from the demo version.


// MilkShape 3D ASCII

Frames: 203
Frame: 1

Meshes: 1
"Box01" 0 -1
20
0 0.074543 -0.184159 9.375000 0.000000 0.000000 -1
1 -0.175457 -19.815842 9.375000 0.000000 1.000000 -1
0 19.925457 -0.184159 9.375000 1.000000 0.000000 -1
0 19.925457 -19.815842 9.375000 1.000000 1.000000 -1
0 19.925457 -0.184159 9.375000 0.000000 0.000000 -1
0 19.925457 -19.815842 9.375000 0.000000 1.000000 -1
0 19.925457 -0.434159 -9.375000 1.000000 0.000000 -1
0 19.925457 -19.565842 -9.375000 1.000000 1.000000 -1
0 19.925457 -0.434159 -9.375000 0.000000 0.000000 -1
0 19.925457 -19.565842 -9.375000 0.000000 1.000000 -1
0 0.074543 -0.184159 -9.375000 1.000000 0.000000 -1
1 -0.175457 -19.815842 -9.375000 1.000000 1.000000 -1
0 0.074543 -0.184159 -9.375000 0.000000 0.000000 -1
1 -0.175457 -19.815842 -9.375000 0.000000 1.000000 -1
0 0.074543 -0.184159 9.375000 1.000000 0.000000 -1
1 -0.175457 -19.815842 9.375000 1.000000 1.000000 -1
0 0.074543 -0.184159 9.375000 0.000000 1.000000 -1
0 19.925457 -0.184159 9.375000 1.000000 1.000000 -1
1 -0.175457 -19.815842 9.375000 0.000000 0.000000 -1
0 19.925457 -19.815842 9.375000 1.000000 0.000000 -1
10
0.000000 0.000000 1.000000
1.000000 0.000000 0.000000
0.000000 0.000000 -1.000000
-0.999919 0.012733 0.000000
0.012593 0.999921 0.000000
0.006297 0.999958 -0.006666
0.000000 0.999911 -0.013332
0.000000 -1.000000 0.000000
0.006218 -0.999958 -0.006666
0.012435 -0.999834 -0.013331
12
0 0 1 2 0 0 0 1
0 1 3 2 0 0 0 1
0 4 5 6 1 1 1 2
0 5 7 6 1 1 1 2
0 8 9 10 2 2 2 1
0 9 11 10 2 2 2 1
0 12 13 14 3 3 3 2
0 13 15 14 3 3 3 2
0 12 16 6 4 5 5 3
0 16 17 6 5 6 5 3
0 18 13 19 7 8 8 3
0 13 7 19 8 9 8 3

Materials: 0

Bones: 0

Share this post


Link to post
Share on other sites