Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Milkshape DirectX export settings

Author
Message
Drunken idiot
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 20th Apr 2003 19:14
I want to export my Milkshape 3d model into a .X file,
so that DBP is able to load it.
My first attempts seemed ok in Milkshape but my simple test
program in DBP isn't showing the object (only a black void)
Then I found in several other
topics on this forum a list of export settings for Milkshape 3d models.
In Milkshape 3d I choose
Export / DirectX (JT) and then select:
'Right handled', 'Exclude Options', 'loop animations' and 'binary'
All other options are deselected.
When I choose 'OK' Milkshape 3d crashes with a
unhandled exception in ms3d.exe (MSEXPORTER.DLL) access violation.

So my question is: does anybody know what I'm doing wrong?
Surely it shouldn't be that hard to export a milkshape model to .X
and that to view it in DBP.

Any help is appreciated.
TRS80Model1
23
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: - Please Select -
Posted: 20th Apr 2003 19:27
Directx models use left handed coordinates. Don't use the (jt) plugin. Does not work for me. Download the new milkshape and use the other one.
I have a free HL.mdl that I converted to x last night with 851 animation frames that works great.
Drunken idiot
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 20th Apr 2003 19:38
Do you mean I should choose menu File/Export/DirectX 8 file ?

Because then Milkshape does not crash but the X model
won't load in DBP when I use my simple test program
(see the attached code)
I still see nothing in my compiled program. Any idea why?
Perhaps the problem lies with my testcode, but I wouldn't know
what's wrong with it......

TRS80Model1
23
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: - Please Select -
Posted: 20th Apr 2003 19:46
Here try this code with your model.
Drunken idiot
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 20th Apr 2003 23:17
thanks for the code!!
When I test it with the bike (bike.X file)
of the Roadterrain demo (that comes with DBP) it nicely shows
the camera around the bike.
Only with my own model, I see only darkness
(except for the frame rate in the top left)
So I fear something is wrong with the model itself, although I
cannot figure out what.....
but thanks so far!

Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 21st Apr 2003 00:04
This won't be of much help...but many .X objects will stay invisible in DBP..if you have 3ds version you could try to find a convertor here..
http://www.tb-software.com/links.html
TRS80Model1
23
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: - Please Select -
Posted: 21st Apr 2003 01:27
Sounds like your model is just out of the scene, try reposistioning the model. And also try changing the color backdrop 0 to color backdrop rgb(100,100,100). This will change the color of the background in case your model is not uv mapped correctly and is still black, you may be able to see it.
TRS80Model1
23
Years of Service
User Offline
Joined: 2nd Feb 2003
Location: - Please Select -
Posted: 21st Apr 2003 01:35
Oh, and make sure your model is centered on the x,y,z axis in milkshape before exporting, this makes them easier to find when you wish to view them.
the architect
23
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 21st Apr 2003 01:41
If your ambient settings are low your object will be smothered in a BLACK shadow.

I use X in milkshape and so far had few probs. Are you importing the texture with the model?

Drunken idiot
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 21st Apr 2003 12:13
Thanks for all feedback but it still won't work.
Changing the background color doesn't change anything, thus
the model isn't just black. In milkshape the model is centered
on all axis so I don't think that is the problem.
I tried repositioning the model but without result....
But how do I know which coordinates I should take?
'position object 1, 0,0,10' doesn't work.
'position object 1, 100,100,10' neither gives anything on the screen.

I put the Milkshape model online:
http://www.cs.vu.nl/~rik/dbp/Thunderbolt.ms3d
My own DirectX version can also be downloaded:
http://www.cs.vu.nl/~rik/dbp/Thunderbolt.x

Perhaps anyone can see if there is something wrong with
my model? (it is supposed to be a Thunderbolt)

Thanks in advance....

comic book guy
23
Years of Service
User Offline
Joined: 21st Apr 2003
Location:
Posted: 21st Apr 2003 18:17
hi i'm new to the forum.

I downloaded your ms3d model and textured it
then it shows up.
i had the same problem with untextured 3ds models i coverted to x with patch 4

Drunken idiot
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 21st Apr 2003 19:05
oh cool!
But since I'm relatively new to Milkshape, I thought that
testing a non-textured model would be possible.... but
I guess I was wrong.

Did you use Milkshape to model the .ms3d file?
Or is it better to use separate programs for texturing?

I'm new to modeling so I am searching for the easiest way
to texture this model. (leading to reasonable results)
It didn't took you much time,
so there probably is an easy way..... x-d

comic book guy
23
Years of Service
User Offline
Joined: 21st Apr 2003
Location:
Posted: 21st Apr 2003 19:24
i'm not so good with textures.
i just made a bmp with one color selected all the parts of the plane and asigned the texture to them.

for my models i'll normaly make a seperate texture for every part of the model.
if you convert your model to .3ds you can use deep paint 3d by Right Hemisphere to paint on your model.
you can download a demo version from there web site.
i use it to make markers on the texture, then export the texture and use a paint program to get it the way i want.
you can then use your final texture for you model.

Drunken idiot
23
Years of Service
User Offline
Joined: 8th Mar 2003
Location:
Posted: 21st Apr 2003 20:39
ok, thanks a lot for the tips
amd the help with the model!

TogaMario
23
Years of Service
User Offline
Joined: 30th Jan 2003
Location:
Posted: 22nd Apr 2003 05:51
I use one texture mapped with the UV Texturing tool and export the model as an OBJ. Bring it into MilkShape 3d using the import option and just assign the same texture you made with the the UV tool, and it should come up looking fine.

P.S. This is what the alphabet would look like if Q and R were eliminated.

Login to post a reply

Server time is: 2026-07-10 19:47:29
Your offset time is: 2026-07-10 19:47:29