You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-10Lines changed: 41 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# gret
2
2
3
-
A collection of Blender tools I've written for myself over the years. I use these daily so they should be bug-free, mostly. Feel free to take and use any parts of this project. `gret` can be typed with one hand in the search bar.
3
+
A collection of Blender tools I've written for myself over the years. I use these daily so they should be mostly bug-free. Feel free to take and use any parts of this project. `gret` can be typed with one hand in the search bar.
4
4
5
5
6
6
@@ -40,13 +40,21 @@ Connects boundaries of selected objects to the active object. I wrote it to deal
40
40
41
41

42
42
43
-
## Mesh: Retarget Mesh
43
+
## Mesh: Merge
44
44
45
-
Refit clothing meshes to a modified version of the character mesh.
45
+
Boolean merges one or more objects, with options to fix the resulting normals. Does a lot of cleanup and, if possible, it will only merge vertices belonging to the same edge loops in order to preserve geometry and UVs.
46
+
47
+

48
+
49
+
## Mesh: Retarget
50
+
51
+
Given two versions of the same mesh, allows retargeting meshes or skeletons originally fit for the first version to fit the second version instead.
52
+
53
+
Ideal to transfer shape keys from characters to clothing, or to make a character's skeleton follow the changes after modifying body proportions.
46
54
47
55

48
56
49
-
If retargeting to a different mesh, make sure they share topology and vertex order. If the retargeted mesh becomes polygon soup then it's probably the vertex order. Try using an addon like [Transfer Vert Order](https://gumroad.com/l/copy_verts_ids) to fix it.
57
+
> If retargeting to a different mesh, make sure they share topology and vertex order. If the result is polygon soup then it's probably the vertex order. Try using an addon like [Transfer Vert Order](https://gumroad.com/l/copy_verts_ids) to fix it.
50
58
51
59
## Mesh: Make Collision
52
60
@@ -64,9 +72,15 @@ Procedurally generates vertex colors from various sources. Sources can be vertex
64
72
65
73

66
74
75
+
## Mesh: Vertex Group Bleed
76
+
77
+
The Smooth operator with "Expand" tends to either clip values or smear them way too much, which is not always what you want. Bleed provides finer control and guarantees that new weights will never be lower than the input weights. Works in your favor when you want to create a clean weight gradient radiating from an edge loop, or to soften skinning without weakening the overall deformation.
78
+
79
+
Can sort of think of it like pathfinding, running the operator twice with the same parameters won't change the results.
80
+
67
81
## Mesh: Vertex Group Smooth Loops
68
82
69
-
Skinning tool to separately smooth weights on parallel loops. Belts and such should deform lengthwise without compressing and regular Smooth isn't too good at this. Found in Weights → Smooth Loops while in Weight Paint mode, vertex selection must be enabled to use.
83
+
Skinning tool to separately smooth weights on parallel loops, like belts and such that should deform lengthwise without compressing. Uses the Bleed operator above. Found in Weights → Smooth Loops while in Weight Paint mode, vertex selection must be enabled.
70
84
71
85

72
86
@@ -88,6 +102,8 @@ Similar in function to an extruded curve. Since it's mesh and not curve based, t
88
102
89
103
Generates helicoid meshes, mostly useful as ropes. Can edit the base shape once created.
90
104
105
+

106
+
91
107
## Animation: Pose Blender
92
108
93
109
Allows blending poses together, similar to the UE4 [AnimGraph node](https://docs.unrealengine.com/en-US/AnimatingObjects/SkeletalMeshAnimation/AnimPose/PoseBlenderNode/index.html). Works on bones, not shape keys.
@@ -130,18 +146,33 @@ Relaxes selected UV edge loops to their respective length on the mesh. Together
130
146
131
147
## Other
132
148
133
-
**Sculpt Selection**: Sets the sculpt mask from the current edit-mode vertex selection. Found in the Select menu in edit mode.
149
+
**Sculpt Selection**: Sets the sculpt mask from the current edit-mode vertex selection. Found in the Select menu in mesh edit mode.
150
+
151
+
**Normalize Shape Key**: Resets min/max of shape keys while keeping the range of motion. A shape key with range [-1..3] becomes [0..1], neutral at 0.25. Some game engines don't allow extrapolation of shape keys. Found in Shape Keys → Specials Menu.
134
152
135
-
**Normalize Shape Key**: Resets min/max of shape keys while keeping the range of motion. A shape key with range [-1..3] becomes [0..1], neutral at 0.25. Some game engines don't allow extrapolation of shape keys. Found in Shape Keys → Specials Menu → Normalize Shape Key.
153
+
**Encode Shape Key**: Implements shape key to UV channel encoding required for [Static Mesh Morph Targets](https://docs.unrealengine.com/4.27/en-US/WorkingWithContent/Types/StaticMeshes/MorphTargets/). No menu button, use operator search.
136
154
137
-
~~**Merge Shape Keys to Basis**: Mixes active shape keys into the basis shape. It's possible to filter shape keys by name~~.
155
+
**Remove Unused Vertex Groups**: Originally an addon by CoDEmanX, this operator respects L/R pairs of vertex groups. Found in Vertex Groups → Specials Menu.
138
156
139
-
**Remove Unused Vertex Groups**: Originally an addon by CoDEmanX, this operator respects L/R pairs of vertex groups. Found in Vertex Groups → Specials Menu → Remove Unused Vertex Groups.
157
+
**Toggle Bone Lock**: Simple but useful toggle that causes a pose bone to become anchored in world space. Found in Pose → Constraints.
158
+
159
+
**Copy Alone**: Removes references and optional data so that objects can easily be duplicated or moved between files. Still a bit incomplete. Found in the Object menu in the 3D view.
140
160
141
161
**Deduplicate Materials**: Squashes duplicate materials, like "Skin.002", "Skin.003", etc. Found in File → Clean Up.
142
162
143
163
**Replace References**: Replaces object references in modifiers. I use it to swap meshes that are shrinkwrap targets and such. Found in File → Clean Up.
144
164
145
165
# Export Jobs
146
166
147
-
TODO
167
+
*This panel is not shown by default, enable it in the addon configuration.*
168
+
169
+
Jobs automate the export process for multiple objects or complex setups. Since this is tailored to my workflow, mileage may vary. Some extra options are available for Auto-Rig Pro rigs.
170
+
171
+
Example use cases:
172
+
173
+
- Exporting many objects to one file each along with collision and socket metadata (UE4).
174
+
- Different versions of a single character with swapped materials or clothes.
175
+
- Joining a character with many parts and modifiers into a single optimized mesh, for performance while animating.
176
+
- Avoiding mistakes like not correctly resetting an armature prior to animation export.
0 commit comments