-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Odd Texture Issue in r72 #7197
Comments
Is it a problem with the model or the texture? Have you tried with a non-dds texture instead? |
I will give it a shot when I get home from work. Interesting to test, though in production not using a compressed texture is not really an option. |
Something I've just tried... I've tried loading the model in the editor and use a random texture in the
Did you updated the |
I am using this loader in the fiddle: https://rawgit.com/mrdoob/three.js/dev/examples/js/loaders/DDSLoader.js |
Ah, true. |
This issue does not exist with skinning disabled. http://jsfiddle.net/titansoftime/53rqpdfv/ Just like #7111. Hmm... |
Updated links to use http://jsfiddle.net/pawthzr8/2/ |
@mrdoob Do you have any idea what caused this bug? All I know (thanks to the observation of @arose) is that this issue only affects a material with skinning enabled. Please whoever broke this, take a look at it. I don't even know where to begin, not to mention r72 has a billion commits. Can we at least get a bug label on this? |
@titansoftime have you tried updating the code to the new animation system? |
I have and unfortunately the issue remains (74dev). It's been a little while so I'd like to reiterate that setting material.skinning to false "fixes" this and #7111. |
Do you mind updating the jsfiddles to r74dev? 😇 |
Here you are: http://jsfiddle.net/eo0hpjk5/ Old expected behaviour (r71): http://jsfiddle.net/fnanr01f/ I updated the fiddles for #7111 as well. |
Can you reduce your model to just the flag? Or better yet, reproduce the issue with a single quad? |
Unfortunately no. I am not an animator or a modeler. I paid for all my models / animations. |
If you don't convert to |
My bet is that SkinnedMesh.normalizeSkinWeights() expects |
Looks much better if weights are normalized prior to converting to r.74dev: http://jsfiddle.net/eo0hpjk5/2/ However, now notice that there are slight differences in the animations between versions. |
Closing due to the cause of issue being on track to be fixed in #7111. |
I'm not really sure what's going on here, but you can see in this fiddle:
http://jsfiddle.net/titansoftime/pawthzr8/
that the texture is a little distorted. This is the only one (that I know of) out of several hundred of our models that has been affected.
This started in r72, it was fine previously.
You can get the model here: http://www.titansoftime.com/utils.php?task=getModel&id=71
And the texture: http://www.titansoftime.com/textures/71_1024.dds
The text was updated successfully, but these errors were encountered: