Skip to content

Generated Geometry

Simon Jackson edited this page Sep 1, 2016 · 7 revisions

#Generated Geometry#

Area Games: 3D Graphics, Games: Content Pipeline, Games: Graphics, Games: Shaders Submitted 2/19/2007 Code Sample


Description:

This sample shows how 3D models can be generated by code during the XNA Content Pipeline build process.

Sample Overview

The sample renders a simple terrain with a sky behind it. The input data consists entirely of textures: a height-field bitmap describing the terrain, and a sky bitmap. Custom content pipeline processors convert the height-field bitmap into geometry, and generate a skydome mesh for rendering the sky texture.

All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

XNA_GeneratedGeometry_01_small.jpgXNA_GeneratedGeometry_02_small.jpg

downloads

GeneratedGeometrySample_4_0.zip

Size: 2.40MB

Source code and assets for the Generated Geometry Sample (XNA Game Studio 4.0).

Clone this wiki locally