When I am exporting 3D models, the textures are broken when saving e.g. 3D-tiles or .obj files. I have tried both to export the models as regular export, and by exporting LOD, with the same result.
In RC everything looks fine and this problem does not occur when exporting the model as .fbx.
When looking at the 3D-model I see that the broken shapes in the textures matches wierd shape patches inside the texture files at the corresponding locations. This makes me wonder if something is broken in how the textures are saved for some formats.
In the images you can see 3D-models imported to Unreal Engine, and it’s corresponding texture image.
As mentioned before, this does not happen when .fbx is used during export. I would like to be able to export 3D-tiles, but the textures unfortunately look terrible where different broken shapes pop up for different detail levels when looking at them in the Cesium plugin in Unreal.
Hello @LiU-AK
This is really strange. Can you show the models and textures also inside RealityCapture and the exported texture files?
Also, what are your export settings?
Have you provided some corrections over the exported models (like filling holes)?
Is it possible to share that project with us?
I made a minimal test case where I import the images, create a normal mesh and then just texture it.
The model inside RC is perfect, and the texture looks good. The models exported using .fbx looks exactly the same as the one in reality capture when importing it to Unreal Engine. I have been trying to export the model in different formats and different export parameters with mostly the same results, but none other than .fbx is correct.
I just now tried to export .obj as parts, and that seems to get correct textures but everytime I import obj in Unreal, some strange culling on alot of polygons is going on, which does not seem to be backface culling, but something else.
I took some screenshots of a roundabout in the model:
I did. I also used new game instances in Unreal Engine to import the models into. Have you tried the exports? If you do not experience this problem with e.g. obj-files, could you then point me to a simple “tutorial” that you have and have tested it on which could be downloaded so that I can try it myself to start debugging what the problem could be?
I do not think another 3D viewer will solve the problem as the errors in the textures correspond to how certain shapes look like in the texture files.
Thank you for testing. I tried the sample script and I get the same results as before, i.e. that the textures are off. I had version 1.4.1 so I removed RC and then downloaded and updated to 1.5.0 but without any changes to the results. I have wiped the cache but it did not help. After the update I saw that my settings seemed to be the same as before the reinstall. Is there way to completely restore RC to default settings?
This seems to be the settings relate issue, as we are not able to reproduce it.
There you can find how to reset RealityCapture: Reset RealityCapture
Can you also share the export settings you are using?
Sorry I had already reset RC to default settings and I did not save the project files. But I sent the model with textures. I am creating the model now with default settings.