Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Sep 02, 2010 6:28 pm

All times are UTC




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: 3d graphics repository
PostPosted: Wed Oct 31, 2007 9:03 am 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
Hello. How about creating 3d TT graphics directly on a wiki?
http://sharpttd.top100.net.pl/wiki/inde ... stries.xml
The data can be downloaded to the (not much existant) game automatically with one click. On other pages of wiki there is also the rest of data files. After uploading all the dummy models, they could be improved gradually. It's easy to run free Wings3d modeler, improve a model, and upload it back, and it's even easier with textures. With a small custom .3ds viewer one could see how industries completed from the parts, and also other models, look in the game.

Are there any low poly TT models created already? Where?


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 01, 2007 2:33 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
I replied to your othere thread, but I'll put it here as well!

I am very interested in this idea, and 3D models and textures are something I think I can contribute greatly to. I am very willing to make a complete set of both models and textures, however:
It is only worth spending lots of time on graphics and models if its going to happen, how committed are you? :)
What are the specifications of all the models and graphics? ie. file type, scale and polygons/file type and resolution?
What features does the 3D engine support? alpha texures/bump+normal mapping/specualrity/shadowing?
I really want to play OpenTTD in 3D, not a similar game or remote branch - are you aiming to develop this in trunk-acceptable bitesize chunks? I can imagine this would be a lot of work...

I don't mean to put you off because I would love to see this happen, but there are lots of important questions!

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 01, 2007 3:12 pm 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
Zephyris wrote:
I really want to play OpenTTD in 3D, not a similar game or remote branch - are you aiming to develop this in trunk-acceptable bitesize chunks? I can imagine this would be a lot of work...

Really sorry if that was confusing, but it IS a "similar game or remote branch", in C# :(
Openttd has gui and viewport linked very tightly, i'm not sure if it's ever possible to split everything.
Technically another option would be using SharpTTD gui, SharpTTD 3d viewport, and as a backend OpenTTD linked in using C++/CLI, but that would be hard too.


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 01, 2007 3:29 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
Oh well :( my ultimate dream would be OpenTTD in 3D. I would still like to help if I can though, do you have any answers to my other questions?

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Fri Nov 02, 2007 2:53 am 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
On the other thread:
exe wrote:
3D models created from TTD graphics is something so basic and obvious that it just can't get lost or be wasted. And on MIT license they can be used for anything.

Models should be really low poly, so it is possible to view massive parts of map. And the texturing should look quite like the original. One map square is one unit in modeller. 3ds files can be imported and exported anywhere including Wings3d, but they can lose some info.

However SharpTTD is not a 3d renderer for OpenTTD, but a totally different game. 3d rendering is just very small part of it. I wouldn't trust this game before I could play it - build some signalled rail routes between industries and earn money, save and load. (to done this year?)

So models are needed anyway right now, at least the dummy ones.

Textures should be .png, and with power of two dimensions (512?). 3d is drawn using http://en.wikipedia.org/wiki/Irrlicht_Engine


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Mon Nov 05, 2007 10:22 am 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
Another thing you might want to consider is working with the simutrans engine, I think the code is better separated into graphics and engine chunks...

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Wed Nov 07, 2007 5:51 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
Attatched are some generic textures (good placeholders) and a selection of low poly .obj s, some houses and oil refinery components.


Attachments:
ZephyrisObj1.zip [30.48 KiB]
Downloaded 92 times
ZephyrisPng1.zip [1.58 MiB]
Downloaded 103 times

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net
Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 08, 2007 2:52 am 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
Zephyris wrote:
Attatched are some generic textures (good placeholders) and a selection of low poly .obj s, some houses and oil refinery components.

Looking good!
a) Instead of ground polygon, just a tile texture specified in the data file should be enough.
b) Scale seems to be 2.5, not 1.0.
c) No uv texture maps yet, and all polygons have backfaces.

I didn't know there is a 3d editor by Google.

Currently I'm doing pathfinding, next it will be downloading data from wiki to the game, and a model previewer tool.


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 08, 2007 10:09 am 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
So 3D requirements are:
- No base polygon
- No backfaces
- Tile width = 1
- UV mapped

Some more questions:
- Where should the origin be, I currently use on corner of the tile...
- Why UV mapped? For this type of project I am supprised this is the most efficient way of texturing, a huge number of textures may be reused on different buildings - a massive saving in memory usage: 10 houses, all have brick walls with windows and tiled roofs... 2 generic 256x256 textures, or 10 UV mapped 512x512 textures?

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 08, 2007 12:52 pm 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
- Yes, it should be corner of the tile.
- Sure, textures can be reused. I was thinking "textured at all".


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 08, 2007 3:23 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
Should the textures be provided applied to the model, or provided separately? Because I'm not working directly with .obj i'm not sure how the images are handled...
See attached for example textures.


Attachments:
HouseWall1cropedit.png
HouseWall1cropedit.png [ 329.79 KiB | Viewed 7806 times ]
OfficeWall1_60s_cropedit.png
OfficeWall1_60s_cropedit.png [ 231.73 KiB | Viewed 7764 times ]
PoshWall1cropedit.png
PoshWall1cropedit.png [ 311.67 KiB | Viewed 7657 times ]

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net
Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 08, 2007 6:00 pm 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
Those textures are really good!!

Textures should be simply applied to the model. If it would be needed to change them later, then it is still possible.

Try this: http://sharpttd.top100.net.pl/wiki/inde ... =3d_viewer (1.1 MB)
The model should load with all its textures just by double click on the .obj or .3ds file.

I don't know what the lighting should be - currently it is disabled.


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Thu Nov 08, 2007 8:02 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
I'm stuck with texturing, I want to get the 512 pixel textures to exactly fit the 1 unit model, mapped via a cube, any ideas?

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Fri Nov 09, 2007 1:22 am 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
Zephyris wrote:
I'm stuck with texturing, I want to get the 512 pixel textures to exactly fit the 1 unit model, mapped via a cube, any ideas?

That depends on the modeler used. I would apply material per-face, and then use planar mapping. Or if there is no simple planar mapping then I would try to manually uv unwrap that faces.

BTW: Now there is batching in 3d renderer, and it's possible to render somewhere between 128x256 and 256x256 map tiles (with buildings, trees) on the screen at once with decent fps.


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Wed Nov 14, 2007 1:18 pm 
Engineer
Engineer
Offline

Joined: Wed Nov 14, 2007 1:08 pm
Posts: 3
Really nice ideas and work exe! Have played OTTD for a while now and the original game in the 90's. I tried your 3d viewer and it runned smoothly on my computer, have you another version that can download 3d objects from the wiki yet? Really want to test that when it's available!

Keep it up man!


Top
 Profile E-mail  
 
 Post subject: Re: 3d graphics repository
PostPosted: Wed Nov 14, 2007 5:46 pm 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
It should look awesome, but the problem, as always, is time...

I am setting up a set of models based on a 0.125 unit subgrid (ie. 1/8 ths) and a set of textures that can be subdivided into 1/8 ths without cutting through a window, etc. This way simple planar mapping onto the walls, at a scale of 512 pixels per model unit, will look good, and the textures can be quickly reused on any model. However, I'm stuck with the scaling...

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Tue Nov 20, 2007 2:38 am 
Engineer
Engineer
Offline

Joined: Thu May 06, 2004 3:20 pm
Posts: 54
Any progress with the models and texturing?
Perhaps the precise adjustment and scaling of textures uv on the walls needs to be done more manually on each model.

And there is a question whether models should be remade identical to the original graphics (like on the wiki, part-by-part) or just approximately? Doing identical models could be easier.

Image
256x256 map


Attachments:
File comment: 256x256
screen3.PNG [452.12 KiB]
Downloaded 3335 times
Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Tue Nov 20, 2007 7:58 am 
Tycoon
Tycoon
User avatar
Offline

Joined: Wed May 16, 2007 4:59 pm
Posts: 2049
The issue (as always) is time! Real life is taking over at the moment...

_________________
UK Town Set Image
GRVTS/eGRVTS Image
32bpp GRVTS --- Generic Tram Set --- RichardWheeler.net


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Tue Nov 20, 2007 11:39 am 
Engineer
Engineer
Offline

Joined: Wed Jan 05, 2005 11:27 am
Posts: 6
Oh my gosh! It is my dream to play OpenTTD in 3D as well :) That last picture looks nice! I hope some time you get some free time and can make it!


Top
 Profile  
 
 Post subject: Re: 3d graphics repository
PostPosted: Wed Nov 21, 2007 11:45 am 
Engineer
Engineer
Offline

Joined: Wed Nov 14, 2007 1:08 pm
Posts: 3
Looks very promising! I like the idea to begin with dummies of each object, make it work, and then bit for bit replacing the 3d objects with real and stunning graphics!


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Wordpress Theme | Motorhome Insurance | Spanish Property | Loans | Ipod Shuffle
Powered by phpBB © 2000-2009 phpBB Group

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2010.
Hosted by Zernebok.