Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textured .obj generated from texrecon is not able to be viewed in Xcode Swift #198

Open
higurekon opened this issue Aug 10, 2022 · 0 comments

Comments

@higurekon
Copy link

Hello, has anyone else had a use case like this?

I have an issue with the .obj file that I generate using the texrecon function call. When I am trying to view the textured model in Swift, using the following code:

let scene = SCNScene(named: "HeadModel3D.obj")
self.sceneView.scene = scene

The issue is nothing ends up being displayed in the preview window. There is no indication the model is present. This doesn't happen with other textured .obj files I try to use online; those ones work just fine and display with the color textures successfully. I was wondering if there was a specific setting about the .objs generated with MVS Texturing that makes it not work.

Below are the parameters I passed to texrecon.

'--outlier_removal=gauss_damping'
'--tone_mapping=none'
'--data_term=gmi'
'--no_intermediate_results'
'-Seye_mask'
'-Veye_mask/views_per_segment.json'
'extracted_highres_kfs/normalized_calibration.json'
'fused_point_cloud_normals_meshed_smoothed.ply'
'dense_reconstructions/HeadModel3D'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant