Category Archive: XNA Samples

Feb 12 2013

Generating Planets – Part Two – Terrain


So, in the previous post we generated our sphere, and in this post we are going to turn our smooth sphere into a planet with terrain. I am going to assume you already have a basic understanding of how fractal terrain generation works on a square grid, but if not you should first read this …

Continue reading »

Aug 20 2011

XNA 4 Console Available!

My XNA 4 Console Developer console is now available for download! More details on its use here. The console focuses on allowing you to write to it, rather than sending input to it, but the latter may be added in time.

Aug 15 2011

XNA Developer Console

Today I have been working on a Dev Console, similar in function to the native Console class, except that it is inside the game instead of in cmd. I want to make the class completely self contained so it can be easily dropped into any project. Once complete, which shouldn’t take longer than another day, …

Continue reading »

Aug 14 2011

C# – Listing enumerations with their properties

A small supplementary post about how to list every element of an enumeration alongside a property derived from a method that uses the element. I encountered this problem when wanting to list the various biomes in my World Generation project alongside the color they were represented by on the terrain. The first step was to …

Continue reading »

May 23 2011

A Marching Cubes Voxel Renderer

I created this a few weeks ago, when experimenting with the technology to use for my new project, although I eventually decided against it, for reasons I will detail below. It is a voxel renderer, which essentially means it creates a environment from a 3 dimensional grid of density values, it does so using a …

Continue reading »