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 face the user and are also drawn from back to front so that the transparency remains correct.

You might be interested in …

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 […]

Read More

2D Contouring and Color Maps

The purpose of this project was to visualize how Mount St. Helens was changed by the eruption of 5/18/80. I used Historic Digital Elevation Models (DEM) from the United States Geological Survey website. The terrains have a color map to show the elevations and also has 2D contours at proper elevations to highlight distinct heights. The terrains […]

Read More

Ray Tracer

Ray tracer scene containing a sphere and a triangle. Implemented simple phong lighting (ambient, diffuse, specular model) and also casts shadows.

Read More