Analytics

06 April, 2011

Quartz Composer Voxel Terrain Test

A small "landscape" to test performance of voxel for a terrain project. The main test field is composed of cubes that have been iterated on a grid 300 times. That adds up to 90000(!) instances. Rendering time in Quartz Composer is about 7 seconds. Switching to a simple sprite instead of 3d cubes shaves off about 2 seconds to the rendering time.

The shape of the landscape is directed by an iterator, different interpolation methods result in different shapes. Additional complexity can be obtained by linking some of the parameters of the interpolator to another interpolator.