Page 1 of 1

Using an Oolite Cobra in SpaceEngine

Posted: Fri Nov 08, 2013 3:06 pm
by drew
Folks,

Could any of you graphics wizards tell me whether it's possible to bring a 3d model from Oolite and use it in SpaceEngine?

According to my research Spaceengine uses .obj files and I see from my install of Oolite that we're using .dat

There is sometechy stuffon the spaceengine forum here, but it's baffling me tbh.

Is there a straightforward way to convert between the two? Ideally I'd like to be able to use one of Griff's ships within Spaceengine... (pretty please, Griff? :D )

Any clues?

Cheers,

Drew.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Fri Nov 08, 2013 3:31 pm
by cim
.obj is the format which Oolite's graphics tools take in to generate .dat files, and is an export format of both Wings and Blender. It's unlikely that SpaceEngine's shader set up is compatible with Oolite, though, so Oolite ships making heavy use of shaders may not look right - ones with just a simple diffuse map, should be fine. Griff's will be trickier.

If you only have the .dat file, there is a Dat2ObjTex.py python script which can get you a .obj file, but it's somewhat limited.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Fri Nov 08, 2013 3:44 pm
by drew
I'd settle for Griff's non-shaderised versions... but it's the howto I need. :)

I've successfully imported a demo .obj file into spaceengine, so that bit works. It's getting the Cobra mk3 as a .obj I need - hopefully somebody could send that to me, as I don't have blender etc.

Cheers,

Drew.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Fri Nov 08, 2013 4:14 pm
by Gimi
drew wrote:
I'd settle for Griff's non-shaderised versions... but it's the howto I need. :)

I've successfully imported a demo .obj file into spaceengine, so that bit works. It's getting the Cobra mk3 as a .obj I need - hopefully somebody could send that to me, as I don't have blender etc.

Cheers,

Drew.
Griff has made the object files and much more available on box in a resource directory on his Box account here.
Don't know how Space Engine handles sub entities and all that fancy stuff Griff does, but you should be able to test it.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Fri Nov 08, 2013 8:04 pm
by Tricky
http://en.spaceengine.org/forum/17 might be of help. Modding section.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Sat Nov 09, 2013 12:52 pm
by Geraldine
Could any of the models from Pioneer, FFE3D or the Freelancer Elite mod help you Drew? I don't know what format Space Engine uses for it's models, but I do know Griff's ships were converted for use in Freelancer. Here is a link to the mod http://www.moddb.com/mods/freelancer-mostly-harmless

Re: Using an Oolite Cobra in SpaceEngine

Posted: Sat Nov 09, 2013 2:40 pm
by Griff
If you're still after this Drew i've uploaded an obj version of my more recent CobraIII attempt here

https://app.box.com/s/xy053squmadt4y13et9f

it's the one that looks an awful lot like a pair of gentlemen's Y-fronts :- :shock:
Image

I've had a quick look at the techy stuff link in your post above and put the required textures in above download and some others if they're any use (spec intensity maps, glow maps for the engines and hull light etc - i'm not sure if Space Engine supports these or not but they're there just in case)
There's two versions of the diffuse map, the 'pantsalike' one in the pic above and the same idea again but without the white bits and looking more grimy which might need brightening up a bit in a paint program like GIMP

Re: Using an Oolite Cobra in SpaceEngine

Posted: Sun Nov 10, 2013 7:52 am
by drew
Thanks all - I will give it a whirl!

Cheers,

Drew.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Mon Nov 18, 2013 9:13 am
by drew
Woohoo! Success!

http://youtu.be/5h8IhoXbbGc

A few things to mix. The model orientation when you 'take control' is too close to the POV so it clips, and it's oriented 90 degrees off and at the wingtip rather than the centre, but I'll see if I can fix it.

Good process through. Griff - I discovered that spaceengine reads the mtl file, so that was very useful - thanks!

Cheers,

Drew.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Mon Nov 18, 2013 10:17 pm
by drew
And here's a test shot over my fictional moon, Chione. (Kee-Oh-Nee)

Image

Now...

I need an Eagle Mk1 and an Imperial Courier. Is there anyone out there who could package those up as .obj and .mtl files for me?

I've used the Eagle from ADCK and Selezen's ship in Oolite...

Awesomeness awaits! :)

Cheers,

Drew.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Tue Nov 19, 2013 12:17 pm
by Commander McLane
Selezen has also made an [EliteWiki] Eagle.

Re: Using an Oolite Cobra in SpaceEngine

Posted: Sat Dec 14, 2013 11:54 am
by Zireael
This Space Engine seems awesome...