Thank you. I don't believe I will be able to generate such a cloth simulation at run time so I will make the animation in Maya. I'm just wondering which file format supports mesh animation without skinning. I saw some .x files in ur content folder.
I'v always used FBX to export my models from maya to xna but they are only animated with bones. Never tried mesh animation without alone though... I just found a .x exporter for maya am gonna try that exporting animated cloth with .FBX and .X.
You could create a plane model and use that. The flag in this post is generated at run time and is not a mesh. But you could use the same shader to color and animate a plane mesh
Well, this sample uses no mesh animation and is all done in the shader, no bone matricies are sent to the shader.
Take a look at the CC sample for a skinned mesh sample. You can use X or FBX in XNA by default.
NemoKradXNA 2 years ago
Thank you. I don't believe I will be able to generate such a cloth simulation at run time so I will make the animation in Maya. I'm just wondering which file format supports mesh animation without skinning. I saw some .x files in ur content folder.
I'v always used FBX to export my models from maya to xna but they are only animated with bones. Never tried mesh animation without alone though... I just found a .x exporter for maya am gonna try that exporting animated cloth with .FBX and .X.
Thanks
ennazk 2 years ago
:P
You could create a plane model and use that. The flag in this post is generated at run time and is not a mesh. But you could use the same shader to color and animate a plane mesh
NemoKradXNA 2 years ago
Quick reply :D thanks !!
ennazk 2 years ago
Take a look at the blog post for this and you can get the source code for this post.
NemoKradXNA 2 years ago
Nice job !!
Can you tell me please how can we import such a cloth animation from maya for example ? was it imported as an FBX file ?
Thanks for the great job and the blog is amazing.
Regards
ennazk 2 years ago