Настроение: | amused |
Entry tags: | gamedev |
Mesh Unwrapping
Apparently the technical term for UV generation is "surface mesh parameterization".
And there is some code stolen from Inria's OpenNL, which for some reason was taken offline:
https://github.com/CGAL/cgal/blob/master/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/lscm.cpp
No idea what was the OpenNL license, but I don't plan open sourcing my code, so I can just take anything, without caring about the license. And after it gets compiled it is impossible to prove the source code theft, unless the algorithm itself is patented. Then again, 3DCoat uses this exact algorithm, and I doubt Ukrainians license anything beside Russian gas. The hardest part is downloading that repository on my unstable connection, and then isolating the algorithm from this stinking garbage pile.