The International Simutrans Forum

PakSets and Customization => Pak128 => Topic started by: seb444 on August 14, 2008, 04:39:27 PM

Title: Convert 3D -> 2D
Post by: seb444 on August 14, 2008, 04:39:27 PM
I'd like to create objects (train, bus, way) for simutrans through 3D.
I can make a 3D model but the problem is that I did not understand how to convert a 2D image (plan).
Is that someone could tell me how to switch from 3D to 2D?  :-\

thank you
Title: Re: Convert 3D -> 2D
Post by: Beder on August 14, 2008, 04:41:18 PM
With which programm do you want to create the 3D-model?

Normally there is a function called "rendering" in which your programm creates a 2d picture ;-)
Title: Re: Convert 3D -> 2D
Post by: seb444 on August 14, 2008, 04:56:56 PM
I use google SketchUp, but I know also solid works.
I tried blender but the problem is that it is much more complicated.
According to you what is the easiest 3d, which has this function there (render)?
Title: Re: Convert 3D -> 2D
Post by: Kristian on August 14, 2008, 06:24:14 PM
However you do it, you need to set the rendering angle right (which can be a bit tedious):

http://en.wiki.simutrans.com/images/5/58/Geometry.png
Title: Re: Convert 3D -> 2D
Post by: mobo on August 15, 2008, 08:20:24 AM
Sketchup has no render function i think (the free version at least), but you can make a screenshot ("print screen" - key) and then paste it in some image software (paint, gimp, many others....).

There is an ISO view among the "standard views" of sketchup - i think this is isometric, it looks like at least.
Title: Re: Convert 3D -> 2D
Post by: yoshi on August 15, 2008, 10:56:02 AM
I'm not familliar with SketchUp at all, but apparently you can export a 2D image in png format, if you go to "File" -> "Export" -> "2D Graphics".

The below is an example made from a model on the Google 3D warehouse. http://sketchup.google.com/3dwarehouse/details?mid=f22b9ddcfea6125952822e6b3cb70f30&prevstart=0

Title: Re: Convert 3D -> 2D
Post by: Václav on August 22, 2008, 04:25:54 PM
That building looks good. But I think it is too good for only warehouse if originally it is town hall of Osaka. Tourist trap could be better use. You can look into czech part of forum to see my unfinished project of new bridge

http://forum.simutrans.com/index.php?topic=67.msg333#msg333 (http://forum.simutrans.com/index.php?topic=67.msg333#msg333)

I wish trains could achieve speed 400 kilometers per hour (km/h) on that bridge and its the longest span could be thirty two or sixty four fields (kilometers) - because the longest bridge could have only sixteen fields and trains can achieve speed only 96 km/h on that bridge - and it is too low speed. Ten fields for bridges for speed 300 km/h are too short span because some maps (e.g. map of Czech republic with size 2000*1316) have some water areas too large for very fast trains like Shinkazens (mainly Hikari rail star and Nozomi), ICE or TGV but too short for ships.

For example: most rivers on called map are larger than ten fields and slopes upon rivers are too high (and too long). So those trains has to go down to the lowest level where are some places closer than ten fields - and it causes those trains are losing speed to much. But if I could build that bridge I prepared, all could be right because trains would not lose speed on slopes - in spite of the highest speed could be between 300 km/h and 400 km/h as I planned for that bridge.
Title: Re: Convert 3D -> 2D
Post by: yoshi on August 23, 2008, 05:48:00 AM
Quote from: VaclavMacurek on August 22, 2008, 04:25:54 PM
That building looks good. But I think it is too good for only warehouse if originally it is town hall of Osaka.

The "Google 3D warehouse" is the name of a online storage of 3D models provided by Google. I coded this as a cityhall. No worries.
Title: Re: Convert 3D -> 2D
Post by: Václav on August 25, 2008, 08:48:16 AM
I must write it czech: aha (in english it could be I understand or I comprehend). But It seems too large for city hall because basic ones are large only four squares (2*2). So I have to be interested in city's behavior when that building is in game.
Title: Re: Convert 3D -> 2D
Post by: seb444 on August 25, 2008, 06:34:25 PM
For information I decide to remain under paint to draw (+ easy).
With paint I could do this:
(http://img1.imagilive.com/0808/funnytransadoucitb97.PNG)
it's a maglev