Posted By: Dark_samurai
deforming skinned model - 02/11/12 10:53
Hi guys,
I'm deforming a model in realtime through ent_setvertex(). This works great as long as there is no uv mapping assigned to the model. But if the model (created in MED) was skinned with the "6 side mapping" tool of MED, the defomring doesn't work:
This is how it should look like:
It seems like the mesh was splitted through the skinmapping. Maybe this is because every vertex occures 3 times in the uv mapping (one vertex is shared by 3 sides of the cube and through the 6 side mapping every side is seperate in the uv mapping):
What can I do to overcome this problem? Do I have to update the uv mapping (btw. how can I do this)?
Thanks for your help!
I'm deforming a model in realtime through ent_setvertex(). This works great as long as there is no uv mapping assigned to the model. But if the model (created in MED) was skinned with the "6 side mapping" tool of MED, the defomring doesn't work:
This is how it should look like:
It seems like the mesh was splitted through the skinmapping. Maybe this is because every vertex occures 3 times in the uv mapping (one vertex is shared by 3 sides of the cube and through the 6 side mapping every side is seperate in the uv mapping):
What can I do to overcome this problem? Do I have to update the uv mapping (btw. how can I do this)?
Thanks for your help!