Texture Mapping

Texture mapped a 4-sided room such that one wall has front-side culling applied. The floor is texture mapped using a checkerboard image and also feature mip mapping. The walls of the room are a repeated brick texture. There is a floating sphere in the center of the room texture mapped with the image of the earth. There is a control feature which “dissolves” the earth image into an image of my face. The “dissolve” is controlled using a set of interface controls which starts/stops/resets and varies the speed of the dissolve. Also included is a lightmap with multi-texturing for the floor. The lightmap only lights a small spot on the floor and acts like a “flashlight”. The interface controls also provides 4 main modes of texturing: modulate, replace, blend, and decal which is applied to the earth texture. Lastly, there is a reflective or environment mapped sphere in the scene which was created using a cube map.

You might be interested in …

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

Bump Mapped Swimming Fish

The scene contains a bump-mapped floor and a bump-mapped swimming fish. The fish is a cylinder which has been warped using a vertex program. The “wriggles” of the fish body are simulated using a sin wave which starts from the fish midline towards the tail. This animation is controlled using an interface which allows the […]

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