Page 4 of 4
Re: Alright let's talk about 3D maps.
Posted: 18 Jun 2015, 06:47
by enetheru
zwzsg wrote:Bridges and overhangs:
- Don't add much to gameplay (sea and land can already cross on shallows)
Regardless of the technical difficulties I don't agree with this sentiment.
its like saying that raised motorways don't add anything to highway systems. or why build tunnels when you can walk over the mountain.
It adds a far greater impact on the traversal of units on the map that one might think.
3d terrain might also effect the way you build.. having turrents built into the sides of a cliff face
building structural elemnts within your base to having stacks of whatever building might be stacked.
visualisation of depth, x-ray/slicing of terrain
basically its so drastic a change with so many things needing to be re-thought that you might as well fork spring, keep the parts that make sense like the network code and start from scratch with the rest of it.
Re: Alright let's talk about 3D maps.
Posted: 18 Jun 2015, 10:24
by tzaeru
I would suppose that the way to real 3D maps starts with the generation of a navigation mesh, which could be done with Recast of
Recast & Detour. That supports walkable ceilings and walls and so. After that, a pathfinder needs to be adjusted to work with the navigation mesh. At this point, there's yet no need to get rid of or accommodate all the getHeightAt() functions, as we've only had a switch in navigation system. Next up, change the rendering code to work with either multiple height maps/density fields or use separately created 3D objects placed on the map. The latter is probably *much* easier to get to work on an initial level and would be a proof-of-concept to more complicated 3D maps. When all this is done, there would be navigable, rendered 3D maps with no need to have touched getHeightAt(). Of course, the game would be buggy and not yet functional at all, but it'd be a great start and could work in a very limited fashion already. The biggest code pushes would remain with the user interface, smart unit movement, the getHeightAt() thingie probably used by plenty of games, etc..
I would estimate the total man-hours to get everything work really well, remain backwards-compatible and be at minimum as smooth as things are now, would to be at roughly ~four thousand. That's about ~200 000 dollars for professional developers.
Now, who's up to it?!

I'm like waayyy too busy.
enetheru wrote:zwzsg wrote:Bridges and overhangs:
- Don't add much to gameplay (sea and land can already cross on shallows)
Regardless of the technical difficulties I don't agree with this sentiment.
its like saying that raised motorways don't add anything to highway systems. or why build tunnels when you can walk over the mountain.
It adds a far greater impact on the traversal of units on the map that one might think.
3d terrain might also effect the way you build.. having turrents built into the sides of a cliff face
building structural elemnts within your base to having stacks of whatever building might be stacked.
visualisation of depth, x-ray/slicing of terrain
basically its so drastic a change with so many things needing to be re-thought that you might as well fork spring, keep the parts that make sense like the network code and start from scratch with the rest of it.
I would agree that real 3D maps, particularly bridges and overhangs, would add a lot to the game. I somewhat doubt that we'll ever get them and that's a big problem for Spring that at least for me, would greatly lower its appeal if I was making a RTS. But that's how it is.
Re: Alright let's talk about 3D maps.
Posted: 18 Jun 2015, 11:06
by hokomoko
get everything work really well, remain backwards-compatible
Sorry, but you can only pick one of these at best.
Re: Alright let's talk about 3D maps.
Posted: 18 Jun 2015, 11:18
by tzaeru
hokomoko wrote:get everything work really well, remain backwards-compatible
Sorry, but you can only pick one of these at best.
You can pick both, as long as the backwards-compatible only covers already existing maps, not whole games on any new map. It's extra work, but I doubt a full revision at this point was going to happen.
Re: Alright let's talk about 3D maps.
Posted: 18 Jun 2015, 11:28
by gajop
A thing I'd like to see as well is having no maps (for lobbies, space games, etc.).
PS: I realize I'm throwing slightly off-topic things, but I honestly don't think anything 3D map related will be done by a random forum post. The only non-dev initiative that could make this happen would be a large pledge of cash.
Re: Alright let's talk about 3D maps.
Posted: 18 Jun 2015, 11:39
by Kloot
"No maps" would at least be a realistic bounty project, FYI.
As for the rest of the discussion, I feel
this is an appropriate response.