Author Topic: Plugin for importing bones and animations to Blender from .anim (RE1MV)  (Read 227 times)

Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
It is my first skeleton animation that I exported from Blender to Collada (.dae) and imported to the WebGL/TypeScript application. You can run it in browser by one click: Child Bone Animation



« Last Edit: September 13, 2020, 07:41:26 pm by Ivan Enzhaev »

Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
I am close to write a plugin. It is good that a model do not have a skinning.

Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
Now I understand animation data.

"25" - amount of frames.
Next line is a position of torso.
Next 15 lines are angles of parts (rotations around x, y and z).

Code: [Select]
25
-0.020 0.000 33.640
-0.791 -0.615 0.703
5.187 -8.615 -1.143
-5.978 8.352 -0.879
12.571 47.297 2.813
72.703 -13.363 -63.385
-25.407 23.209 -12.308
1.670 13.011 -14.330
-7.912 -2.989 0.352
18.198 -14.154 -4.220
0.000 0.352 14.681
-4.571 2.374 -0.176
16.527 -7.560 -2.110
-16.088 -1.582 -1.231
-18.989 -17.495 0.527
3.692 6.681 0.000

-0.020 0.000 33.620
-0.879 -0.527 0.703
4.923 -8.791 -1.055
-5.978 8.352 -0.879
12.571 48.088 3.165
74.637 -11.604 -63.473
-25.758 22.769 -12.308
1.846 13.099 -14.418
-7.736 -2.989 0.352
18.198 -14.505 -4.308
0.088 0.440 14.857
-4.659 2.374 -0.176
16.791 -7.824 -2.198
-16.264 -1.495 -1.319
-19.165 -17.846 0.615
3.780 6.857 0.000
« Last Edit: September 18, 2020, 09:22:21 am by Ivan Enzhaev »

Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
I wrote an example where you can rotate/zoom parts of Jill: https://8observer8.github.io/webgl10-ts/jill-parts/index.html


Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
I am working with animations now.


Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
Something is wrong  ;D


Ivan Enzhaev

  • Newbie
  • *
  • Posts: 26
    • View Profile
I want to have two versions of skeleton demo:
  • TypeScript, WebGL 1.0, Node.js
  • C++, OpenGL ES 2.0, Qt
Both versions will be run on Desktop and Android. Qt supports WebSockets for coop and multiplayer (Node.js supports WebSockets too).

I you want to start to practice with simple games you can use my examples. They draw a triangle:
« Last Edit: November 14, 2020, 11:54:22 pm by Ivan Enzhaev »