A three-dimensional medieval castle