3D Rad - Free 3D game maker - Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Coming soon: software updates

Author Topic: 3DRad is not recognizing my animated model...  (Read 1832 times)

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
3DRad is not recognizing my animated model...
« on: September 01, 2008, 02:31:34 AM »
Hi all!

The problem is that I cannot set a default animation (i.e., could not configure animation settings on SkinMesh object), to the following model... Please, any help is appreciated! Thanks!!
EDIT - Sorry... I had forgot the textures...... Yes... that's me!! huahahua
EDIT2 - Fernando... Please, can you check the X file in Notepad, and see if it differs than that 3DRad expects...? I did it, and realize the animation sets (actually one) were already there...  :-\ Maybe it's something with the exporter...? Very much thanks!!
« Last Edit: September 01, 2008, 03:00:10 AM by pedrodx »
Logged

3D Rad Developer - Fernando

  • Administrator
  • 3D Rad Guru
  • *****
  • Posts: 3788
Re: 3DRad is not recognizing my animated model...
« Reply #1 on: September 01, 2008, 03:16:31 AM »
Thanx for posting the model Padrodx!

Animation information in the file appears to be corrupt somehow.

What progam did you use to export the .x file?

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
Re: 3DRad is not recognizing my animated model...
« Reply #2 on: September 01, 2008, 06:21:16 AM »
Thanks for having a time to analyze it, Fernando...
I used the Directx8 exporter python script for Blender, written by Omar Ariben... It's the built-in one (the one which comes with the tool)...
Is it something I can correct manually, or do you know any other python script for Blender that deals well for texturing and animation (please check my other recent topic, to see a example of a script that doesn't work well for texturing)...
Thanks for the help!  ;)
Logged

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
Re: 3DRad is not recognizing my animated model...
« Reply #3 on: September 01, 2008, 07:03:36 AM »
Fernando... Please, have your time to release next update... I'm checking http://ozviz.wasp.uwa.edu.au/~pbourke/dataformats/directx/ (DX file format), and it seems that I already find where's the corruption... I must have messed when I inverted the "Cabeca" bone so, Blender losts reference about its frame... Thanks!!
EDIT - I rebuilt the armature, set the idle animation to only one frame, and then there seems to write the frames I need... Maybe if I actually do some animation (i.e., increase the number of frames) could it work...  :-\ Late... Will do some experiments on it later... Thanks!!
EDIT2 - Here's the updated model... Please, Fernando... Meanwhile, could you check if now the file is corrupted or I just need to "animate" it? (please, note the model goes from frame 1 to 1 with a keyframe inserted on this frame so, it just reverts back to the position a human normally stands...  :D, 3DRad actually recognizes this keyframe)... But still, there is nothing to animate... And still, the animation controls are still disabled...  :-\ Very late for work... Thanks!!
EDIT3 - Now, it's recognizing... I did some bone parenting (check attached file)... However, the armature world transformation isn't corresponding to the model one, which is causing the model to be rotated -90 degrees along the X axis... Please, do you have any clues about what can I do now? Thanks!!
« Last Edit: September 01, 2008, 09:04:40 AM by pedrodx »
Logged

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
Re: 3DRad is not recognizing my animated model...
« Reply #4 on: September 01, 2008, 09:05:15 AM »
Sorry... The file...  ;D
Logged

3D Rad Developer - Fernando

  • Administrator
  • 3D Rad Guru
  • *****
  • Posts: 3788
Re: 3DRad is not recognizing my animated model...
« Reply #5 on: September 01, 2008, 03:07:42 PM »
Animation information in the .x file seems to still be incorrect. I belive it's some exporting parameter which need to be adjusted, but I don't really know much about Blender unfortunately  :-\

From memory, somebody posted tips about exporting from blender a while back here at the forum, but I don't seem to be able to find the thread now...

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
Re: 3DRad is not recognizing my animated model...
« Reply #6 on: September 01, 2008, 04:12:05 PM »
Thanks...  :-\
Here's the updated one... There are two issues concerning this one:
1) I added some animation, and the orientation and the animation are both ok in Directx viewer;
2) The animation is ok in 3DRad, but the orientation still disappoints me...  ???
Regarding, when I added this animation in Blender, the orientation took ok in DX viewer. However, still not in 3DRad...
There could not be important: I renamed the armature to the same name as the armature's object...
There might be another solution than rotating the object in Blender... Perhaps I might try that... Thanks!!
Logged

3D Rad Developer - Fernando

  • Administrator
  • 3D Rad Guru
  • *****
  • Posts: 3788
Re: 3DRad is not recognizing my animated model...
« Reply #7 on: September 01, 2008, 04:30:25 PM »
he animation is ok now. I think that all you have to do now is rotating the model 90 degs in blender before exporting. Unless you can rotate the model by setting specific paramters in the blender exporter of ourse, which may be more practical.

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
Re: 3DRad is not recognizing my animated model...
« Reply #8 on: September 01, 2008, 04:31:19 PM »
It worked!!  ;D ;D ;D
However... In the virtual editor, the model is still rotated 90 degrees in X... When I press space to run, it executes the animation and rotates -90 in X (as defined in Blender)... Strange, huh? But is neat.... Meanwhile, I would learn what I did wrong, but didn't found nothing... See ya!!
EDIT - Thanks!!
Logged

3D Rad Developer - Fernando

  • Administrator
  • 3D Rad Guru
  • *****
  • Posts: 3788
Re: 3DRad is not recognizing my animated model...
« Reply #9 on: September 02, 2008, 02:36:11 AM »
You may have rotated the model (and its skeleton/armature) at the first frame only.

You probably need to rotate the armature as well, for all frames of your animation.

pedrodx

  • Sr. Member
  • ****
  • Posts: 391
Re: 3DRad is not recognizing my animated model...
« Reply #10 on: September 02, 2008, 05:48:17 PM »
Sorry... I might have expressed wrong. It was on the fly...  ;D
When I press space to run, it executes the animation and rotates -90 in X (as defined in Blender)...
Actually, when I press space, it goes from horizontal position (as appeared in the virtual editor, and how I defined in Blender to work) to the vertical position (how I desired it to stay) so, it's great! It then keeps playing the animation I defined to it... That's good, and pretty solved!!  :D
I do not think I set something different to the first frame than the others, in any case, I'll double check next times!  ;)
Thanks!
Logged