pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
World

World - 1.0.0

Ian Mallett (geometrian)

Tags:

Description

A visualizer for geographic locations,

Controls are the mouse.

To plot a point, open "data/PointList.txt" and enter in a longitude and latitude (following the example).

Links

Home Page: http://www.geometrian.com/programming/projects/index.php?project=3D%20World
Source: http://www.geometrian.com/data/programming/projects/3D%20World/1.0.0/World.zip

Screenshot


click to view original size

Releases

World - 2.0.2 - Dec 20, 2012
World - 2.0.1 - Dec 20, 2012
World - 2.0.0 - Dec 19, 2012
World - 1.0.0 - Aug 11, 2007

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

December 21, 2012 7:20pm - Ian Mallett - nickname: (geometrian)
Version 2.0.2 released! Same deal.
December 20, 2012 4:16pm - Ian Mallett - nickname: (geometrian)
Version 2.0.1 released! Adds a minor fix to make it forward compatible with Python 3.*
December 19, 2012 1:59am - Ian Mallett - nickname: (geometrian)
Version 2.0.0 released! This should fix all bugs I am aware of, seeing as it is a complete rewrite.
July 12, 2008 12:21am - Ian Mallett - nickname: (geometrian)
Make sure you have PyOpenGL, and I would also recommend using python 2.5. Hardware might also be insufficient. If you then get a texturing error, the FAQ at the bottom of this page: http://geometrian.com/PyOpenGLInfo.php may be of use. You can also contact me through the message board on my website or by email.
March 5, 2008 4:28pm - Alfonso E.M. - nickname: (alfem)
I'd like to use an earth rotating in a future game, but when I run World, I just get this error:
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)
OpenGL.GL.GLerror: [Errno 1281] invalid value

I'm using python 2.4 on Guadalinex (ubuntu derivative)

Any clues ?
January 22, 2008 12:05am - Ian Mallett - nickname: (geometrian)
Found a really big texture--something like 86400x43200. Naturally, OpenGL can't handle it. Pygame can't either. I think I don't have enough memory--RAM or video. I have no idea. Apparently, the image would have to be loaded and unloaded in parts.
August 29, 2007 11:21pm - Ian Mallett - nickname: (geometrian)
The ideal solution would be to get high res. satellite photos and bundle them with the thing. Then it could switch to higher and higher resolutions in specific places the closer you are. Anyway, it's just a visualizer, so the zoom functions aren't actually necessary. For anything else -- USE GOOGLE EARTH! Even cutting edge gfx cards can't handle 50000x50000 which would be a minimum for decent res.
August 16, 2007 12:15pm - Ian Mallett - nickname: (geometrian)
Here's one that's double the size, (4000x2000).
http://flatplanet.sourceforge.net/maps/images/earthmap_hires.jpg
It works on my machine, but there is a finite limit to texture sizes, so it may not run.
August 12, 2007 5:31pm - Ian Mallett - nickname: (geometrian)
Thanks, I think it was this one:
http://nssdc.gsfc.nasa.gov/planetary/image/earth_day.jpg
I wanted a higher resolution, but that was the largest I could find online.
August 12, 2007 5:12pm - Bo Jangeborg - nickname: (bo) - 4/5
Tried renaming the openGl map first time to get past it but it didnt work then, but I now tried it again and things worked ....
It looks real nice btw.
Were did you get the map ? I am looking for a realistic map but more detailed over Europe.
August 12, 2007 10:40am - Ian Mallett - nickname: (geometrian)
You have python 2.5, don't you? I really should update that. A magic number happens when a .pyc file is made using a different version of python than the one you have. Unfortunately, I only have OpenGL for 2.4. If you have OpenGL for 2.5, you can delete the OpenGL directory and it should work...
August 12, 2007 5:42am - Bo Jangeborg - nickname: (bo)
I get the following when I try to run it:

Traceback (most recent call last):
File "D:\Projects others\World\ChessClubWorld.py", line 2, in <module>
from OpenGL.GL import *
ImportError: Bad magic number in D:\Projects others\World\OpenGL\__init__.pyc
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

Aug 2, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)