DirectX .x file format and Softimage.

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
Corto
Ensign
Ensign
Posts: 4
Joined: Tue Jan 17, 2012 3:19 pm

DirectX .x file format and Softimage.

Post by Corto »

Hi, I'm going to need feedback from the dev team here. I tried to import the example .x files into Softimage with no joy. I worked before with DirectX mesh files so I know the importer/exporter works fine. Is there something like different DirectX file versions which may not be compatible with every modelling software?
I'm starting to look for a workaround, maybe a third party file converter, but it would be great to get the meshes out right from modelling software. Thanks in advance.
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

DirectX .x file format and Softimage.

Post by Vice »

I'm not familiar with Softimage, but there are a few different 'flavors' of the DirectX model format (compressed and plain text for example). The meshes for the game are provided in plain text format and are generally compatible with most modelling programs that can read the format. The developers of that program might be able to provide a work-around/solution. When you go to save the model for importing into the game, normals will need to be applied.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
Corto
Ensign
Ensign
Posts: 4
Joined: Tue Jan 17, 2012 3:19 pm

DirectX .x file format and Softimage.

Post by Corto »

Thanks for the heads up. I fiddled around late at night yesterday so I didn't try a lot of things. I'm going to keep experimenting until I come with a solution.
Maarschalk
Captain
Captain
Posts: 7641
Joined: Wed Feb 25, 2009 12:24 am
Location: USA, Also check your six!

DirectX .x file format and Softimage.

Post by Maarschalk »

Hi Corto, welcome to the game and forum. Hope to see you out there some time!...;):cool:
Arvoch Alliance Stat:


Evochron Legends Stats:


Evochron Mercenary Stats:


Darkness is the absence of Light as Evil is the absence of Good
Viper
Captain
Captain
Posts: 1032
Joined: Wed Aug 03, 2011 8:41 pm
Location: Behind you

DirectX .x file format and Softimage.

Post by Viper »

This could explain why I wasn't able to get my ship model in game last night. There were a ton of settings for the DirectX exporter in 3dsMax, and I probably chose the wrong ones.
Vice if you happen to use 3dsMax, could you tell me which boxes to tick, which not and which settings to use while exporting a model from 3dsMax into DirectX?

Also, if you have time to answer, I was wondering how EM deals with hardpoints for engine exhaust effects, ship mount, camera pivot etc.

And thanks for bringing this up Corto.
Image
\"For he today who sheds his blood with me, shall be my brother\"
Corto
Ensign
Ensign
Posts: 4
Joined: Tue Jan 17, 2012 3:19 pm

DirectX .x file format and Softimage.

Post by Corto »

I've been tampering a little more, and I found out that Softimage .x exporter can export binary as well as text versions of the file, so I guess I'm going to be able to export meshes just fine but unable to import them (which I don't really care). I guess I could do a quick test tonight, just exporting a cube mesh with a really skimple texture, just to see if it shows in game, and start building a "How To" document from there.
As far as I can guess, some people around here already was able to put new ships in-game. I think it's a good idea to make a modeling sticky for all things about creating new spaceships.
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

DirectX .x file format and Softimage.

Post by Vice »

Not sure with 3DSM, but the format that is generally needed is plain text with normals applied. If an exporter can't include the normals the way the game needs them, just loading and saving the model in a program like Lithunwrap applies them.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
Corto
Ensign
Ensign
Posts: 4
Joined: Tue Jan 17, 2012 3:19 pm

DirectX .x file format and Softimage.

Post by Corto »

Thanks that's very useful Vice, we don't want "inverted" ships =P. I was looking at Warbird's thread and it seems like he managed to put a lot of models ingame, even new cockpits.