So I've been playing Master of Orion 2 lately, and it's inspired me into creating some sort of mini-game or proto-game. What I wanted to create is a utility (not a game, per se, just the bare-bones version of what in MoO2 would be the planet screen) that would look at the planet from the outside. Now unlike MoO2, where the planet is a single entity, this planet would consist of polygons of roughly uniform area). There would only be five or six different sizes of planet, and the usefulness of a planet would of course be proportional to the amount of space one could exploit.
That's not the issue, though; it can easily be accomplished once the primary problem is settled. The issue being rather the same problem Buckminster Fuller took on; how do I split a sphere into x amount of polygons (pentagons and hexagons, for preference; I'd prefer it if it's possible to move step by step across the grid in a flexible way)? The good thing is, there's only going to be around six different sizes, and there's some latitude about sizes that could be chosen.
So, is there a comparatively easy way to solve this? Being just a dabbler in mathematics, the only method I see myself is the brute-force one in which I fire up 3D Studio Max and do it manually, and that seems somehow very inelegant.
Mathematical tips needed
Moderator: Thanas
Mathematical tips needed
Björn Paulsen
"Travelers with closed minds can tell us little except about themselves."
--Chinua Achebe
"Travelers with closed minds can tell us little except about themselves."
--Chinua Achebe
How about you just draw on the lines of lattitude and longitude?
That, depending how many of them you draw on gives you a whole bunch of (spherical) polygons. If you put on the lines every 30 degrees for a smally, 20 for meduim and 10 for large or something, that gives you a large number of simple regions. You would make all the small ones near the poles into one region or something, and could tweak it as you like
That, depending how many of them you draw on gives you a whole bunch of (spherical) polygons. If you put on the lines every 30 degrees for a smally, 20 for meduim and 10 for large or something, that gives you a large number of simple regions. You would make all the small ones near the poles into one region or something, and could tweak it as you like
A simple solution, which is a good thing to my mind. I'll try it and see what comes out of it.Steel wrote:How about you just draw on the lines of lattitude and longitude?
That, depending how many of them you draw on gives you a whole bunch of (spherical) polygons. If you put on the lines every 30 degrees for a smally, 20 for meduim and 10 for large or something, that gives you a large number of simple regions. You would make all the small ones near the poles into one region or something, and could tweak it as you like
Björn Paulsen
"Travelers with closed minds can tell us little except about themselves."
--Chinua Achebe
"Travelers with closed minds can tell us little except about themselves."
--Chinua Achebe
- Lagmonster
- Master Control Program
- Posts: 7719
- Joined: 2002-07-04 09:53am
- Location: Ottawa, Canada
- Psychodelica
- Youngling
- Posts: 88
- Joined: 2007-02-21 06:55pm
- Location: Sweden
Worry not, it's coming along. I've successfully, with the help of a certain once-bearded fellow we both know, delineated and eliminated various points. As for now, some things seem obvious.Psychodelica wrote:Well, Eleas. It seems you're coming along fine. Don't drop this project, I beg you!
First, what I need is the 3d model of a sphere. It appears there are actual programs out there that are able to generate instant hexagonally segmented spheres (I heard Maya and 3dSM were among them). I then need to create a very simple table that matches each facing to an ID number, and after that, it gets fairly straightforward.
I've decided that these steps are enough for the first build. Things like actually displaying the 3d model, let alone anything more complex, will have to wait until further versions. I'd rather get there by crawling than sprint and fall.
Björn Paulsen
"Travelers with closed minds can tell us little except about themselves."
--Chinua Achebe
"Travelers with closed minds can tell us little except about themselves."
--Chinua Achebe