Page 1 of 1
add animation to custom mesh
Posted: Thu Jun 26, 2014 5:14 pm
by maslobojik
How add animation to custom mesh (CreateMesh()) ?
Re: add animation to custom mesh
Posted: Fri Jun 27, 2014 8:55 pm
by Samuel
Purebasic can't add skeletons to custom meshes, yet.
In order to add a skeleton you need to create a mesh file and then import it into a modeling software. Then you can add the skeleton and export it back to the OGRE format.
Instead of skeletal animation you can also use vertex animations which can be done in Purebasic.
For a vertex animation example take a look at the MeshManualFlag.pb in the 3D demos folder.
Depending on what your animating vertex animations may be too slow. For example it's not the best method for animating
20 complex meshes at the same time, but for smaller tasks it will work fine.
Re: add animation to custom mesh
Posted: Sat Sep 06, 2014 8:27 am
by jhon20
Instead of skeletal animation you can also use vertex animations which can be done in Purebasic.
For a vertex animation example take a look at the MeshManualFlag.pb in the 3D demos folder.