quarree100 / qScope_frontend

Code for the projection of Q-Scope/CityScope@QUARREE100
0 stars 0 forks source link

low resolution of polygons and lines #27

Open dunland opened 2 years ago

dunland commented 2 years ago

The overall resolution of the image seems to be quite low; one can even see the pixels. Does this have to do with the distortion via cv2.perspectiveTransform? → could it be, that the image is actually displayed on a small area viewport.src_points = [[0, 0], [0, 100], [100, 100], [100, 0]] and then projected onto the whole screen? viewport.dst_points = [[80, 45], [80, 1035], [1840, 1035], [1840, 45]]

dunland commented 2 years ago

maybe fixable by setting the pygame polygon resolution or general antialiasing in pygame?