-
Notifications
You must be signed in to change notification settings - Fork 2
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
animations not always loaded and certain animations loaded incorrectly #1
Comments
Hi, would you mind sharing your mesh, loading code and Misfit Model 3D version? Then I will have some pointers to look at this issue. |
sure... i think its not really a great code but nvm here it is: first this is Bodymatico.js function BodyMatico(url,skin,_scene){
} this.terminate=function(scene){
} in the main file i load the halberdier using this function: function loadHalberdiers(){
and finally the workers i use have just simply this code: |
also..... i am not able to fit it correctly in the ground, but that may be my error, hopefully if this 2 issues are solved then i may be able to do it right... btw si hablas español mejor hablemos ambos español ñ_ñ |
Perhaps you could simply zip your working directory and send me it over DropBox or Google Drive? That would be more convenient to me. Also, can you name which animations are shown differently from the modeler? I don't speak Spanish, only Portuguese. Looking over your code, you seem not to have used "this." with some variables I think you intended to be object members, so you have probably created some globals.Of course it is not that that is causing the issues, but I thought I should comment. |
can i have a gmail or hotmail in order to send u the project in zip? |
Can't you just upload to Google Drive or Dropbox and paste the link here? |
sorry, i didn't know how to; |
I've got the RAR, I will look over tis issue after the holidays. Again, can you list which animations have this display issue? There are many animations in your model. |
thank you n_n |
perhaps it suffers the same issues as this threads: |
Hi, On close inspection, I found a few small issues with my code, that have been corrected. The current revision no longer has such issues. However, I found an issue with three.js, that is an obstacle to the loading of this format. |
Oh, meanwhile you could use the morph target animations. |
its okay.. i understand the hard life of a programmer ñ_ñ sometimes there are things that are solver easily, others there is something that makes us stop... nowadays im using blender importer/exporter from an example with a rigged marine... im still troubling with making animations though ñ_ñ (i dont like blender) but i wish that you could solve the problems with your mm3d js because it let me load the mesh just once and then if i need more just clone the geometries... thats something the blender example dont let me, oh also mm3d has a simpler way of animating a mesh |
This issue was finally fixed by adding a function to the code that uses interpolation to patch loaded keyframes. The underlying limitation of three.js remains. |
Hello, first of all thank you a lot at doing this.. without your help i would have to spend a lot of time programming a loader for meshes and worrying about the animations and stuff, you helped me a lot in saving me time.
the first error is as shown in the next image:
sometimes the animations fail to be loaded, when i extract the animations (skeleton animations) the size of the array is 0; in this image it failed twice, sometimes it fails one and sometimes it doesnt fail at all.
this is the second error:
sometimes the orientation of the meshes aren't correct, they are not the same as shown in the editor, i had to sort of change the orientation in a strange way in the editor in order to make it look good on the game.
The text was updated successfully, but these errors were encountered: