How are those odm_textured_model_material images generated?

From @hs5530hs on Wed Aug 02 2017 09:51:31 GMT+0000 (UTC)

I studied the code in the odm_texturing part, I found the picture output result should be texture_*.png and the patches in the picture are arranged in rectangle, but I found the real picture output result in ubuntu are odm_textured_model_material***_map_kd.png** and the patches arrangement are irregular. I checked the code in others part but still can’t find the reasons, can anybody explain it to me? Thanks!

Copied from original issue:

From @dakotabenjamin on Wed Aug 02 2017 13:25:42 GMT+0000 (UTC)

we pull this code in: have you looked at that?

The textures are used to cover a polygonal model, so they conform to patches made of triangles rather than the original images (which are combined to produce each texture) or final output. The .obj and associated .mtl files are in the Wavefront .obj file format. Use something like meshlab to have a look around – it can also show you the boundaries of each texture patch (look for the “Texture Border” toggle in the layer panel). The Wavefront format is all plain text so easy to look around there as well.

All of this is an intermediate step to account for 3D perspective. The final orthoimage (probably what you’re looking for) is essentially generated by rendering a view “straight down” onto that model.

1 Like