Problem with exporting model

Please post here for questions and discussion about unit modeling and general game modding. You can also post your new units and modifications here.

Moderator: EagleMountainDK

Post Reply
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

Problem with exporting model

Post by benpark »

I am attempting to export some models I have made. After I export them, they can't be opened with either the scene editor or the .x import tool in Milkshape. Even stranger, two other building I have made, and saved with the same settings are working fine.

One of the files can be found here (started new thread due to other one having entirely different subject by now):

tm.asp?m=1835415

The building in MS3D:

Image
Attachments
Screen01.jpg
Screen01.jpg (62.85 KiB) Viewed 304 times
"Fear is a darkroom where the devil develops his negatives" Gary Busey
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

The export settings:

Image
Attachments
Screen02.jpg
Screen02.jpg (62.43 KiB) Viewed 304 times
"Fear is a darkroom where the devil develops his negatives" Gary Busey
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

The baffling result:

Image
Attachments
Screen03.jpg
Screen03.jpg (72.45 KiB) Viewed 304 times
"Fear is a darkroom where the devil develops his negatives" Gary Busey
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

Milkshape model enclosed.
Attachments
Gefrmhs1a.zip
(3.77 KiB) Downloaded 10 times
"Fear is a darkroom where the devil develops his negatives" Gary Busey
Mraah
Posts: 1085
Joined: Wed Feb 20, 2008 6:11 am

RE: Problem with exporting model

Post by Mraah »

Ben,

PM me the MS3D model because the link above failed. I can look and see if it does the same for me.

Rob
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

I just tried to pm it, but it's too large (under a meg, though..). Thanks, though.
"Fear is a darkroom where the devil develops his negatives" Gary Busey
User avatar
Biffa
Posts: 119
Joined: Tue Apr 15, 2008 9:49 pm
Location: Wiltshire
Contact:

RE: Problem with exporting model

Post by Biffa »

It's been downloaded three times and its under 5kb let alone 1meg [&:]
 
You could probably make a whole city with 1 meg using the games level of models, my highest ms3d is about 85kb so far.
 
Did you actually make the buildings from scratch with milkshape ben? I've had a few problems exporting them out of MS after not importing them into MS properly to start with.
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

In Milkshape it seems to be 16k (the model, not counting the .dds). When exported to an .X file, it becomes 70k. It's pretty basic-maybe too basic for the exporter? I tried multiplying the faces, but that didn't seem to help.

Model stats:

Vertices: 122
Triangles: 192
Groups: 1
Materials: 1
Joints: 0 (not added yet)
Smoothing groups: 1,2

Mins: -1.35 0.00 -1.29
Maxs: 1.32 0.00 1.29
Center: -0.02 1.38 0.00
Dims: 2.67 2.75 2.58

I just checked through the files for the house models that shipped with the game-all seem to be in the same, or lower range as the above.
"Fear is a darkroom where the devil develops his negatives" Gary Busey
User avatar
Biffa
Posts: 119
Joined: Tue Apr 15, 2008 9:49 pm
Location: Wiltshire
Contact:

RE: Problem with exporting model

Post by Biffa »

Nope it won't be simplicity but the problem will be simple. Get the link working and I'll have a look, no promises tho...[:'(]
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

I think uploads are a no go with the site upgrade.

I uploaded it here for the meantime:

http://www.myfileupload.net/download.ph ... 7ef06cef96
"Fear is a darkroom where the devil develops his negatives" Gary Busey
User avatar
Stridor
Posts: 1391
Joined: Sat Sep 08, 2007 11:01 am

RE: Problem with exporting model

Post by Stridor »

Ben,

You have an uninitialized texture coord(s) x 4 in your DX. This is because you didn't texture map the bottom floor. You are best to delete the bottom floor *or* flip the facing so that infantry have something to stand on. This is because you would never see the floor in the game and saves 2 faces from being rendered.

When I mapped the bottom floor all your problems went away.

Here are the fixed files.

In reality you have probably found a very minor bug in the DX exporter for MS3D. I wouldn't worry about it, just remember to map all your faces before export.

Another point I should make is that it is much easier to model in real meters units and then do the 0.3937 scale at export time rather than modelling in 1:2.54 scale from the very beginning! This is one area where computer modellers have it over their plastic model brethren.

Regards

S.
Attachments
Germhs1a.zip
(7.25 KiB) Downloaded 5 times
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

You are some kind of genius. Thanks for fixing that. I would have gone nuts trying to redo the textures on a new model.

I couldn't download the attachment (I think it's disabled due to the website revamp), but I'm deleting the floors and I think it's working.

How do I set the scaling to real meter units? I don't see an option in the prefs.
"Fear is a darkroom where the devil develops his negatives" Gary Busey
User avatar
Mad Russian
Posts: 13255
Joined: Sat Mar 15, 2008 9:29 pm
Location: Texas

RE: Problem with exporting model

Post by Mad Russian »

ORIGINAL: benpark

You are some kind of genius.

I been telling you...Stridor doesn't walk down here with the rest of us.....[&o]

Good Hunting.

MR
The most expensive thing in the world is free time.

Founder of HSG scenario design group for Combat Mission.
Panzer Command Ostfront Development Team.
Flashpoint Campaigns: Red Storm Development Team.
User avatar
Stridor
Posts: 1391
Joined: Sat Sep 08, 2007 11:01 am

RE: Problem with exporting model

Post by Stridor »

Thank you MR, but I most assuredly do!

Still working away at the map maker, adding more features so that map making can be done even faster and easier than before [;)]

Much to do still ...

Regards

S.
User avatar
Biffa
Posts: 119
Joined: Tue Apr 15, 2008 9:49 pm
Location: Wiltshire
Contact:

RE: Problem with exporting model

Post by Biffa »

He all quite then suddenly when you're at a loss and least expecting it he performs a miracle...
 
Sound familiar? [&o][&o][&o][&o]
benpark
Posts: 3072
Joined: Mon Aug 12, 2002 1:48 pm

RE: Problem with exporting model

Post by benpark »

Indeed.

Image
Attachments
superman0706.jpg
superman0706.jpg (47.67 KiB) Viewed 304 times
"Fear is a darkroom where the devil develops his negatives" Gary Busey
Post Reply

Return to “Maps, Models and Mods”