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

3D model converted in nxz can't be seen in 3DHop #1276

Open
virgilejarrige opened this issue Jul 18, 2022 · 5 comments
Open

3D model converted in nxz can't be seen in 3DHop #1276

virgilejarrige opened this issue Jul 18, 2022 · 5 comments
Assignees

Comments

@virgilejarrige
Copy link

virgilejarrige commented Jul 18, 2022

Hi there,

I hope you are doing ok!

We're having two issues with a 3D model from a researcher:

Could you have a look at them?

Many thanks in advance.

Take care,

Virgile

@alemuntoni
Copy link
Member

@ponchio could you take a look at this? Thanks!

@virgilejarrige
Copy link
Author

Hi there!
Any news on my issue?

@ponchio
Copy link
Contributor

ponchio commented Sep 26, 2022

Hi Virgile, sorry I lost track of this issue...

I had a look at the model, and I got no problem using 3dhop (wrong path in 3dhop configuration?), if you can either send me a public link or a folder with yours 3dhop folder I can detect the issue.

The problem with geolocalization is that UTM coords are in the millions (4000000), nexus, meshlab and most importantly the graphic cards use 32 bit floating point to store coords.
Floating point shave 24 bit for mantissa which means the the precision you reach in the 4 millions range is about half a meter.

Nexus detects this issue and allows you to move the model in the vicinity of the origin (0, 0), rendering is then correct.

If you want to render this object in some georeferenced system, it should be possible to define the origin of the model in geographic coordinates and display the object in the correct location (Nexus writes an xml files containing the translation info).

If instead you want to render multiple georeference datasets in 3dhop, just apply the same translations to all the objects (and their relative position will be ok).

@virgilejarrige
Copy link
Author

No worries! Thank you for your precise answer.

I finally caught the researcher and we found how to move the origin point. It opens correctly in Meshlab, but we still don't see it in our 3DHop.

Here is the link to the model, using 3DHop : https://pount-pprd.app.unistra.fr/p/items/31700c81-88ad-49b4-952b-75c7859b629b
you can download the nxz from this page.

Take care

@ponchio
Copy link
Contributor

ponchio commented Nov 25, 2022

There is a problem with the nxz model: the one of the textures has 0 byte size, and the code fails to retrieve a zero length range request (you can't really specify a 0-byte range request).

I suspect the problem is in the nxsbuilder process. Would you send me the .ply (or .obj) that i can investigate the issue?

Thanks.

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

No branches or pull requests

3 participants