A simple demo to draw 3D objects pixel by pixel