3D cube rendering