add animation to custom mesh
-
- User
- Posts: 36
- Joined: Thu Jul 11, 2013 11:17 pm
add animation to custom mesh
How add animation to custom mesh (CreateMesh()) ?
Re: add animation to custom mesh
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.
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
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.
For a vertex animation example take a look at the MeshManualFlag.pb in the 3D demos folder.