16-07-2021, 08:56 PM
Hi Jose,
Thank you very much!
I did some research on geodesic voxel skinning and I read the paper you sent me and It's very interesting unfortunately most of the stuff in that document I didn't understand it and it's ok I'm a dumb .NET developer![Sonrisa Sonrisa](https://obi.virtualmethodstudio.com/forum/images/smilies/smile.png)
But If you have an implementation I don't mind looking at it, I'm actually very curious to see how it works![Ángel Ángel](https://obi.virtualmethodstudio.com/forum/images/smilies/angel.png)
So I ended up with the first approach:
I think I will stick to this approach, today I imported a shirt mesh in unity and I skinned to the mesh at runtime by copying the weights from the avatar and it gets the job done. After I added the obi cloth components and everything worked like magic![Gran sonrisa Gran sonrisa](https://obi.virtualmethodstudio.com/forum/images/smilies/biggrin.png)
Here's a test, it's still not perfect I have to tweak some stuff:
The shirt was already fitting the avatar size, and since the scanner will generate different body shapes in T-pose I need to make the shirt fit the body shape. Do you know any library or algorithm to wrap a mesh to a body?
Thanks again!
Thank you very much!
I did some research on geodesic voxel skinning and I read the paper you sent me and It's very interesting unfortunately most of the stuff in that document I didn't understand it and it's ok I'm a dumb .NET developer
![Sonrisa Sonrisa](https://obi.virtualmethodstudio.com/forum/images/smilies/smile.png)
Quote:I have a (working) rough implementation of this if you're interested.
But If you have an implementation I don't mind looking at it, I'm actually very curious to see how it works
![Ángel Ángel](https://obi.virtualmethodstudio.com/forum/images/smilies/angel.png)
So I ended up with the first approach:
Quote:Copy skin weights from the closest vertex in the body.
I think I will stick to this approach, today I imported a shirt mesh in unity and I skinned to the mesh at runtime by copying the weights from the avatar and it gets the job done. After I added the obi cloth components and everything worked like magic
![Gran sonrisa Gran sonrisa](https://obi.virtualmethodstudio.com/forum/images/smilies/biggrin.png)
Here's a test, it's still not perfect I have to tweak some stuff:
The shirt was already fitting the avatar size, and since the scanner will generate different body shapes in T-pose I need to make the shirt fit the body shape. Do you know any library or algorithm to wrap a mesh to a body?
Thanks again!