Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Character Animation  (Read 1157 times)

andfly

  • Full Member
  • ***
  • Posts: 171
  • newbie
Character Animation
« on: November 28, 2016, 07:19:49 pm »

Here is a fantastic new possible method of animation in the world Outerra !!!
(  New to me ... probably always existed! )

In all honesty, this discovery, it is not my doing.
Once again I have to thank KW71 (sooner or later I'll have to offer him at least a beer ...)
It was only because of his stubbornness and insistence that I was (almost) forced to perform tests that led me to discover this new method did not think possible!

In his opinion it was possible to animate a character (or a model in general) through moving the bones of her structure , if you use 3DS Max.
I had already tried, years ago (with the Orca), but I had not gotten results: so I had abandoned.
The cause of the failure was the use of software not designed for this purpose: the original Outerra importer from "collada" file and the "Blender" program of building models.

But if you use the Outerra FBX importer  and building the model with 3DS Max: then the file "PKG" contains the definition of the model bones and the connections of bones with assigned vertices.

At this point just set, in the script, the bones as a "joint" and apply the "rotate_joint" method.
The bones will move, and drag the vertices linked, redesigning and "stretching" the meches in the new location without interruption ... as within the 3D drawing program !!

Unfortunately Blender is not able to create a "FBX" file correctly interpretable by the importer of Outerra and it would seem mandatory to use 3DS Max ... but it's not true at all !
If you export your model, from Blender, in "DAE" and becomes "FBX" with an external converter, you can get a "good" file to the FBX importer of Outerra.
And this is a great opportunity because Blender is totally free and 3DS Max instead ...

I sketched in a short time, a model without too many demands for perfection only to concretely illustrate the method discovered.
https://drive.google.com/file/d/0B6114pZ3kPTgaGhVOEdHclNHZ0k/view?usp=sharing

and I made a short video :



At this point there are no more excuses ...
I expect, in a short time, an explosion of life in the world of Anteworld !!!
Logged
I do not know the English language. I use Google Translate. I hope it's all understandable.

KW71

  • Hero Member
  • *****
  • Posts: 611
  • Love OT!
Re: Character Animation
« Reply #1 on: November 28, 2016, 08:31:26 pm »

No, no. Thanks for the credits but:

" If you export your model, from Blender, in "DAE" and becomes "FBX" with an external converter"


You found out that, not me...

"In his opinion it was possible to animate a character (or a model in general) through moving the bones of her structure , if you use 3DS Max."

And this are Angrypig's tips & indications

    I'm just a link... you're in one end, and Angrypig in the other, so... Kudos for both of you!    :)
« Last Edit: November 28, 2016, 08:37:28 pm by KW71 »
Logged
"A man who is contented with what he has done, will never become famous for what he will do".

Acetone

  • Hero Member
  • *****
  • Posts: 883
    • Youtube channel
Re: Character Animation
« Reply #2 on: December 01, 2016, 02:42:03 am »

Nice work!  :)
Logged

nothinglikethesun

  • Jr. Member
  • *
  • Posts: 30
Re: Character Animation
« Reply #3 on: December 01, 2016, 04:44:29 am »

Here is a fantastic new possible method of animation in the world Outerra !!!
(  New to me ... probably always existed! )

In all honesty, this discovery, it is not my doing.
Once again I have to thank KW71 (sooner or later I'll have to offer him at least a beer ...)
It was only because of his stubbornness and insistence that I was (almost) forced to perform tests that led me to discover this new method did not think possible!

In his opinion it was possible to animate a character (or a model in general) through moving the bones of her structure , if you use 3DS Max.
I had already tried, years ago (with the Orca), but I had not gotten results: so I had abandoned.
The cause of the failure was the use of software not designed for this purpose: the original Outerra importer from "collada" file and the "Blender" program of building models.

But if you use the Outerra FBX importer  and building the model with 3DS Max: then the file "PKG" contains the definition of the model bones and the connections of bones with assigned vertices.

At this point just set, in the script, the bones as a "joint" and apply the "rotate_joint" method.
The bones will move, and drag the vertices linked, redesigning and "stretching" the meches in the new location without interruption ... as within the 3D drawing program !!

Unfortunately Blender is not able to create a "FBX" file correctly interpretable by the importer of Outerra and it would seem mandatory to use 3DS Max ... but it's not true at all !
If you export your model, from Blender, in "DAE" and becomes "FBX" with an external converter, you can get a "good" file to the FBX importer of Outerra.
And this is a great opportunity because Blender is totally free and 3DS Max instead ...

I sketched in a short time, a model without too many demands for perfection only to concretely illustrate the method discovered.
https://drive.google.com/file/d/0B6114pZ3kPTgaGhVOEdHclNHZ0k/view?usp=sharing

and I made a short video :



At this point there are no more excuses ...
I expect, in a short time, an explosion of life in the world of Anteworld !!!

Bravo!!! :-)
Logged

andfly

  • Full Member
  • ***
  • Posts: 171
  • newbie
Re: Character Animation
« Reply #4 on: December 01, 2016, 01:16:59 pm »

No, no. Thanks for the credits but: ......

I'm not used to free thanks ...

I confirm!
If it was not for your intuition and your concern, I would never have discovered this method!

But ... maybe I get it ... you do not like beer !!!

 ( This can be remedied in another way ... )

 :) :) :)       :) :) :)
Logged
I do not know the English language. I use Google Translate. I hope it's all understandable.

andfly

  • Full Member
  • ***
  • Posts: 171
  • newbie
Re: Character Animation
« Reply #5 on: December 01, 2016, 01:31:41 pm »

Thanks Acetone!  :)

And thanks nothinglikethesun !  :)
Logged
I do not know the English language. I use Google Translate. I hope it's all understandable.

nothinglikethesun

  • Jr. Member
  • *
  • Posts: 30
Re: Character Animation
« Reply #6 on: December 13, 2016, 09:59:38 am »

:-)
Logged

jonslynn

  • Member
  • **
  • Posts: 73
Re: Character Animation
« Reply #7 on: January 23, 2017, 09:06:08 am »

This is very interesting.  At first you make it sound like 3D Max only.  Then perhaps Blender?  But it needs to be a boned character I guess.  I will have to play around with this.

Thanks
Logged

jonslynn

  • Member
  • **
  • Posts: 73
Re: Character Animation
« Reply #8 on: January 23, 2017, 09:55:23 am »

Wait?  So a vehicle java script does the animation?  I was confused but still interesting.  Just not the way I would import an fbx animation.  I can wait a few years for that I think.
Logged

andfly

  • Full Member
  • ***
  • Posts: 171
  • newbie
Re: Character Animation
« Reply #9 on: January 25, 2017, 07:33:24 pm »

This is very interesting.  At first you make it sound like 3D Max only.  Then perhaps Blender?  But it needs to be a boned character I guess.  I will have to play around with this.
When Developers have published the character of the mercenary (in 2014), exploring the related files folder and seeing a large number of "anim" files, I was convinced that all the movements were created prior in 3DS Max as "animation" and they were reproduced in outerra precisely as "concatenate animations" able to display all the character's situations (walking, running, twisting etc ...).
This belief was reinforced by the fact that, having tried to create a model, complete with armature, I could not move his bones with the usual script commands.
And also from the conviction that it would be burdensome for the computer (and also not easy to accomplish) the fact of writing and place, within Outerra, routines able to recalculate the meches deformed by movements.
Because of this conviction (not being able to create animation and not even knowing the method to reproduce them) in all models I've created so far, I had "cut" and "separate" parts to animate, and I had commanded the movement as you do move one aileron or rudder or a gear, with the difficulty of covering, in some way, the contact points between the various pieces and hide the empty spaces that were highlighted.

The discovery of which I speak in this topic, that is, you can control the movements of the bones, it was a great surprise especially for me!

He also caused a large (and further) sense of admiration for cameni, angrypig & co, for the demonstrated ability to insert these routines into the engine without weighing on performance.

A little difficulties arise from the fact that the "FBX" file must meet stricter standards that (at least in my experience as an amateur) not always Blender is capable of producing.
I do not know, at this point, if it comes from a lack of Blender or my inability to build a model with a "well-made armature", but this can be considered irrelevant because there is a way to make sure that the model is "properly interpreted" for Outerra.
Simply export from Blender in "DAE" or "FBX" and carry out a further conversion with the "Autoesk Official converter in the FBX " ( http://www.softpedia.com/get/Multimedia/Graphic/Image-Convertors/Autodesk-FBX-Converter.shtml ).
After this conversion the "FBX" file is correctly interpreted by Outerra SURELY!

(Or use 3DSMax .... and every problem is already solved immediately)

Wait?  So a vehicle java script does the animation?  I was confused but still interesting.  Just not the way I would import an fbx animation.  I can wait a few years for that I think.
The result is this:
If you build a model that respects the parameters of a "FBX" file as if it were produced by 3DS Max,and it imports it to the FBX importer Outerra, you can control the movements of the bones of his armature (with the commands of the javascript file) getting extremely natural and realistic movements as if it reproduce an animation.
The huge advantage is that by using the script, ANY movement is possible without the requirement to develop a special animation !!!
Logged
I do not know the English language. I use Google Translate. I hope it's all understandable.

jonslynn

  • Member
  • **
  • Posts: 73
Re: Character Animation
« Reply #10 on: January 25, 2017, 08:03:48 pm »

That is all nice but I do not know java scripting very well.  Seems like it would take a long time to get anything to work right.  I have not had much spare time to play with Outerra but this really caught my attention.  I don't use Blender much.  I have used 3D Max and the FBX converter way more.  I know the software and get what you are saying but my lack of Java script is a crutch.  Thanks for the reply.
Logged