Commit Graph

143 Commits

Author SHA1 Message Date
Yusarina 12083c28c5 Small fixes 2025-04-01 17:32:45 +01:00
Yusarina a407e99ebd Update atlas_materials.py 2025-03-31 23:03:09 +01:00
Yusarina 345ba44463 Texture Atlas should require the user to save the blender files before we allow them to atlas 2025-03-31 22:39:49 +01:00
Yusarina c0943e0d20 Atlas Materials UI Update
- Separated things out so it looks better.
- Done small changes to make the ui look a bit better.
- UI auto refreshes after a successful atlas.
2025-03-31 13:48:52 +01:00
Yusarina 546fec6039 Bug fixes
- When i updated Wheels I used the Python 13 one, blender is Python 11 so provided the correct wheels packages. Also added macos 10.9 for Intel users.
- Fixed issue where Join Meshes, made it faster as well.
- Fixed issues with viseme generation and previewing.
- Removed MMD Panel and Tools.
- Fixed issue with armature merging
- Fixed reset eye tracking button throwing errors in the SDK2 panel.
- Added info in the SDK2 panel about this only being used for other games, VRChat Eye tracking is setup in Unity.
- Fixed issue where if models have upper ears and lower ears the amrature validation system would mark it as problem bones.
- Added instructions to armature validation about other bones and re the standardization button.
2025-03-24 22:58:51 +00:00
Yusarina 5b9acb496f Bone Standardization 2025-03-24 19:06:57 +00:00
989onan 07adaa590b fix bad armature merging issues
also merge all bones isn't needed. we should do that by default

This also now uses dictionary matching to find bone types like hips, spine, and chest that should be merged.

Deletes bone shared and merges armatures, and parents bones back, causing a seamless merge.
2025-02-18 19:30:56 -05:00
Yusarina fbb07aec10 Fixes
- Fixed issue with plugin registration
- Fixed bones symmetry not working
- Fixed different modes not working
-  Some other small fixes.
2025-02-08 14:18:53 +00:00
Yusarina dd36ccaece Acceptable Standards Added 2025-02-08 11:03:22 +00:00
Yusarina 4576b27b53 Merge branch 'Alpha-2' into Armature_Validation_Version2 2025-02-07 18:23:00 +00:00
Onan Chew a20a306582 Merge pull request #104 from Yusarina/rigfy-to-unity-Alpha2
Rigify To Unity (Don't Merge Yet)
2025-02-07 12:05:33 -05:00
Yusarina 4b59147649 Moved Armature Validation to it's own file 2025-02-07 16:04:54 +00:00
Yusarina 6038177383 Further logging and typing, couple of fixes 2025-02-07 15:35:30 +00:00
Yusarina 251c006498 Conversation Complete
- This now removes bones which are not needed for Unity.
- Renamed the armature to armature.
2025-02-07 15:27:48 +00:00
Yusarina 686bc0bda1 Added back texture Atlas
- Now working with Alpha 2.
- Did some changed but it should still work, did some basic testing.
- Do want to make further changes and make the system better where possible.
2025-02-04 04:06:34 +00:00
989onan fc9b1e42a2 Fix remove doubles perf issue and fix it not working
Why did the merge doubles at point get removed? it was a core component.

Anyways this should fix the performance issue greatly and fix advanced mode literally doing nothing
2025-01-26 20:01:47 -05:00
Onan Chew af311d7d2e Merge pull request #105 from Yusarina/zero-weight-removal-improvements-alpha2
Remove Zero Weights Improvements
- Add option to not remove 0 weight bones with children for things like skirts
- add option for listing zero weight bones rather than going ahead with deleting them
- add option for removing zero weight bones only if they have deform enabled.
2025-01-26 10:43:44 -05:00
Yusarina 239e212cf4 Remove Zero Weights Improvements
- Added Options to preserve Parent Bones.
- Added List mode only where the user can select the bones there want to remove.
- Added Options to only target Deform bones only and non deform bones only.

This is complete, the UI needs a little cleanup but I do this in a UI cleanup nearer Alpha 2.
2025-01-26 15:22:20 +00:00
Yusarina 1333b4d2d4 Rigify To Unity
Not Complete Yet however this is almost ready for Prime time. This converts the basic human armature for righfy to a Unity standard.

This may work for the more advanced human rigfy armatures as well and I planning to improve this before Alpha 2.
2025-01-26 14:51:02 +00:00
Yusarina 4b69832ca1 Merge pull request #101 from Yusarina/Alpha-2
Add UV Tools
2025-01-25 17:50:01 +00:00
Yusarina 071b8186c9 Add UV Tools 2025-01-25 17:48:54 +00:00
Yusarina 9ad760bfb8 Fixes
- Fixes issue with addon registration which just randomly broke at some point
- Fixes issue where merge armatures decided to break due to me messing up with properties.
- Fixed issue where you still had to select the mesh in the 3D Scene for viseme creation even though we have a UI selector now.
2024-12-23 18:16:52 +00:00
Yusarina cbc973b0be Combine Materials Add UV map synchronization 2024-12-18 23:28:45 +00:00
Yusarina 8665292c7b Fixes and Improvements
- Improved typing in some areas.
- Improved code readability in some areas.
- Delete bone constraints would error out if the user is in edit mode, we now start in Object mode first.
- Fixed Eye tracking Ajust string not being in the translation files.
- There is now a selection box to select the mesh in the current active armature for viseme creation instead of the user having to select it in the 3D scene.
- Viseme preview mode won't allow you to start it if your in a other mode, you need to be in Object mode now.
- Combine Materials won't allow you to start it if your in a other mode, you need to be in Object mode now.
- Added Japanese and Korean UI Languages.
2024-12-18 02:44:26 +00:00
Yusarina c233e8aace Fixes 2024-12-16 13:57:12 +00:00
Yusarina c71154b0dc Fixes 2024-12-16 13:42:40 +00:00
Yusarina 653bc88f6e Merge branch 'main' into pr/82 2024-12-16 13:09:39 +00:00
Yusarina aaad062b41 Finale Fixes 2024-12-16 12:57:51 +00:00
Yusarina c081b89233 Attach Meshes 2024-12-16 12:29:35 +00:00
Yusarina 847bf68f9d Fixes 2024-12-16 01:40:03 +00:00
Yusarina 2af7a4739a Armature Merging 2024-12-16 01:34:38 +00:00
Yusarina 1916890966 Eye tracking fixes 2024-12-15 22:04:09 +00:00
Yusarina 87a351cea4 Added Eye tracking and Visemes 2024-12-15 20:14:26 +00:00
989onan 758cf0e760 almost there with this one, LZMA and LZ4 don't work 2024-12-14 18:21:32 -05:00
Yusarina f4dc74d091 Fixes 2024-12-14 01:10:24 +00:00
Yusarina 1e0fe403aa Re-do 3rd attempt I hate MMD stuff 2024-12-13 01:59:28 +00:00
Yusarina c39f77d6d5 Re-do still hate it 2024-12-08 06:52:05 +00:00
Yusarina 3e187bd18a Start of MMD Tools
- The idea is to have several buttons which kinda mimic what Cats used to do.
- These are very basic, don't work very well, will improve before Alpha 1.
2024-12-05 15:09:40 +00:00
Yusarina b1631b2868 Tools Panel Finished. 2024-12-05 14:44:41 +00:00
Yusarina 5ce3f9ff68 Start of Tools Panel
Several Improvements and etc. Still need to do the other half of the functions but getting there.
2024-12-05 13:36:25 +00:00
Yusarina 9cc5a41a98 Optimzation Panel Re-Added
- Major Improvements all round, Join Meshes improved, Combined Materials, Remove Doubles Improvements.
2024-12-05 01:13:10 +00:00
Yusarina 9961223548 Setting Panel Added, Debuging Added.
Added the Armature Validation modes now, we have Stritct, Basic and None, it will give a warning to the user in the panel if there have it set to basic or none.
Settings panel added, langauge change has been added back. Did some work on it to slightl improve the system.
Added dubug area, basically everything but autoload will use logging now, you be able to turn it on/off in debug settings.
Did other bits and bobs.
2024-12-04 14:58:34 +00:00
Yusarina 5dcaba381d Pose mode improvements, armature validation improvements.
Pose mode Improvements:

Batch processing for all mesh operations
Numpy-powered vertex array handling
Optimized modifier stack management
Smart shape key processing
Enhanced progress tracking

The armature validation system improvements:

Essential bones (hips, spine, chest, neck, head)
Proper bone hierarchy validation
Symmetry pair verification (e.g., arm.l/arm.r)
2024-12-04 00:54:21 +00:00
Yusarina ff23d23cfc Start of the Major Overhaul
I decided to go through each function and UI section one by one, improving and overhauling things. Each function and section is going to be fully tested and not rushed out.

This is the best way to catch things, but also include the code base as much as possible.
2024-12-03 22:58:17 +00:00
Yusarina 7f9dc20564 Fixes 2024-12-03 17:40:31 +00:00
Yusarina 7e584e3648 Fixes
This fixes is to get everything working on the new auto load and properties system.
Also some other small fixes.
2024-12-03 01:26:10 +00:00
Yusarina fe8f5f69d5 Plugin Registration Changes
- Re-wrote how the plugin registers itself.
- No longer need @register_wrapper classes get auto detected and added.
- The new Auto loader is much better then the old way, no longer need "if "bpy" not in locals():" this was an old way of doing things and wasn't really efficient.

 using auto_load.py provides several advantages:

- It automatically discovers and loads all modules in the addon.
- It handles dependencies between classes correctly through topological sorting.
- It manages registration order automatically.
- It properly handles unregistration in the correct order.

This approach is much less error prone and I not had any issues so far. However it still needs testing fully.

I have also start to re-organise files into folders as well, this is going to be needed so we don't have a long list of files as Avatar Toolkit is getting larger then i originally planned.
2024-12-02 01:52:11 +00:00
Yusarina 6b6773e70a Further Fixes to Optimise Armature 2024-11-27 03:41:57 +00:00
Yusarina 503b8f0919 Make sure it end in Object mode 2024-11-27 03:36:56 +00:00
Yusarina 27ebd5ebfb Fixes
- Optimise Armature no longer errors out and bones don't change position now.
- Improvements to remove zero bones.
2024-11-27 03:34:10 +00:00