This invention discloses a method, electronic device, and storage medium for solving 3D panoramic
distortion. It addresses 3D panoramic
distortion by modifying the bowl model or adjusting the
OpenGL viewpoint parameters while keeping them constant. The method provides two approaches: modifying the bowl model or adjusting the
OpenGL viewpoint parameters. When modifying the bowl model, the model is changed in four areas: front, back, left, and right. Only the bowl model in areas with obstacles is modified, while other areas remain unchanged. Furthermore, the bowl model changes gradually to avoid abrupt changes and maintain display quality. When adjusting the
OpenGL viewpoint parameters, the original 3D panoramic viewpoint parameters are gradually shifted to point towards the obstacle closest to the vehicle. This method is simple to operate, effective, and suitable for industrial application.