Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: model distortion problem  (Read 6283 times)

0 Members and 1 Guest are viewing this topic.

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
model distortion problem
« on: October 04, 2006, 06:36:49 PM »

hi everybody
take a look at this:

the right picture is a screen shot from max, this is how the model is supposed to act
the left one is taken from WME's preview,
obviously somthing not good is happening at export, i've tried usig some export configurations
for panda that i found in this forum but it didnt work, so its probably not it...
the model has a skin modifier applied to it, some bones, IKs and points - although only one
IK is moving for the test animation,
i didn't bother skinning the whole model properly so its just
for the leg that's moving, but every vertex in the model is effected by a bone so if you move just
the skeleton the whole model comes with it.

if anyone here has an idea of what might cause these horrible distortions i would very much like to hear it,
(i can also put the .max file on a server if you want + assist with my knowledge and skills
of texturing/ UVW mapping for return :P)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: model distortion problem
« Reply #1 on: October 05, 2006, 07:24:17 AM »

Did you try opening the exported model in some other program, such as fragMOTION or model viewer to see if it's export problem or WME problem? As for settings, make sure you're exporting the keyframes as translation-rotation-scale, not matrix keys.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: model distortion problem
« Reply #2 on: October 05, 2006, 07:21:33 PM »

tried opening the model in model viewer now- it's not a problem with WME, the model looks the same
also keyframes are set to position, scale & rotate in the exporter

the wierd thing is that there were a couple of models that did get exported correctly, but i dont remember/see anything different with how they are built
Logged

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: model distortion problem
« Reply #3 on: October 05, 2006, 07:54:08 PM »

I had the same problem a while ago. Check if there are some dummy or helper objects included in your list in the skin modifier.
If they are, remove them from the list and everything should be nice.

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: model distortion problem
« Reply #4 on: October 06, 2006, 03:13:20 PM »

no, there are only bones in the list...
Logged

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: model distortion problem
« Reply #5 on: October 07, 2006, 02:41:29 PM »

OK, try to rebuild the animation, at least it is only the leg. Could it be, that you have some rotations higher than 360 degree?

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: model distortion problem
« Reply #6 on: October 07, 2006, 11:45:14 PM »

i'v deleted all keyframes and did them again, there's only about 90 degrees of rotations in the animation..

do you know if there is a way to see the bones during animation in the .x file?
i think it's a problem with the bones being stretched rather then a problem with the mesh's reaction to bone movement
(not that it helps much..)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: model distortion problem
« Reply #7 on: October 08, 2006, 08:16:25 AM »

do you know if there is a way to see the bones during animation in the .x file?
fragMOTION can display bones for imported X files.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: model distortion problem
« Reply #8 on: October 08, 2006, 11:29:05 AM »

...
i think it's a problem with the bones being stretched...

Post the options you use with panda please.

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: model distortion problem
« Reply #9 on: October 08, 2006, 11:46:41 AM »

ok, this is the problem:

fortunately the mesh can be moved back into place without wrecking the animation in fragmotion
but it will be nice to know whay it is happening in the first place (maybe something with the pivots?)
amo, i will post them in a moment-
here:

mesh definition
materials
include animation
bones

geometric
dummy

mesh normals
mapping coordinates

position,scale & rotate

text
sub frame hierarchy
« Last Edit: October 08, 2006, 11:58:03 AM by bluefrog »
Logged

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: model distortion problem
« Reply #10 on: October 09, 2006, 05:24:07 PM »

Please try the following: Deactivate "Dummy".

Next thing. The picture from project manager shows a standing figure. The fragmotion shows a lying.
When the figure is standing in WME, the "left handed" coordinate system must be activated, but you didn't wrote that you have.
So I am a little bit confused right now. Have you, or not?

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: model distortion problem
« Reply #11 on: October 10, 2006, 01:53:00 PM »

well, now i know why some models come out lying on the floor
somehow i'm turning it on and off without noticing...

as for "Dummy", turning it off is causing a bad effect on parts of the model that rely on point objects (not sure if IK chains are also dummies) but doesn't seem to have any effect on the location of the mesh or skeleton
Logged

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: model distortion problem
« Reply #12 on: October 12, 2006, 01:41:10 PM »

well, now i know why some models come out lying on the floor
somehow i'm turning it on and off without noticing...


That is not really right, I had the same problem, it seems that panda is turning the left handed option off under some unknown circumstances. This drove me really insane.


as for "Dummy", turning it off is causing a bad effect on parts of the model that rely on point objects (not sure if IK chains are also dummies) but doesn't seem to have any effect on the location of the mesh or skeleton


Sorry, I am no native speaker, so I am not sure, what you mean with point objects? (I use german version of Max 7.0)

bluefrog

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
Re: model distortion problem
« Reply #13 on: October 13, 2006, 02:40:41 PM »

maybe this will help
Logged

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: model distortion problem
« Reply #14 on: October 16, 2006, 02:30:42 PM »

Hi bluefrog, I ve found the following on the Panda page:

Exported model with skinning comes out spikey during animation

Make sure that each vertex has a maximum of 4 bones assigned to it and the total summed weight is 1.0

Hope that helps
 

Page created in 0.065 seconds with 24 queries.