Luis_Sá
Resource contributor
- Messages
- 326
- Country

Hello,
I am sorry for this question that is not directly related to FS but I imagine that many designers and tool developers coming here could easily clarify me.
I want to build a windows application (using dot net and managed DirectX9) to animate an object. I have several .X files (about a dozen), each one storing a mesh of the object in a particular take (I think I can call these keyframes - the meshes have the same number of points and faces). My application will load those meshes and then, after some user input, a time line is defined to control the animation. I know how to render the object. My question is related to the generation of intermediate meshes. For example I have mesh_A defined at time T1 and mesh_B defined at time T2. I need to create intermediate meshes along 40 ms intervals that exist between T1 and T2. I found a function that interpolates between corresponding vertices of 2 meshes:
http://books.google.pt/books?id=CE-...stH4Dw&sa=X&oi=book_result&ct=result&resnum=1
but that means that the CPU has to cycle between all the vertex of the 2 meshes to create the intermediate mesh. Is there a more efficient way to accomplish that? I thought there was a chance that GPUs could already do that.
Many thanks in advance for any tip.
Best Regards, Luis
I am sorry for this question that is not directly related to FS but I imagine that many designers and tool developers coming here could easily clarify me.
I want to build a windows application (using dot net and managed DirectX9) to animate an object. I have several .X files (about a dozen), each one storing a mesh of the object in a particular take (I think I can call these keyframes - the meshes have the same number of points and faces). My application will load those meshes and then, after some user input, a time line is defined to control the animation. I know how to render the object. My question is related to the generation of intermediate meshes. For example I have mesh_A defined at time T1 and mesh_B defined at time T2. I need to create intermediate meshes along 40 ms intervals that exist between T1 and T2. I found a function that interpolates between corresponding vertices of 2 meshes:
http://books.google.pt/books?id=CE-...stH4Dw&sa=X&oi=book_result&ct=result&resnum=1
but that means that the CPU has to cycle between all the vertex of the 2 meshes to create the intermediate mesh. Is there a more efficient way to accomplish that? I thought there was a chance that GPUs could already do that.
Many thanks in advance for any tip.
Best Regards, Luis


