3d shape example working