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

"CAUGHT TypeError: Cannot read property 'colour' of undefined" #26

Closed
pokewillpower opened this issue Feb 24, 2022 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@pokewillpower
Copy link

Receiving this error when attempting to voxelize a model. Not entirely sure if this is a bug or user error. Is there a workaround?

error

@LucasDower
Copy link
Owner

Uh oh, that's a bug. Thanks for reporting it.

Are you using a release version or are you using git? If you're able to send the .obj and .mtl file you're using I'll be able to fix it quickly.

Cheers

@LucasDower LucasDower added the bug Something isn't working label Feb 24, 2022
@pokewillpower
Copy link
Author

Uh oh, that's a bug. Thanks for reporting it.

Are you using a release version or are you using git? If you're able to send the .obj and .mtl file you're using I'll be able to fix it quickly.

Cheers

Using the git. Here are the files I was using to test this issue.
Colored Model Test.zip

I've found two other unrelated issues as well, would you like me to open separate issues for them? I've found I can get models whose .mtl references no texture images working just fine, but when attempting to voxelize at a scale I want to use the program hangs and gives this error before the rendering crashes completely.
error2

In addition, I attempted to use the same model you used as an example in the wiki at https://sketchfab.com/3d-models/homo-erectus-georgicus-438a06818f954f8191da677303ac7987 but in doing so the program renders it all garbled up.

Nevertheless, thank you for this program. I hope everything can get ironed out so it's usable soon!

@LucasDower
Copy link
Owner

Just committed the fix, should be good now. Thanks for the report again. If you encounter any other issues don't hesitate to let me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants