Will Skylines avoid the poor elevation handling of Sim City?

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Zhatt

Recruit
33 Badges
May 8, 2011
7
0
www.youtube.com
  • Cities in Motion 2
  • Cities in Motion
  • Magicka
  • Steel Division: Normandy 44
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normand 44 - Second Wave
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normandy 44 -  Back to Hell
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Cities: Skylines - After Dark
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Dungeonland
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
That's the same solution I had as well!
Although, that would only solve that problem for buildings with extended front lawns. What would be the solution for buildings with entry doors at the edge of the lot, unless those types of buildings can't be built on slopes?

If you set the door as the origin, it should always sit near the terrain. You might get some windows covered up on the high side of the building, but it could still be the better option.
 

TotalyMoo

Manager of Things
94 Badges
Jun 5, 2012
4.661
2.590
  • Magicka
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Europa Universalis IV: Wealth of Nations
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Sengoku
  • Naval War: Arctic Circle
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
I've thought about this problem before, and one of the more elegant solutions I've seen partly implemented in some games, is extending the foundation of the building below the ground. Here's a quick example I've mocked up:

KNCDTe4.png


On flat ground only some, (or none at all) of the foundation/basement would show, but when placed on sloped terrain, the foundation would show. This would allow the building to contour to the ground instead of altering the ground mesh to meet the building.

In the past these kind of polygon collisions would have caused issues, but as I understand it, modern engines don't usually have a problem doing this. The real issue is that the foundations sections would be still be rendered by the GPU even if they're hidden completely below the ground. This could slow down processing time possibly taking a hit on the FPS.

Isn't this the most applied real world solution too?