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

Reject meshes with vertices whose unaggregated weights sum to more than 4 #19

Open
io7m opened this issue Jan 21, 2017 · 1 comment
Open

Comments

@io7m
Copy link
Owner

io7m commented Jan 21, 2017

If a given vertex has large weight values for a large number (> 4) of bones, then the jcalcium compiler is going to pick the largest four and ignore the rest, even though by definition the contributions from the other bones are not insignificant. This could be surprising as the mesh deformations produced at run-time by jcalcium are clearly not going to match whatever came out of an authoring program such as Blender.

This sort of thing should be caught as early as possible, and so compilation should fail when this situation is detected.

@io7m
Copy link
Owner Author

io7m commented Jan 27, 2017

Blender seems to be doing some sort of normalization internally. Need to find out exactly what!

@io7m io7m added this to the 0.1.0 milestone Jan 29, 2017
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

1 participant