The question is answered
texture composed by photos is not displayed
Hello, I have a problem with the recognition of a mesh texture. I will add a mesh created with the Program PhotoScan. This program creates the texture of the object using numerous photos of the real object. The program creates the texture by overlaying images and extracting the common points, the RESULT is a realistic 3D. However , when I insert the file (.fbx) within the scene, the texture is not displayed. But, within the hierarchy, I can see that the model is divided in more mesh (one because of the high number of triangles) and also are shown all file names of the pictures, but what do not appear in the scene. All photos have, however, the coordinates visible in the inspector; clicking on the picture you can find the point within the mesh, but the photo is not displayed. If for example I put the FBX file within a modeling program likes Blender, I can see the texture. So I would ask if there is a chance to see the texture also in Unity. Thanks a lot.
The problem is located in Photoscan itself. The software is unable to export texture that is readable by Unity directly.
This is easily solved by using 3rd party software "Autodesk Remake" ($$anonymous$$emento's rework) Just import the textured .obj or other format from photoscan into remake. Next, export to fbx files and rebake the texture (Fig. Below). Remake will export the texture as a proper Unity material.
Greetings from Saiga!
Answer by Le-Pampelmuse · Nov 24, 2015 at 08:36 AM
You have to check if the source program exports the materials as well. Also if Unity imports them too.
You can do so by viewing the source fbx in the inspector:
Like you said, Blender for example does this.
If it can't do that, you can import all your images into Unity and assign the right ones to the right mesh.
This might be very very annyoing but something else is not possible.
Looking at your screenshot, the program exports every picture as a new object, which would be very annoying if you had to assign each picture by hand again.
Check the source program for any settings regarding that.
Hope this helps.
PhotoScan export the file accompanied by photos. I tried to create a folder of the materials entering the photos but are not recognized by unity. The caption [$$anonymous$$aterialName] can mean something? associate the photo to each mesh is not possible unfortunately because PhotoScan associates to a wall more photos by finding the common ground, then I would not know which photos to be associated with each mesh. I think it's just a matter of recognition by the photos as you say you are, then what 's the error? captions, folder location? these things can hit? thanks for your reply and for your help!
You know what? I don't want to talk about things I have no experience on. I'm going to download photoscan and try it myself. I'll check back when I'm done.
Edit: I'm getting the result that it imports a mesh I created inside PhotoScan, but all the photos are just referenced and don't contain any data expect the position and the name of the file. Just like your problem.
It seems it is not possible to get the photos as actual mesh that can be seen into an fbx.
The program itself has a very strange and non-intuitive interface. It took me way too long to figure it out.
you were really kind, I would have spent my files. if you want we can still. but I think I understand that I have no hope! Thank you so much!!!!
No problem! :) Let's hope you can get the result in some other way.
PS: I've converted your answer to a comment.
There need to be more people like you here, I don't think many people would actually download and install a program a person has trouble with ;)