Jump to content

Access to bone weights for vertexes


Niosop
 Share

Recommended Posts

Could we get access to getting bone weights on a per vertex basis and also have access to setting these? This would let us write our own "uniquify" code so you wouldn't have to worry about introducing bugs into the main engine.

Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX

ZBrush - Blender

Link to comment
Share on other sites

It's not as simple as "this vertex is weighted to this entity". The model has internal indexes of bones when it is loaded, and the vertex data references those indexes instead of the bone entity. The bone data is uploaded to the GPU in an array, and the vertices access this array with their bone indices.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Nod, yeah. I'm just looking for a way to use the existing bone data array w/ a new mesh. So to make an animated mesh either temporarily or permanently non-instanced then you could use a makeUnique script that would create a new mesh, copy the surfaces, assign the same bone weights to the duplicated verts in the new surfaces. Then you hide the original mesh, assign a material to this new surface and it would still be animated. Then to switch back, you just destroy the new mesh you created and unhide the original mesh.

Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX

ZBrush - Blender

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...