d3d_set_projection_ortho(0,0,800,600,0)
d3d_set_fog(false, c_white, 600, 3000);
draw_self()
d3d_set_projection_perspective(0,0,800,600,0)
d3d_set_projection(obj_3Dstuff.x,obj_3Dstuff.y,obj_3Dstuff.z,obj_3Dstuff.x,obj_3Dstuff.y+100,0,0,0,1)