3D model formats

Discuss a Transport Tycoon-like game being programmed by forum users.

Moderator: Transport Empire Moderators

Post Reply
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

3D model formats

Post by XeryusTC »

Seniltai has been working quite hard the past week on TRoS and we are now able to load .3ds files. They can't be loaded fully yet because we don't have a method of storing materials yet. Hopefully that will be done soon (with the shader system), and hopefully there are many other formats to come.

A list of possible model formats:
  • 3ds
Could a mod make this a sticky?
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
Arathorn
Tycoon
Tycoon
Posts: 6937
Joined: 30 Nov 2002 17:10

Post by Arathorn »

.blend
.obj
User avatar
trainboy2004
Director
Director
Posts: 572
Joined: 10 Aug 2005 10:18
Location: Sittard, The Netherlands
Contact:

Re: 3D model formats

Post by trainboy2004 »

.dae for Collada users
.skp for freeware Sketchup users
.p3d for Gmax users
Belgabor
Engineer
Engineer
Posts: 39
Joined: 11 Feb 2009 21:28

Re: 3D model formats

Post by Belgabor »

I would strongly recommend to forget about reading blend, skp and dae.

- blend is Blenders internal format, it can change at their developers discretion. I remember reading in a Blender related forum someone mentioning this (reading blend) was a bad idea.
- skp is a closed spec. Google is releasing a closed library for it, but that doesn't change the fact. While SketchUp was still "ungoogled" I did some research on the topic and basically got the information that even if you signed the (then needed) NDA and got the spec, the format was so complex you didn't want to try to read it.
- dae is an open format, but the spec is huge, as is the OS library implementing it.

All of the formats have in common that they are much too complex (in matters what they can contain) for sane import into a 3D game.

You should agree on what features you need for TE and find or create a format that supports them but not (much) more. Personally I went for the "create own format" solution for my purposes, but it's for you to decide. Both Blender and SketchUp are scriptable, so it's some effort but not impossible (Although I personally think supporting a direct path from SU to low-poly apps is a bad idea).

But if you want to go for one of these formats, choose dae. Blender has a plugin for dae export and SU supports it natively (in form of GE4 kmz).
User avatar
NukeBuster
Traffic Manager
Traffic Manager
Posts: 222
Joined: 04 Jan 2006 18:16
Location: Alphen aan den Rijn, The Netherlands
Contact:

Re: 3D model formats

Post by NukeBuster »

This topic is slightly outdated. Please check the Transport Empire graphics forum.

On the note of formats:
uzurpator wrote:...
- Format is irrelevant as long as it is relatively common or can be converted to a common format (blender, maya, 3d studio etc).
...
AFAIK Ogre is already able to convert much of these formats to something Ogre compatible. Otherwise if you are willing to contribute code to the Transport Empire project it would be greatly appreciated.
NukeBuster

Transport Empire: The Transport Empire Linux effort
Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

OpenTTD patch(es): Password at join
Belgabor
Engineer
Engineer
Posts: 39
Joined: 11 Feb 2009 21:28

Re: 3D model formats

Post by Belgabor »

Unfortunately I currently don't have enough time for the projects I already promised to work on :(

Ogre indeed supports a lot of 3D formats and has a Blender export plugin for it's own format. The problem (which I'm hesitant to bring up as I don't really know the forum here yet) is whether using Ogre (and in fact any existing engine) is a wise choice. I'm somewhat involved in the tpb3d project and we had the very same discussions, but our lead (and honestly atm only) developer rose very valid points that all current engines won't do in the long run. The major point was them being targetted for FPS-like scenarios, which can optimize based on assumptions that don't hold true for strategy games like tpb3d (and probably TE as well).
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2178
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: 3D model formats

Post by uzurpator »

Belgabor wrote:Unfortunately I currently don't have enough time for the projects I already promised to work on :(

Ogre indeed supports a lot of 3D formats and has a Blender export plugin for it's own format. The problem (which I'm hesitant to bring up as I don't really know the forum here yet) is whether using Ogre (and in fact any existing engine) is a wise choice. I'm somewhat involved in the tpb3d project and we had the very same discussions, but our lead (and honestly atm only) developer rose very valid points that all current engines won't do in the long run. The major point was them being targetted for FPS-like scenarios, which can optimize based on assumptions that don't hold true for strategy games like tpb3d (and probably TE as well).
We are writing a game, not a game engine. I personally can dip 4-8 hours weekly to this project. Wasting that time to make another engine is a pointless endevour. It is much wiser to write a game and deal with some inefficiences in the process.
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.
User avatar
charlieg
Transport Coordinator
Transport Coordinator
Posts: 323
Joined: 08 Oct 2003 14:07
Contact:

Re: 3D model formats

Post by charlieg »

I would like to know whether the tpb3d developer had any facts to hand for his analysis of OGRE3D being FPS-specialized/-optimized or whether he just assumed this. OGRE3D has been in development for a long time and all-manner of genres of games (and non-games) have been created using it. Any such fears that it is not up to the task are, frankly, irrational.

If he thinks he can reproduce countless man-years of programming, he is delusional. It's good to see uzurpator has a much more pragmatic outlook.
Open source tycoon games
--
Free Gamer - open source and Free Software games
FreeGameDev forums - open source game development community
User avatar
Plastikman
Tycoon
Tycoon
Posts: 3941
Joined: 24 Dec 2005 03:14

Re: 3D model formats

Post by Plastikman »

I think as long as you stick to any of the popular formats. you should be ok. especially if you choose to go with a blender format or a 3DS format. everything should be fine. with a few exception. a few programs can expot to other formats and just make a mess. (Sketchup pro to 3Ds for example.)

Just out of curiosity. are you going to actually have true 3d objects driving all over in a GTA (3-current), a semi fake 3D like SC4, or a 3d flattened to sprite style like ttd/loco on import?
North American sets and then some...
US SET Ver 3.1.0 updated ~ Amtrak Pack 3.1.0 ~ US Passenger/Metro Set 3.1.0 updated~ Auto Factory 2.6 ~ VIA Rail Pack ~ LTD ED1 Conrail Alcos ~ LTD ED2 NJ Transit ~ DBR E60 ~ TGV Duplex ~ Umbrella Corp. ~ Comboios de Portugal~ Dekosoft UP/BN/BNSF Sets ~ ICE // MegaPack = 1.0.3.
Image
Image
Image
My Trains are made from 100% recycled electrons!
User avatar
Illegal_Alien
Tycoon
Tycoon
Posts: 7824
Joined: 29 Sep 2004 20:07
Location: Kingdom of Far Far Away
Contact:

Re: 3D model formats

Post by Illegal_Alien »

Sketchup to 3DS isnt that bad, as long as you know what to do in sketchup to make it work :P
:: Looking for the Locomotion section? Scroll down on the forum index or click here. :: See all releases in Locomotion section? Clicky here! :: Click here for the best tool ever! :: .datCrawler try it! ::
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
Post Reply

Return to “General Transport Empire Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests