It is currently Thu Apr 02, 2020 5:13 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: add animation to custom mesh
PostPosted: Thu Jun 26, 2014 5:14 pm 
Offline
User
User

Joined: Thu Jul 11, 2013 11:17 pm
Posts: 35
How add animation to custom mesh (CreateMesh()) ?


Top
 Profile  
Reply with quote  
 Post subject: Re: add animation to custom mesh
PostPosted: Fri Jun 27, 2014 8:55 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Jul 29, 2012 10:33 pm
Posts: 750
Location: United States
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: add animation to custom mesh
PostPosted: Sat Sep 06, 2014 8:27 am 
Offline
New User
New User

Joined: Sat Sep 06, 2014 8:24 am
Posts: 1
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.

_________________
www.pass4sure.co.uk
http://www.eden.edu/
http://www.juniper.net/
http://www.uchicago.edu/
http://en.wikipedia.org/wiki/Juniper_Networks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye