First changes to draw a 3D object.