For ages, I wanted to try out creating geometry from textures like in Homeworld 2's backgrounds (https://simonschreibt.de/gat/homeworld-2-backgrounds/), and after playing around with Python scripting in #Blender for a while, I got some kinda decent results.
From top to bottom: Original texture, polygonized version with vertex colors, wire frame.
Considering that the ~1.000.000 pixels become ~18.000 vertices, the quality isn't too bad...
1 Boost
0 Likes
The implementation is probably a bit more complicated than it needs to be: I get the most relevant pixels using the Ramer-Douglas-Peucker algorithm (https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm) both for lines and columns, to place the vertices, create the triangles using Delaunay triangulation and transfer the pixel colors to the vertices.
Ramer–Douglas–Peucker algorithm