[feature request] MSTS .s mesh format
[feature request] MSTS .s mesh format
Guys, maybe i am a total noob, but:
I have a mesh in a custom format, which i want to import into Irrlicht. I more or less understand the format i want to import form, but how should i import it codewise in irrlicht:?:
The shape in question is MSTS shape file, if that helps.
I have a mesh in a custom format, which i want to import into Irrlicht. I more or less understand the format i want to import form, but how should i import it codewise in irrlicht:?:
The shape in question is MSTS shape file, if that helps.
Last edited by OakenheaD on Wed Jul 15, 2009 8:50 pm, edited 1 time in total.
Still losing it
I have tried, but my programming skills have just failed me. Besides, VS9 wont compile the engine without DX8 SDK libraries, which are kind of hard to find.
I thought of another option - convert the file to irr format, so, where can i find it? Preferably heavily commented - i am a physics student, so CG sort of escapes me
I thought of another option - convert the file to irr format, so, where can i find it? Preferably heavily commented - i am a physics student, so CG sort of escapes me
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
I guess you need the irrmesh format instead, .irr only holds scenery information and refers to mesh files on the disk. You need to know 3d objects, though, but this might work without programming skills at least
Maybe you can describe some more details about the file format. What is described in the files. Do ou have specs for this file, maybe it's not too hard to write such a loader.
Maybe you can describe some more details about the file format. What is described in the files. Do ou have specs for this file, maybe it's not too hard to write such a loader.
http://ifolder.ru/13093440
here it goes - a test shape (.s) file and a file which looks like general description. Except that theyre not commented.
here it goes - a test shape (.s) file and a file which looks like general description. Except that theyre not commented.
Uhm.
then here http://hotfile.com/dl/8609584/02e5ae9/S_file.rar.html
then here http://hotfile.com/dl/8609584/02e5ae9/S_file.rar.html
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Well, the data is simply structred. It is definitely possible to load at least parts of this file format into Irrlicht. I've seen that you proposed a train simulator project, and these files are also related. Do you have any use for this file loader besides loading files from the original simulator? Are there any free editors, tools which export this format, ...?!
Well, there are at least 1 editor made specifically for this format: Abacus Trainsim modeller. There also are a number of other editors which export into this format, such as [those i know] 3D canvas Pro, Google Sketchup, Gmax. It is also interesting to know, that there are a lot of professional quality freeware models n this format - having as much as 19000 polygons on lowest LOD.
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Ok, that makes this format much more interesting then. I'll move the thread to the open discussion forum to keep this rolling. You may want to submit a feature request on our request tracker http://sourceforge.net/tracker/?group_i ... tid=540679