
Copy your VRChat avatar’s blendshapes and bone weights onto its outfits, and fix clipping, inside Unity. Sculpt or edit meshes directly in the Scene view without overwriting your original model files.
Advanced Shape Transfer's Viewer on View: Clipping: the body pokes through the outfit as it is (Current Mesh); the transferred result (Generated) follows the body without clipping.
New to Bavi-Geometry Tools? Read the documentation or open Tools ▸ Bavi-Geometry ▸ Guide in Unity.
Install
- VRChat Creator Companion (recommended): Open https://rappyr.github.io/Bavi-Geometry-VPM/ and click Add to VCC (or add
https://rappyr.github.io/Bavi-Geometry-VPM/index.json in Settings ▸ Packages ▸ Add Repository), then add Bavi-Geometry Tools to your project.
- Manual install: Download
com.bavi.geometry-<version>.zip from GitHub Releases and unzip it into Packages/com.bavi.geometry, or import the .unitypackage.
- Blender add-on (optional): Download
bavi-blender-addon-<version>.zip from the same release (or use BlenderAddon/bavi_blender_import.py inside the package). In Blender (Edit ▸ Preferences ▸ Add-ons ▸ Install from Disk…), pick it and enable Bavi Shape/Weight Import. It opens in the 3D Viewport sidebar (N) under Bavi.
All tools are in Tools ▸ Bavi-Geometry:
| Tool |
What it does |
| Advanced Shape Transfer |
Copies body blendshapes onto clothing that already fits. Preview in the Viewer, then Apply (writes new mesh files) or Copy to Component… (runs automatically at upload without modifying project files). |
| Simple Shape Transfer |
Copies blendshapes between two nearly identical versions of the same mesh (for example, a re-exported FBX). |
| Weight Transfer (advanced) |
Copies bone weights from the body onto clothing while preserving unmatched bones (such as PhysBone skirts/hair) and locked hands/fingers. Inspect poses in the Viewer before applying. |
| Mesh Editor |
Edits meshes directly in the Scene view: sculpt brushes (Grab, Elastic Grab), weight painting, blendshape editing, and delete/separate/join operations. |
| Shape Toggle Setup |
Creates a shape transfer group and VRCFury menu toggles for selected body blendshapes. |
| Export to Blender (experimental) |
Exports meshes, blendshapes, and bone weights to .json + .bin for the included Blender add-on. |
Why edit meshes inside Unity?
Re-exporting an avatar FBX through Blender often breaks prefab mesh and bone references when export/import settings do not match the original creator’s setup. Bavi-Geometry keeps your FBX and prefab intact: saved edits create versioned .mesh files in Bavi-Generated, and the upload-time component never changes project files.
Bavi-Geometry is built for quick fixes on clothing that already fits—it is not a tool for refitting outfits across different avatar bases or rigging from scratch.
Requirements
| Requirement |
Notes |
| Unity |
2022.3 (VRChat) and Unity 6 (6000.0) tested |
| Windows 64-bit |
Required for Advanced Shape Transfer and Weight Transfer (GeometrySolvers.dll); only tested on Windows |
| Visual C++ Redistributable 2015–2022 (x64) |
Required by GeometrySolvers.dll (not bundled with Unity) |
| Hardware |
Any 64-bit x86 CPU; compute-shader GPU for the Mesh Editor overlay (falls back to simple wireframe) |
Optional integrations: VRChat Avatars SDK (upload-time component), VRCFury (Shape Toggle Setup / toggles), Modular Avatar (reading Shape Changers in Active Shapes), Blender 4.2+ (Blender add-on).
How the transfers work
Unlike live deformers (such as Blender’s Surface Deform), Advanced Shape Transfer and Weight Transfer transfer values onto the clothing mesh in two stages:
- Match and fill: Each clothing vertex samples the closest point on the body’s surface. Distant vertices (such as loose skirt hems) are smoothly interpolated from their neighbors via a biharmonic solve over a non-manifold Laplacian (inspired by Robust Skin Weights Transfer via Weight Inpainting, SIGGRAPH Asia 2023).
- Post-processing: Shape transfers optionally smooth offsets, solve an outfit’s meshes together (Outfit as one mesh, on by default), and push intersecting vertices back out (Correct penetration). Point Cloud Heat is available as a fallback when surface projection struggles.
Known limits
All tools
- No cross-body refitting or rigging: The tools work on clothing that already fits the body at rest. Use Blender to refit outfits made for other bases.
- Generated files pile up: Every save (a transfer’s Apply, a Mesh Editor save) writes a new
.mesh version under Bavi-Generated. Old versions are kept so you can go back to them, and nothing deletes them for you: remove the ones you no longer use by hand.
Advanced Shape Transfer and Weight Transfer
- Meshes processed separately: Outfit as one mesh (on by default) processes an outfit’s meshes together, so its layers and the seams between its meshes stay closed. Meshes processed separately (different outfits, or with it off) are each measured against the body only, not against each other: an outer layer can clip into an inner one, or a gap can open where they meet. Process them together, or fix it afterward in the Mesh Editor.
- Smoothing can cause clipping: Smoothing evens out what each vertex takes from the body, which moves it away from the body’s exact shape. Check View: Clipping in the Viewer and lower the smoothing, or limit it with a mask, where it clips.
Weight Transfer
- Check before applying: Loose or overlapping parts (breasts, pelvis, trouser legs) can take weights from the wrong part of the body. Inspect them in the Viewer with Full range of motion before applying. Keep Lock on Hands and Fingers (default) for gloves.
- Bone pairing: The body’s bones are paired with the outfit’s by name. The Bones card finds an outfit bone with another name at the same place and renames it in one click (⋮ ▸ Give the Target Bone the Source’s Name); a bone the outfit does not have gives its weights to the nearest parent bone it does have.
- Unmatched bones keep their weights: Outfit bones the body does not have (PhysBone chains such as skirts, hair, coat tails) keep their original weights, unsmoothed by default, so their borders can look sharp. Turn on Smooth unmatched bones under Smoothing ▸ Weight smoothing to soften them.
- Point Cloud Heat (the older method): Kept as a fallback; Surface Projection is preferred. It has its own issues with layers lying close together, and it treats partly painted mask weights as fully painted.
Mesh Editor
- Mirroring needs a symmetric mesh: With symmetry on, brushes, fills and edits reach each vertex’s exact mirror partner. On a mesh that is not quite symmetric, a vertex with no exact partner only approximates it (the Unpaired Points setting: follow the mirror image, or stay still).
- Vertex normals: Existing normals are preserved, so large shape edits can look unevenly lit. (In the transfers, Recalculate normals is off by default.)
Export to Blender (experimental)
- A roundabout workflow: Meant for carrying data from A to B: for example, import the modified result into Blender and transfer it onto the unaltered original mesh there, so nothing of the original FBX is lost. It stays experimental; a more direct way may come later.
- Mostly one-way: Only slider presets come back to Unity, and blendshapes export only their final frame, without normal or tangent deltas.
Plans
- Better round-trip editing back to Blender (or porting tools to Blender).
- Recalculating and editing vertex normals for large shape changes.
Questions? Ask in Discussions. Found a bug? Open an issue with the output of Tools ▸ Bavi-Geometry ▸ Diagnostics ▸ Copy Version and the newest log from Logs/Bavi-Geometry. See CHANGELOG.md for release notes.
Where the DLL comes from
GeometrySolvers.dll is compiled by GitHub Actions from the C++ source in NativePlugins~/, once per change to that source, and GitHub signs a build attestation for it. Every release ships that same recorded build (NativePlugins~/DLL-BUILD.txt), checked against the source and the attestation. To check a copy (for example Plugins/x86_64/GeometrySolvers.dll from the release zip), run gh attestation verify GeometrySolvers.dll -R Rappyr/Bavi-Geometry-Tools.
To compile it yourself, you need Windows 10/11 (64-bit), Visual Studio 2022 (Desktop development with C++), and CMake 3.15+. See NativePlugins~/README.md.
License and credits
Guided by Bird and generated with AI (Claude Code). Licensed under GPL-3.0-or-later (see LICENSE.md), including the Blender add-on; your exported meshes remain yours.
GeometrySolvers.dll uses geometry-central (MIT), Polygon Laplacian (MIT), robust-laplacians-py (MIT), Eigen 3.4.1 (MPL-2.0), and nanoflann 1.7.1 (BSD-2-Clause) — see third-party notices. Mesh Editor loop selection, mirroring, delete, and edge slide reference Blender (GPL-2.0-or-later).
评论