Multi-Resolution 3D View

3D terrain visualization program which loads a terrain map file containing unsigned chars. The terrain switches to a half resolution version based on the distance from the viewer. The boundaries between the full and half resolution terrain are “stitched” so that no “holes” are visible in the terrain. The user may navigate through the scene using keyboard and mouse input.

You might be interested in …

Shadow Algorithms

The scene contains a 4-sided room that are light-colored blue. Within this scene are various objects included a texture-mapped sphere and several stacked objects. There are 3 different shadow algorithms being used: projective shadows, shadow volumes, and shadow maps. Projective shadows from objects will only cast shadows on the floor and room, but not on […]

Read More

Procedurally Generated Terrain

The ground is procedurally generated using a random midpoint method and smoothed using a neighborhood smoothing filter. The trees were generated by different procedural rules. The scene uses OpenGL material and lighting.

Read More

Procedural Textures

The terrain was created using the same method as the “Procedurally Generated Terrain” project. The procedural texture is based on a noise algorithm. The trees are a texture-mapped image of a tree onto a rectangle. The alpha channels of the tree are transparent. The trees have billboarding apply so that the tree rectangles turn to […]

Read More