Reverted normals

Hello everyone,
In the meshes that we export from RC, we have noticed some faces with reversed normals.
This is causing issues in the processes that happen afterwards.

Can you explain us why this is happening? Also, it looks like that these faces are overlapping other triangles. Do you know why?

Thank you and have a good day!



Hey Daniele!

Before export try to run the Check Topology and Clean Model commands from the MESH MODEL tab. Let me know if this helps.

Best regards,
Jakub

Thank you for your answer, Jakub. It seems to improves the problem slightly. If you have any other recommendations, please feel free to share them.

Also, we can’t find “check topology” in the list of all cli commands. RC help says it’s a ‘tool’.
Do you know whether tools have their own commands? And is it possible to call it from a script?

Thank you,
Best.

Or is “check topology” simply a tool to inform the user without actually modifying anything in the model?
Thanks

Exactly as you wrote, check topology is just to inform the user. There isn’t a CLI command it. Would it be desirable for you?

In a script it will suffice to use -cleanModel.

Hi Jakub,
I’m running this script for testing the -CleanModel command, but after the CleanModel part is done, it doesn’t export anything.
It happens also with other scripts / projects. Do you know anything about it?

Thank you in advance for your support!

Hi Daniele,
I checked it like this and it worked:

"C:\Program Files\Capturing Reality\RealityCapture\RealityCapture.exe" ^
-load "%~dp0Test.rcproj" ^
-setReconstructionRegion "%~dp0Test.rcbox" ^
-calculateNormalModel ^
-simplify ^
-selectModel "Model 2" ^
-unwrap ^
-calculateTexture ^
-cleanModel ^
-exportSelectedModel "%~dp0Test.obj" ^

Maybe you have some problem with the XML file.