Perspective in architecture and painting