SimNation - the countries simulator

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
Post Reply
User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

SimNation - the countries simulator

Post by SimNation » Mon Sep 06, 2010 3:05 am

Hi!

I'm yet in the very beginning, but feel like sharing some images. :D The idea is to display official information about real countries (all of them), mostly for educational purposes. Here you see altitude/vegetation data with states outlined. I plan to include many other kinds of data - all already available over the Internet - as well as analysis and simulations. (You can see part of it in the 2D version here: http://downloads.sourceforge.net/projec ... -0.3.1.zip)

Instructions on how to install the previous versions (2D and 3D, in english and portuguese): http://www.simnation.info/
A video preview: http://www.simnation.info/index.php#FlvPlayer

Hope you like it!

Brasil:
Image
Image
Image

Indonesia:
Image
Image
Image

China:
Image
Image
Image
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

Baddcog
Halfling
Posts: 62
Joined: Sat Jul 12, 2008 12:16 am

Re: SimNation - the countries simulator

Post by Baddcog » Mon Sep 06, 2010 6:25 am

Looks pretty cool, might be a fun app to have.
0 x

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Mon Sep 06, 2010 2:14 pm

Thanks! I hope to release the new version soon, although most of the data is already available in the 2D version.
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

some more pics

Post by SimNation » Tue Sep 07, 2010 3:19 pm

Vietnam, population density 1:
Image

Vietnam, population density 2:
Image

Philippines, rainfall:
Image

Brasil, rainfall + mean temperature:
Image
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
lingfors
Hobgoblin
Posts: 505
Joined: Mon Apr 02, 2007 12:18 am
Location: Sweden

Re: SimNation - the countries simulator

Post by lingfors » Wed Sep 08, 2010 11:44 am

Looks cool, all that's missing is to render the entire (spherical) planet instead of a small, planar part of it. ;)
0 x

mrmclovin
Goblin
Posts: 292
Joined: Sun May 11, 2008 9:27 pm
x 8

Re: SimNation - the countries simulator

Post by mrmclovin » Wed Sep 08, 2010 12:37 pm

This looks very cool, I think my father would be very intrested in an application like this!! I agree with previous writer: a planet sphere would be awesome!
0 x

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Thu Sep 09, 2010 1:37 am

Thank you both! I was thinking about that, at least a very simple and light sphere where the user can choose the country. Play the whole software in a sphere, I don't know, won't it "eat" too much memory? I want to spend all memory available to show the more detailed maps possible (not to mention the statistical/economical/industrial/pollution/biodiversity data), without having to "pause" to load data sometimes - i.e. I want the application to be as smooth as possible. Also, I cannot count on end users having the best memory/graphical cards in the world, my purpose is education, thus it has to be available to the wider audience, including third-world public schools and government-funded "digital stations" (poor, slow and buggy as they are).

Thinking better, why not do both? :D
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
EricB
Gnome
Posts: 315
Joined: Fri Apr 09, 2010 5:28 am
Location: Florida
x 105
Contact:

Re: SimNation - the countries simulator

Post by EricB » Fri Sep 10, 2010 5:44 am

SimNation,

I started working on something very similar to this for my Automobile manufacturing game. However I have switched to a per city bases from a national one. Anyhoo If you ever need old data points such as population, per capita, and historical name changes & ownership from the early 1900s onward in xml format do send me a PM. I should be able to dig them one of my old HDD's somewheres.



look forward to your work.


*Edit*

As far as data, Might want to look into something like SQlite, It's been pretty fast for me in regards to loading and displaying information.
0 x
Image

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Download test version

Post by SimNation » Thu Sep 23, 2010 12:46 am

Hello fellows!

I've just put a new version to be downloaded and tested. :D

There's a 60 MB version (https://downloads.sourceforge.net/proje ... SN-0.5.zip - with city names) and a 40 MB version (https://downloads.sourceforge.net/proje ... N-0.5a.zip - without city names. In some areas of the so-called "under-developed world" it makes a huge difference).

Now you can:

- change the country (TAB key);
- see how vegetation was roughly in 1950 (according to some United Nations maps/tabs and some calculations by myself);
- return the vegetation to roughly 2000 (first travels in time back and forth are somewhat slow, once in cache it goes pretty fast);
- see population density, mean temperature and annual rainfall;
- see vegetation classes (simplified from a project called GLC2000) and;
- city/locality names (for all options except the first, press right mouse button).

Arrow/ASDW/PgUp/PgDown keys move the camera around; F key hides/shows the frames-per-second panel. G, R and T keys have the same function as in Ogre BaseApplication. IJKL changes the position of directional light.

*EDIT*
You may need to install Windows DirectX: http://download.microsoft.com/download/ ... redist.exe

There's a readme file too: https://downloads.sourceforge.net/proje ... readme.txt

Hope you like it, and help me to fill my bugs/to-do list. ;)

Known issues:
- countries that cross the 180º longitude (i.e. USA, Russia, New Zealand, Fiji) don't work... yet;
- the compass position is wrong in different screen resolutions, or if the user changes screen size, and is deformed when it turns in normal use;
- openGL don't work in my system;
- state borders (available only for a few countries) are visible even behind mountains;
- some memory leak when changing country;
- altitude measures incorrect;
- changing the directional light position (IJKL) won't change the mountains' shades position;
- some incongruencies between maps (e.g. Kashmir doesn't appear in India's vegetation map, but appears as an Indian state - so the lines float in the vacuum).
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

reptor
Ogre Magi
Posts: 1120
Joined: Wed Nov 15, 2006 7:41 pm
Location: Finland

Re: SimNation - the countries simulator

Post by reptor » Fri Sep 24, 2010 9:27 pm

It's an interesting application. I will check it out.

I was going to comment on the d3d DLL issue but you seem to have figured it out. It is indeed the redistributable which is the solution. Okay I will add some comments about that... :)

You can include the redistributable in an installer of your application and run it automatically. This requires administrator privileges.

You may also want to look at whether your application requires a Visual C++ redistributable. You may include that as well in an installer of your application and run it automatically.

If you include them and run them automatically then the user doesn't have to know what to do with them as long as he or she can provide the administrator privileges for the installer.

This will ensure that the users of your application will have the correct DirectX and Visual C++ libraries installed before they start your application.

Don't be intimidated by the size of the DirectX redistributable - it can be stripped down by quite a lot. In a project I have created the DirectX redistributable is 16.5 MB unpacked and I don't consider that too much. This size is with the core DirectX files and with the files that my application specifically needs. If you assume Windows XP Service Pack 2 or later then the size can come dramatically down from that because the SP2 includes DirectX and no installation of the core components is then necessary.

The redistributable is intended to be included in your application.

If you don't want to include it in your application's installer then you can point people to http://www.microsoft.com/directx/ so that they can use a web installer "DirectX End-User Runtime" which will only download missing files.

This is well-explained in the DirectX SDK documentation article "DirectX Installation for Game Developers".
0 x

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Fri Sep 24, 2010 11:47 pm

Thanks Reptor, I'll check that out!
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Tue Sep 28, 2010 4:19 am

Four more pics, now showing the cultivated area advance from 1950 to 2000, in São Paulo and the country's northeast. Ironically, "bela floresta" means "beautiful forest", and "boca da mata" means "mouth of the forest", which are no longer there, like most of them :(

Most of the Atlantic Forest was destroyed in only 50 years. It used to be as exuberant as the Amazon. The "mosaic: cultivated/trees/other natural vegetation" may mislead us to think that about half the forest is still there, but the remnants are actualy between 5 and 20% of the original cover. Official figures are 7% of the whole biome, most of it severely fragmented. Thousands of species are already lost, and the number increases year after year. Brazil simply ignores it has the world's greatest biodiversity, and destroys it to gain access to some cheap imports, as the world consumes cheap coffee, ethanol and sugar.

SP, 2000:
Image
SP, 1950:
Image
Northeast, 1950:
Image
Northeast, 2000:
Image
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Tue Mar 29, 2011 3:45 am

Hello people! I'm doing some progress, so I've decided to share it with you.

1. I've made a linux version in Ubuntu, but still I'm not sure how to distribute it. I would like to do that with the minimum required Ogre files, but I'm not sure what those are.
2. Now the country is divided into small regions (how many you want), and I'm beginning to calculate some statistics about it (like, how much cultivated areas determine population, etc).
3. I've got names in the screen: for each of the regions above it chooses the bigger locality inside the region for its name.
4. I've just found some good GIS data (http://www.naturalearthdata.com/downloads/), so the next version will have better quality data, including rivers and states for every countries.
5. I've changed the pink (cultivated areas) for white - it made things clearer, since the preserved areas are highlighted now.

I'm advancing fast recently. Hope to put a new test version soon. Thanks for the attention!

Image

Image
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
Slappy
Bronze Sponsor
Bronze Sponsor
Posts: 139
Joined: Fri Sep 28, 2007 8:30 pm
Location: Slovakia

Re: SimNation - the countries simulator

Post by Slappy » Tue Mar 29, 2011 8:46 am

Looks really interesting, I will definitely try it...
Good luck, is this an University project?
0 x
Cool looking Graphical Installers in NSIS and Inno Setup: http://www.graphical-installer.com - FREE for Ogre projects
I offer NSIS/Inno Setup scripting, C/C++/C#/Delphi programming: http://www.unsigned.sk
Develop NSIS/Inno Setup projects directly in Visual Studio 2005-2015: http://www.visual-installer.com/
or RAD Studio 2009-XE8: http://www.rad-installer.com/

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Fri Apr 01, 2011 1:53 pm

Hi Slappy, thanks! I'm just about to deliver the most complete version up to now, will update this soon!

Actually is a project for life. I decided doing it after graduating in biology and seeing the rate of deforestation in many areas in the world, so I decided there was some maths and publicity waiting to be done. ;)
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Tue Apr 12, 2011 9:02 am

a new HD youtube video :)

[youtube]P9IOxd3H4AM[/youtube]

How can I add the video in this frame, please? I tried youtube button with url, with new embed code, with old embed code....URL button, Flash button...
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

PeterWelzien
Gnoblar
Posts: 9
Joined: Tue Dec 21, 2010 6:26 pm
Location: Sweden

Re: SimNation - the countries simulator

Post by PeterWelzien » Tue Apr 12, 2011 10:16 am

Try using just the youtube id (P9IOxd3H4AM in your case).
0 x
/Peter Welzien

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Re: SimNation - the countries simulator

Post by jacmoe » Tue Apr 12, 2011 11:09 am

SimNation wrote:How can I add the video in this frame, please? I tried youtube button with url, with new embed code, with old embed code....URL button, Flash button...
Try and read the youtube button help hint.. :wink:
It's too simple.
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Tue Apr 12, 2011 11:39 am

Thanks guys. After you see the button has a hint, it's really simple. :)
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

FrozenLogic
Halfling
Posts: 42
Joined: Sun May 13, 2007 6:30 pm
Location: Sao Paulo, Brazil

Re: SimNation - the countries simulator

Post by FrozenLogic » Fri Apr 15, 2011 5:49 pm

This is awesome! Congrats! keep up this great work! :D
0 x

User avatar
Beauty
OGRE Community Helper
OGRE Community Helper
Posts: 767
Joined: Wed Oct 10, 2007 2:36 pm
Location: Germany
Contact:

Re: SimNation - the countries simulator

Post by Beauty » Sat Apr 16, 2011 4:27 pm

SimNation wrote:4. I've just found some good GIS data (http://www.naturalearthdata.com/downloads/), so the next version will have better quality data, including rivers and states for every countries.
Great note!!
I like to hear from this GIS database.
Two years ago I wasted much time to find out how to import GIS data to Ogre. Also it was difficult to find GIS data in the internet for my wanted area. (Here is the related forum topic.)

If you find a suitable way to integrate GIS data from this database to Ogre applications, it would be great if you publish some information or code about this.
0 x
Help to add information to the wiki. Also tiny edits will let it grow ... :idea:
Add your country to your profile ... it's interesting to know from where of the world you are.

User avatar
SimNation
Halfling
Posts: 67
Joined: Sun Dec 13, 2009 12:39 pm
Location: Paraíba, Brasil
Contact:

Re: SimNation - the countries simulator

Post by SimNation » Sat Apr 16, 2011 6:07 pm

Thanks FrozenLogic! Comments like yours give me strength (it's not easy to develop this all alone).

Hi Beauty! (Loved your pic, by the way hehehe)

I put here some code: http://www.ogre3d.org/forums/viewtopic.php?f=8&t=64039

Tell me if you have any problems running it.

Cheers!
0 x
"Thus without desire you can see its marvels, with desire you can only see its surface". - Dao De Jing

User avatar
Beauty
OGRE Community Helper
OGRE Community Helper
Posts: 767
Joined: Wed Oct 10, 2007 2:36 pm
Location: Germany
Contact:

Re: SimNation - the countries simulator

Post by Beauty » Thu Aug 25, 2011 8:59 pm

SimNation wrote:a new HD youtube video :)
Especially I like the background sounds.
Perhaps your girl friend takes a shower, then somebody is in the kitchen and a cock is singing.
Very funny. :D

SimNation wrote:I put here some code: http://www.ogre3d.org/forums/viewtopic.php?f=8&t=64039
Tell me if you have any problems running it.
Thanks for your offer!
0 x
Help to add information to the wiki. Also tiny edits will let it grow ... :idea:
Add your country to your profile ... it's interesting to know from where of the world you are.

Post Reply