Sunday, August 14, 2016

3d - Geometry System of Populous: The Beginning



I want to to develop a game like Populous: The Beginning with my friend. But we could not find out what type of geometry they have used for the world.


We know that - all tiles have the same size - all tiles are squares


So.. It cannot be a Icosahedron, because there are triangles, nor cant it be a standard sphere geometry, because not all tiles have the same size.


Can someone help me?




Answer



Triangles you are seeing are likely just a product of the rendering system -- everything, in the end, has to be broken down into triangles for rendering.


I suggest you do this: search google (images) for "sphere tessellation". You will get an idea of the many, many ways of doing this. Your game does not need to be tessellated in exactly the same way as Populous: The Beginning (which, by the way, is a great game which I love). Meaning you don't even need to use square tiles, if you don't want to; you could use any hexagons, triangles, pentagons, arbitrary quadrilaterals like kites, or even voronoi tessellation (irregular, non-repeated polygons).


What's important in any tessellation used for game logic is connectivity, i.e. the fact that your "grid" forms a (somewhat) connected graph for movement purposes.


EDIT: Probably what they've done is something a little like StarControl's melee -- they actually have a wrapping 2D grid (modulo in x and y). Then, when you view the sphere, you can only see one hemisphere at once, which makes it possible to map the tiles without too much noticeable distortion. And at a closer zoom, all would look perfect.


No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...