1
Python and Java API / Re: Export normal map from Python
« on: May 22, 2020, 04:31:59 PM »
But Model.setActiveTexture() takes a texture as input parameter... I don't have that texture yet.
Besides, after running these two lines:
chunk.buildTexture(texture_size=4096, texture_type=Metashape.Model.DiffuseMap)
chunk.buildTexture(texture_size=4096, texture_type=Metashape.Model.NormalMap)
the size of the array chunk.model.textures is still 1, so something is not clear here.
Besides, after running these two lines:
chunk.buildTexture(texture_size=4096, texture_type=Metashape.Model.DiffuseMap)
chunk.buildTexture(texture_size=4096, texture_type=Metashape.Model.NormalMap)
the size of the array chunk.model.textures is still 1, so something is not clear here.