AminetAminet
Search:
84507 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/src/earth.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:OpenGL rotating globe
Author:walternn at rupert.informatik.uni-stuttgart.de (Norman Walter)
Uploader:walternn rupert informatik uni-stuttgart de (Norman Walter)
Type:dev/src
Requires:C Compiler (e.g. gcc), StormMesa
Architecture:m68k-amigaos
Date:2002-03-31
Download:http://aminet.net/dev/src/earth.lha - View contents
Readme:http://aminet.net/dev/src/earth.readme
Downloads:866

21st century and still satisfied with something like

#include <stdio.h>
main ()
{
  printf ("Hello World!\n");
}

as "Hello, World!" ?

No?

So try this!

What about saying hello to the whole damn planet?

This example source shows a textured and animated globe.
You can also activate linear filtering via pulldown menu for
smooth texture (you know this effect well, if you own a Nintendo 64 ;-) )

You can replace the texture "earth_small.rgb" by any SGI rgb texture
- for example a Mars or Venus texture or even a Boing-Ball ;-)

You can modify this source for any purpose.
Ideas:  Use a Moon-texture and add lighting for having a real-time rendered
moon-phase clock. Add names and coordinates of citys and have a 3D-Worldmap.
Implement a gravity routine and place satellites in the orbit.   

The executable included in this archive require 68030 cpu and 68881 fpu or
better.
A 68060 or PowerPC CPU and a fast 3D-accelerator is highly recommended.

Testet on Amiga 4000/30 with CyberVision64/3D,
AmigaOS 3.5, CyberGraphX 3, Warp3D 3.


Literature:

Brian W. Kernighan, Dennis M. Ritchie:
The C Programming Language

Andrew Koenig: 
C Traps and Pitfalls

Robert Sedgewick:
Algorithms in C

Mason Woo, Jackie Neider, Tom David, Dave Shriner, Tom Davis:
OpenGL 1.2 Programming Guide

Renate Kempf and Chris Frazier:
OpenGL Reference Manual

Mark Kilgar:
The OpenGL Utility Toolkit (GLUT) Programming Interface API



World Wide Web:

http://www.norman-interactive.com (my Homepage)

http://www.informatik.uni-stuttgart.de (University Stuttgart, Dept. of Computer
Science)

http://www.ninemoons.com (GeekGadgets)

http://www.haage-partner.com (Haage & Partner Homepage)

http://www.sgi.com (Silicon Graphics - Inventor of OpenGL)

http://www.OpenGL.org (OpenGL Homepage)


Contents of dev/src/earth.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                18047   37504  48.1% -lh5- bba2 Mar 25  2002 Earth/Earth
[generic]                 1492    3664  40.7% -lh5- 5dda Mar 25  2002 Earth/Earth.c
[generic]                  465     842  55.2% -lh5- 17eb Mar 25  2002 Earth/Earth.c.info
[generic]                 2765    3219  85.9% -lh5- 399d Mar 25  2002 Earth/Earth.info
[generic]                 1136    2006  56.6% -lh5- 49d9 Mar 25  2002 Earth/EARTH.readme
[generic]               155777  195916  79.5% -lh5- 9233 Mar 22  2002 Earth/EARTH_small.RGB
[generic]                 2207    7837  28.2% -lh5- 8606 Mar 22  2002 Earth/readtex.c
[generic]                  457     836  54.7% -lh5- 810c Mar 25  2002 Earth/readtex.c.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files  182346  251824  72.4%            Mar 31  2002

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>