Openttd 3D

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
lihui_zhang
Engineer
Engineer
Posts: 8
Joined: 16 Dec 2024 07:56
Skype: src_sword_zhang
Location: Beijing

Openttd 3D

Post by lihui_zhang »

Does anyone want to 3D-ify openttd? It may require a lot of code modification and 3D modeling work. Can it be done by AI? Train him to convert images into 3D models?
User avatar
kamnet
Moderator
Moderator
Posts: 8705
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Openttd 3D

Post by kamnet »

It would be so much code modification that it might as well just be a whole new game.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7432
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Openttd 3D

Post by Redirect Left »

lihui_zhang wrote: 16 Dec 2024 08:03 Does anyone want to 3D-ify openttd? It may require a lot of code modification and 3D modeling work. Can it be done by AI? Train him to convert images into 3D models?
At that point you might as well just play Locomotion. Which was Chris Sawyers original 3D successor to Transport Tycoon Deluxe, although he got interested in rollercoasters and did Rollercoaster Tycoon 1&2, then appears to have used a modified version of the RCT2 engine to produce Locomotion, the track looks a lot like the Miniature Railway from RCT lol
There's also an open-source reimplementation, but you need the original files from Locomotion, it hasn't spawned its own open source graphics like OpenTTD, at least not yet.

Could you use an AI? Sure, you can make one. Will it really work? To a degree, likely! Not even triple A games however apparently have the money to make an AI work good. The GTA Trilogy "Definitive Edition" (lol) tried it, and from what we can tell there was a lot of AI or other automated stuff used to upscale things, and yeah it worked, but it had zero idea the context for some things. A lot of oddities such as this. Which from my limited knowledge of these things, appears to be a result of subdivision smoothing that has gone mad and with no context, and wasn't able to understand that one thing was -meant- not to be a perfect circle.

OpenTTD is open source, so feel free to give 3Ding it a go yourself.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
uzurpator
Tycoon
Tycoon
Posts: 2240
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: Openttd 3D

Post by uzurpator »

Redirect Left wrote: 17 Dec 2024 03:30Which was Chris Sawyers original 3D successor to Transport Tycoon Deluxe
Locomotion isn't 3D.
lihui_zhang wrote: 16 Dec 2024 08:03 Does anyone want to 3D-ify openttd?
It exists - called Transport Fever 1/2, there is also Mashinky and Train World - each taking their own take on the genre.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7432
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Openttd 3D

Post by Redirect Left »

uzurpator wrote: 17 Dec 2024 06:52 Locomotion isn't 3D.
Far more 3D than Transport Tycoon was, albeit using an isometric camera still. It does however use 3d models made in 3d software like Blender, then squashed to Loco standards.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
jfs
Tycoon
Tycoon
Posts: 1867
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Openttd 3D

Post by jfs »

Someone attempted, 5 years ago: viewtopic.php?t=86412
User avatar
uzurpator
Tycoon
Tycoon
Posts: 2240
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: Openttd 3D

Post by uzurpator »

Redirect Left wrote: 17 Dec 2024 07:30 Far more 3D than Transport Tycoon was, albeit using an isometric camera still. It does however use 3d models made in 3d software like Blender, then squashed to Loco standards.
It's still not 3d. You can use rendered sprites in OTTD as well. Locomotion is still the same tech as original TT, just with more views for each vehicle.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7432
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Openttd 3D

Post by Redirect Left »

uzurpator wrote: 17 Dec 2024 09:44 It's still not 3d.
I would 100% count games like RCT & Locomotion as 3D regardless of the isometric camera, the environment definitely has the feel of 3D, far more than games like TTD that has the same camera, but the graphics are rather... poor all things considered, and do not really portray that 3D feeling for the world. But that is just getting into personal opinions & preferences, and not worth arguing.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
uzurpator
Tycoon
Tycoon
Posts: 2240
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: Openttd 3D

Post by uzurpator »

Redirect Left wrote: 17 Dec 2024 10:25 I would 100% count games like RCT & Locomotion as 3D regardless of the isometric camera,
The camera is irrelevant. The tech behind it is the same as it is with vanilla TT and any spinoff game - just pre-rendered sprites rendered back to front. TT was hand drawn, Locomotion had its sprites rendered off 3d models - true, but 32bit OTTD also has most of its sprites rendered this way.

The idea behind BrickED was to make a 3d editor that allows to render sprites from a 3d model while keeping the hand-drawn asthetic of TT games. BrickED can render 360 degrees of any vehicle and even apply the required modifications to its size to match what TT requires. By your logic - it makes OTTD 3d already.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7432
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Openttd 3D

Post by Redirect Left »

Redirect Left wrote: 17 Dec 2024 10:25and not worth arguing.
uzurpator wrote: 17 Dec 2024 10:36 [..]
I enjoy how you infact chose to continue arguing. Bold move. I respect that.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
uzurpator
Tycoon
Tycoon
Posts: 2240
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: Openttd 3D

Post by uzurpator »

Dunno how it looks on your end, I'm just correcting your incorrect statements.
User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7432
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Re: Openttd 3D

Post by Redirect Left »

Redirect Left wrote: 17 Dec 2024 10:25 into personal opinions & preferences, and not worth arguing.
I wonder what this means.

Alas you win, for I am sure the admin team will choose to scapegoat me, rather than you for continuing this tedium I have already attempted to end.

Again, I respect bold moves.

To answer the original question, yes, but mostly no. Again, anyone is free to muck about in code. So if you have no qualms with OTTD or it's code. Get in the guts and try to 3D it to either my, your or Uzurpators high standards. Good luck, if you need any other info DM me, Uzurpator has thoroughly trap carded this thread for me.
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2566
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: Openttd 3D

Post by Pyoro »

If it happens then surely it'd be a visualizer like Armok Vision or Stonesense for Dwarf Fortress.
User avatar
uzurpator
Tycoon
Tycoon
Posts: 2240
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Re: Openttd 3D

Post by uzurpator »

Redirect Left wrote: 17 Dec 2024 11:01
Redirect Left wrote: 17 Dec 2024 10:25 into personal opinions & preferences, and not worth arguing.
I wonder what this means.
It means that '3D' has an unambiguous meaning in the context of video game graphics. One in which 'sprites' are re-rendered every frame of the game, with respect to a view port, from a mesh and texture data, with usage of shader programs, usually on a separate device usually known as 'GPU'.

Diablo II was using pre-rendered sprites, Diablo II:Resurrected is rendered with 3D.
User avatar
jfs
Tycoon
Tycoon
Posts: 1867
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Openttd 3D

Post by jfs »

Pyoro wrote: 17 Dec 2024 11:11 If it happens then surely it'd be a visualizer like Armok Vision or Stonesense for Dwarf Fortress.
Someone looked into that, a little less than two years ago, but as far as I can tell gave up on the idea: viewtopic.php?t=90601
lihui_zhang
Engineer
Engineer
Posts: 8
Joined: 16 Dec 2024 07:56
Skype: src_sword_zhang
Location: Beijing

Re: Openttd 3D

Post by lihui_zhang »

kamnet wrote: 17 Dec 2024 02:46 It would be so much code modification that it might as well just be a whole new game.
1. 3D.
2. like "Mine-craft", with an infinitely large map, as long as you have enough hard-disk space..

That's a good wish. I have to read the current code first.
lihui_zhang
Engineer
Engineer
Posts: 8
Joined: 16 Dec 2024 07:56
Skype: src_sword_zhang
Location: Beijing

Re: Openttd 3D

Post by lihui_zhang »

Redirect Left wrote: 17 Dec 2024 03:30
lihui_zhang wrote: 16 Dec 2024 08:03 Does anyone want to 3D-ify openttd? It may require a lot of code modification and 3D modeling work. Can it be done by AI? Train him to convert images into 3D models?
At that point you might as well just play Locomotion. Which was Chris Sawyers original 3D successor to Transport Tycoon Deluxe, although he got interested in rollercoasters and did Rollercoaster Tycoon 1&2, then appears to have used a modified version of the RCT2 engine to produce Locomotion, the track looks a lot like the Miniature Railway from RCT lol
There's also an open-source reimplementation, but you need the original files from Locomotion, it hasn't spawned its own open source graphics like OpenTTD, at least not yet.

Could you use an AI? Sure, you can make one. Will it really work? To a degree, likely! Not even triple A games however apparently have the money to make an AI work good. The GTA Trilogy "Definitive Edition" (lol) tried it, and from what we can tell there was a lot of AI or other automated stuff used to upscale things, and yeah it worked, but it had zero idea the context for some things. A lot of oddities such as this. Which from my limited knowledge of these things, appears to be a result of subdivision smoothing that has gone mad and with no context, and wasn't able to understand that one thing was -meant- not to be a perfect circle.

OpenTTD is open source, so feel free to give 3Ding it a go yourself.
The current video generation AI can understand the rules of the 3D world. Perhaps some special training can be done to allow AI to convert photos or images into 3D models. I don't know if anyone is doing this job.
lihui_zhang
Engineer
Engineer
Posts: 8
Joined: 16 Dec 2024 07:56
Skype: src_sword_zhang
Location: Beijing

Re: Openttd 3D

Post by lihui_zhang »

jfs wrote: 17 Dec 2024 07:33 Someone attempted, 5 years ago: viewtopic.php?t=86412
Thank you. I'm reading that post.
lihui_zhang
Engineer
Engineer
Posts: 8
Joined: 16 Dec 2024 07:56
Skype: src_sword_zhang
Location: Beijing

Re: Openttd 3D

Post by lihui_zhang »

Reading code and trying it on my computer. (Wayland/Sway with SDL2)

1. Reading original code
2. merge 3D rendering code from Assert
Attachments
2024-12-20_15-12-1734680526.png
My Desktop
(2.41 MiB) Not downloaded yet
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 2 guests