Commit Graph

138 Commits

Author SHA1 Message Date
Yusarina c31d25dd01 Update Logging
You can choose between errors, warning, info or full debug, errors will always log to ensure we don't have silent failures with debug on or off.
2025-04-11 23:45:36 +01:00
989onan f28e1866a9 Add AMFOWSH
Add apply modifier for object with shapekeys tool
2025-04-03 02:57:06 -04:00
989onan 71b22813a8 added request #112
added request #112
2025-04-02 23:21:05 -04:00
989onan f16105517e fix flip animation
add to menu
fix resonite animx importer bug

add flip animations

add flip animation keyframes to help users rekey and remake animations as if they were mirrored.
2025-04-02 23:21:04 -04:00
989onan 199551a505 add remove zero weight vertex groups to panel 2025-04-02 20:45:32 -04:00
989onan 5cad28a41b fix pointers
fix pointers in operators to point to class bl_idname property
2025-04-02 20:35:59 -04:00
Yusarina 12083c28c5 Small fixes 2025-04-01 17:32:45 +01:00
Yusarina 0ff2dc1c38 I swear I fixed the issue before we Armautre and Mesh attach, also fixed permission. 2025-03-31 23:22:35 +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
Yusarina 2a2c3d3973 Merge branch 'Alpha-2' into Amrature-Validation-P2 2025-03-24 02:14:41 +00:00
Yusarina c65bed3ff4 Armature Validation P2
- Added Highlight Bone System in the 3D View, can be turned off in settings.
- Added more bones to the acceptable bone lists.
- Fixed issue with properties registrations and unregistration, the system is more rebust now.
- Added a validate t-pose system
- Added a detect bone scales system.
- Fixed some translation strings
- Armature validation now uses logger system.
2025-03-24 02:12:03 +00:00
Yusarina dac25e0dc0 Bug Fixes
- Fixes issue where some tools would not be displayed, fixes: #120
- Fixes issue with the resonite utils throwing errors.
- Fixes issue with visemes panel throwing errors.
- Fixes issue where the viseme mesh selector was showing all objects (Armature and etc) it now just shows meshes.
2025-03-23 13:38:18 +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
Yusarina 6412b6f619 Better checks
- Added standard list.
- Added bone_hierarchy list
- Added bone_hierarchy
- Better checks.
- Better UI.

This is the first part, still needs alot of work, but this is better then before. Need to add some more standards and then we will be golden.
2025-02-07 18:18:09 +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 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
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 f376b06caf Fix 2025-01-25 17:57:33 +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 2bb1826346 Importer Fix
- Not sure how I managed to just hardcode fbx only and not add import anything back.
2024-12-23 23:46:29 +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 7a6244f755 Fix to export button 2024-12-16 17:31:04 +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 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
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 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 bb77d54a49 UI Improvements for Atlasing
Made some UI imprvoements to the Atlas system, uses icons, able to collapse materials to prevent a huge long list and more.
2024-11-26 03:50:56 +00:00
Yusarina 4d20ce77f7 More Fixes
- Fixes an other error in the updater due to urllib not being imported and used correctly.
- Small Atlas Texturing fixes and UI Improvements.
2024-11-26 03:12:42 +00:00