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

KeyError: 'KHR_draco_mesh_compression' #19

Open
Piminski opened this issue Jul 24, 2024 · 11 comments
Open

KeyError: 'KHR_draco_mesh_compression' #19

Piminski opened this issue Jul 24, 2024 · 11 comments

Comments

@Piminski
Copy link

I am getting this error when increasing the min dist and max mesh.

The same coordinates worked with 500 min dist and 5000 max mesh. When I increased to 1500 min dist and 15000 max mesh I get this error.

Error
Invalid source /obj/geo1/EarthMesh1/Glb.
(Error: Python error: Traceback (most recent call last):
File "", line 66, in
KeyError: 'KHR_draco_mesh_compression'
).

I am using @joreeves implementation

@xjorma
Copy link
Owner

xjorma commented Jul 24, 2024 via email

@Piminski
Copy link
Author

Here are the setting that create the error:

lat: 34.067054
lon: -118.389711

min error:2
mar error:100000
mindist: 1500
maxdist:2e+06

max mesh: 15000

@xjorma
Copy link
Owner

xjorma commented Jul 24, 2024 via email

@Piminski
Copy link
Author

I think maybe I am pushing the process a bit too hard :). It may be some memory or buffer issues.

@xjorma
Copy link
Owner

xjorma commented Jul 24, 2024 via email

@Piminski
Copy link
Author

Oh I see.

I understand its a long process, thank you for looking into it.

@xjorma
Copy link
Owner

xjorma commented Jul 24, 2024

Temp fix seems to work, It's a long process but houdini handle the charge pretty well.
I will submit a fix very soon. But on my version, I will take a look on the @joreeves pull request just after.
image

@xjorma
Copy link
Owner

xjorma commented Jul 24, 2024

@Piminski let me know if it works for you.

@Piminski
Copy link
Author

OK, thank you! thats awesome. Will take me some time (a couple hours) until I can check on my end.

@Piminski
Copy link
Author

Piminski commented Jul 25, 2024

@xjorma , I tested your updated HDA in Houdini 20.5. The geometry loads but for some reason I cannot see the texture, not even the mesh (only visible as wireframe and points). I changed the display settings as per the readme but there is some issue. I also tested importing the default settings on the HDA and it had the same issue. This is the first time I use Earthmesh in 20.5 so it may be some new setting I need to change...

I will now check in 20.0.

This screenshot shows the default (your base settings) mesh as it appears with "Flat wire shaded" viewport:

Screenshot 2024-07-25 142657

@xjorma
Copy link
Owner

xjorma commented Jul 25, 2024 via email

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

2 participants