hash_bucket()

Archive for the ‘OpenGL’ Category

Using 3 dimensional mid-point displacement (diamond-square) to create asteroids out of spheres:

astsu4it1000el26

Subdivisions: 4
Elevation: 26
Iterations: 1000

astsu4it500el26

Subdivisions: 4
Elevation: 26
Iterations: 500

astsu4it500el63

Subdivisions: 4
Elevation: 63
Iterations: 500

Midpoint displacement can be slow depending on the resolution(subdiv) and the number of iterations, but for the quick generation of low-poly asteroid shapes it is an easy to implement, viable model. :)

Update:

planet

Of course planets are possible too, but they require a much higher degree of detail…

Advertisements

.

This blog has no clear focus. It has a focus though, it's just not very clear at the moment...

Dev Env.

Visual Studio 2008 Prof / NUnit / Gallio / csUnit / STools (ExactMagic) / doxygen / dxCore / TypeMock / TestDriven.net / SequenceViz / CLRProfiler / Snoop / Reflector / Mole / FxCop / Subversion / TortoiseSVN / SlikSVN / CruiseControl.net / msbuild / nant

Blog Stats

  • 81,503 hits