Author Topic: Working with 3ds max models  (Read 51071 times)

Offline idkm23

  • byte
  • *
  • Posts: 34
    • View Profile
Working with 3ds max models
« on: January 18, 2016, 09:50:59 am »
I am working with this model: http://www.turbosquid.com/3d-models/male-character-rigged-mixamo-x-free/515398

I convert it into ogre-format and test it using the ogre sample to checkout it's skeleton and animations. The skeleton lines up fine. When I animate it, however, it is not the same as in 3ds max. In 3ds max it is just stretching out all the limbs symmetrically, but now it looks like this when I animate:
notice the right arm and it's skeleton are all crumpled into a ball, while the left is stretching more than it should. Any advice is greatly appreciated, I have been spending a lot of time on this.  :(

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Working with 3ds max models
« Reply #1 on: January 18, 2016, 10:34:29 am »
you are using the last version, right? two weeks ago I found a possible bug and -hopefully- fixed it.

Offline idkm23

  • byte
  • *
  • Posts: 34
    • View Profile
Re: Working with 3ds max models
« Reply #2 on: January 18, 2016, 04:33:02 pm »
The latest version of bones? I re-downloaded off your website in the link "Bones can be downloaded here". All the files seem to be last modified in 2014 so perhaps I am not downloaded the right project. Or maybe I am and I am just not seeing the modification date. Anyways, I tried that version and nothing changed. It may be important to note that when I start the program up, the actor wasn't facing me properly. I modified the quaternion to make him start in the proper orientation with this quaternion:

Code: [Select]
Quaternion fixer = new Quaternion().rotateX((float)-Math.PI/2);
fixer.rotateY((float)Math.PI);

I doubt the quaternion has anything to do with it though, because if I don't modify your code it still produces the exact same animation.

Offline raft

  • Moderator
  • quad
  • *****
  • Posts: 1993
    • View Profile
    • http://www.aptalkarga.com
Re: Working with 3ds max models
« Reply #3 on: January 19, 2016, 09:51:12 am »
the Quaternion is only to setup orientation of model, it should not effect animation.

may it be those vertices are affected by more than 4 joints? Bones support upto 4 joints per vertice

Offline idkm23

  • byte
  • *
  • Posts: 34
    • View Profile
Re: Working with 3ds max models
« Reply #4 on: January 19, 2016, 05:44:40 pm »
It's possible they are affected by more then four joints, but I don't believe that is the issue. I tried the skeleton helper to start manually manipulating joints and its working perfectly. I don't really need the keyframe animation to work; I was just trying to test if it was working properly. So, I guess my problems solved  ::) I only need to manually manipulate the joints
« Last Edit: January 19, 2016, 07:21:38 pm by idkm23 »