Agisoft Metashape

Agisoft Metashape => General => Topic started by: gaetan73 on December 06, 2017, 11:14:42 AM

Title: Problem texture
Post by: gaetan73 on December 06, 2017, 11:14:42 AM
Hello everyone,

I'm having a problem with texturing a 3D mesh.
I realized an acquisition with a static Lidar + 360 ° views.
I loaded the Lidar dot cloud in .ply that I meshed.
The photographic stations are georeferenced and position themselves well in relation to the Lidar point cloud.
When I calculate the texture from the 360 ° images I get a white template (in Photoscan 1.4), see attachment.

Do you have an idea for the problem?
Thank you very much.
Title: Re: Problem texture
Post by: Alexey Pasumansky on December 06, 2017, 12:05:15 PM
Hello gaetan73,

Can you please also post the screenshot of the mesh in Solid view and the texture parametrization from View Mesh UVs dialog?
Title: Re: Problem texture
Post by: gaetan73 on December 06, 2017, 01:20:20 PM
Thank you for your reply.
This is the solid mesh...
Title: Re: Problem texture
Post by: Alexey Pasumansky on December 06, 2017, 01:22:36 PM
Hello gaetan73,

Looks like the normals are inverted. Can you try to use Invert Normals option in the Tools menu -> Dense cloud section and then rebuild the mesh and texture?
Title: Re: Problem texture
Post by: gaetan73 on December 06, 2017, 01:23:46 PM
Ok thanks
Title: Re: Problem texture
Post by: gaetan73 on December 06, 2017, 01:29:47 PM
I'm sorry I can't find the tool...
Title: Re: Problem texture
Post by: Alexey Pasumansky on December 06, 2017, 01:43:58 PM
Hello gaetan73,

I thought that you are using version 1.4.0 pre-release and have imported the dense cloud.

You can do that in the version 1.3.4 for mesh using the following Python code:
Code: [Select]
import PhotoScan
chunk = PhotoScan.app.document.chunk
for face in chunk.model.faces:
    face.vertices = (face.vertices[0], face.vertices[2], face.vertices[1])
Then you may need to switch to another view mode (sparse cloud, for example) and switch back to solid view.
Title: Re: Problem texture
Post by: gaetan73 on December 06, 2017, 02:17:57 PM
It works very well thank you very much