-
Notifications
You must be signed in to change notification settings - Fork 273
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
md5 parsing problem #65
Comments
I solved this problem by following method.
http://volzh.springnote.com/pages/8209962/attachments/5341894?download=true |
Which exporter script / plugin did you use? There are a few out there and they support different features. Was it an editable mesh? What modifiers are on its stack? Best regards. |
I'll have a look at this, but we might end up just leaving it and requiring users to do the workaround suggested above. |
I've spent a couple of hours investigating this issue, and although I greatly appreciate the two examples files, I haven't been able to find the issue with the broken one. @DerSchmale Please have a look and see if you can spot anything obviously wrong with the broken file. I have come as far as to conclude that it's related to the animation/binding, because if I comment out the
If you feel that this is not worth further effort, seeing as how there is a working workaround explained in a comment above, please just close the issue. |
I did some investigating, turns out the error is because some programmes don't output sanitized data. According to the following spec (http://tfc.duke.free.fr/coding/md5-specs-en.html), weights are in the half-open range (0, 1.0] - so 0.0 weights are impossible - which makes sense as they'd only add calculations and not affect the result. The spec is not exactly official - but looking at the Doom3 models, I'm assuming that was the original idea. I usually hate to cater to broken data outputs, but we may have to make an exception for this one. |
Got it! Nice work. Seems to be easy enough to just skip those, right? Either during parsing, or during translation. I'll leave it to you to sort it out and close this ticket then. :) |
Jupp, I'm always telling my artist coworkers to use the "Remove zero weights" button before exporting. :) |
I have a md5mesh file that represents a human charactor.
When it's rendered by away3d, it's broken.
but with any other viewer supports md5 type, it's fine.
Here is the md5mesh file i used.
It's exported by 3dsmax 2010 with md5 exporter plugin.
http://volzh.springnote.com/pages/8209962/attachments/5331290?download=true
The text was updated successfully, but these errors were encountered: