Game Editing > Scripts & Support

[MD5] EXPORT script for Blender 2.6x (OPEN)

<< < (42/46) > >>

Blayne Bradley:

--- Quote from: kat on July 21, 2014, 08:21:03 PM ---As far as I'm aware there isn't a way to restrict vertex assignments like that. You can however, see which vertices are members of which vertex groups and then manage them by checking "Vertex Weight" in the Properties panel ("N") - obviously with 50k+ verts on the model you're using that will be quite a task!

--- End quote ---

Yeah :(

Blayne Bradley:

--- Quote from: kat on July 21, 2014, 08:21:03 PM ---As far as I'm aware there isn't a way to restrict vertex assignments like that. You can however, see which vertices are members of which vertex groups and then manage them by checking "Vertex Weight" in the Properties panel ("N") - obviously with 50k+ verts on the model you're using that will be quite a task!

--- End quote ---

Huh, why isn't there a way to select all vertices by vertex group? That would be way easier, the only 'quick' solution would be to subdivide the mesh into a mesh for each vertex group.

kat:
You can select vertices based on group.

With the mesh in Edit mode and Vertex selection active ("Ctrl+Tab"), click the "Object Data" properties button (the triangle with dots each corner). Find/expand the "Vertex Groups" subsection to reveal the "Vertex Groups Index", a list of vertex group assigned to the active mesh. Groups can be managed by selecting an entry and then clicking one of the buttons to "Select", "Deselect", "Assign" or "Remove" - individual vertices can be removed or assigned to different groups using these.

Do note however that checking "which groups are assigned to an individual vertex" and "which vertices are assigned to a group" are slightly different questions that address different aspects of the process - they may appear to be the same but it's a question of macro versus micro management of structure.

Blayne Bradley:
Stackoverflow to the rescue!

"In weight paint mode, select the Weight Tools panel in the toolbar, and run Limit Total, This removes vertex groups with lowest weights.

This defaults to 4 which is a common limit for game-engines."

This works! So in the future if some other poor fellow has the same question we know what to do. :D

kat:
Learn something new everyday heh ;)

Be mindful how the tool is used though, there are obviously a lot of situations where more than four groups will be needed, especially on a whole character. With that said, it looks like it may be a good way to remove errant group assignments and clean up a mesh.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version