Not logged in, Join Here! or Log In Below:  
 
News Articles Search    
 


Submitted by Thibault Bernard, posted on September 03, 2002




Image Description, by Thibault Bernard



These are 2 pictures of Mars rendered with my "planet engine". The purpose of this engine is to be able to fly over the planet surface and also to go into orbit and see the whole planet from space.

Large scale (around 4km) features are produced with texture map and height map from the real planet. Small scale terrain is generated by fractal noise. A detail texture is used to prevent the terrain from looking too smooth when coming close to the surface.

To render the terrain efficiently, I use the technique of geomipmaps, which is much faster than the ROAM algorithm I implemented in an earlier version. Geomorphing is involved in order to prevent vertex popping.

The atmosphere is rendered using a haze - basically a ring around the silhouette of the planet - and a fog effect over the surface.

Geomorphing, fog and the usual T&L calculations are done by a vertex program. For the moment I use the NV_vertex_program but I'll switch to ARB_vertex_program as soon as nvidia's drivers supporting this extension are released, so that the engine could run on card other than the GeForce ones.

I'd like to credit "Bad Dog" (website) for the idea of using a cube map texture and Dave Hill (website) for the idea of using geomipmaps.

The work of Sean O'Neil (gamasutra article) and Jon Harrop were also helpful.

You can download "planet engine" at the following website: http://drtypo.free.fr

DrTypo


[prev]
Image of the Day Gallery
www.flipcode.com

[next]

 
Archive Notice: This content is archived, and commenting is no longer active. It is here for reference purposes. This content was added on an older version of flipcode, before the site closed in 2005.
 
 
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.