Tuesday, October 16, 2007

Planets in OpenGL

Some new code, demonstrating spheres the large one, the Sun and the small one a planet.

Developed in OpenGL and GLUT with C. I modified the #include to accommodate Linux and Mac, this should compile on Win32 (Windows) systems.

I built this as a C++ tool, with Xcode and included the OpenGL and GLUT frameworks. I really like developing on my Mac, I can prototype code quickly and port it to other devices, including PCs and even embedded Linux devices, particularly cellular platforms.

Custom OpenGL games are certainly possible on advanced cell phones, units like Nokia's N93 & N95.

J2ME, is our current development platform for mass-production of OpenGL code ported from our C code.

Here is the source from our demo session.

No comments: