Preparing the 3D world.