Windev Earth is a demo based on the GDImage graphic control.

In order to use this demo you must have an OpenGL compatible graphic card (see the combo above).
The graphic control displays an animated planet over a static stellar background, using smooth shading to enhance the 3D effect.
The use of polar coordinates allows you to rotate the planet on itself. The provided source code shows you, how to call both the OpenGL and the Windows API from the w-language. Because you can not control directly the message pump in w-language, the demo emulates the GetMessage/PeekMessage loop with a pool of TymerSys procedures to perform real time animation.