Search found 4 matches

by wollomat
2016-10-22T11:22:01-07:00
Forum: Users
Topic: Radial distortion - from screenshot to map
Replies: 7
Views: 2903

Re: Radial distortion - from screenshot to map

Allright, then I will have a look at Blender. I think my issue here is resolved, in case anyone wants to know what I did: convert map_source.png -distort Perspective "$(cut -d" " -f1,2,3,4 coords.txt)" map_dest.png with a file coords.txt in the following format: Xs Ys Xd Yd #description ...
by wollomat
2016-10-22T05:28:17-07:00
Forum: Users
Topic: Radial distortion - from screenshot to map
Replies: 7
Views: 2903

Re: Radial distortion - from screenshot to map

Off course you can see the distortion, look at the towers in the east, or the trees, which seem to point towards the origin. With 10 points, perspective distortion seems to work pretty smooth. However, the missing Z component seems to have an effect, as you can see in this plot. Is there a way, to ...
by wollomat
2016-10-22T04:34:20-07:00
Forum: Users
Topic: Radial distortion - from screenshot to map
Replies: 7
Views: 2903

Re: Radial distortion - from screenshot to map

Here's the map, an x marks the origin.
You might be right, and what I mean by radial distortion is an effect of the perspective. Maybe I have to try again with some more points, to avoid artefacts.

Image
by wollomat
2016-10-22T03:11:43-07:00
Forum: Users
Topic: Radial distortion - from screenshot to map
Replies: 7
Views: 2903

Radial distortion - from screenshot to map

Hi everybody! I currently create a map for a video game. I don't have access to a rendered map from the levelmesh, so I flew high above the map and took a screenshot. In the game, an arrow indicates, where the player currently is. The position is taken from the coordinates in the mesh, and thus only ...