Commit Graph

162 Commits

Author SHA1 Message Date
Yusarina b776ef78cb Hopeful Fix to UV's Imploding 2024-12-18 23:32:17 +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 a62ce2dfa8 Fix Importer 2024-12-16 13:12:33 +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 2af7a4739a Armature Merging 2024-12-16 01:34:38 +00:00
Yusarina 1916890966 Eye tracking fixes 2024-12-15 22:04:09 +00:00
989onan 2337449a77 AnimX importer done
Finished the importer for now, it may contain errors but those would be part of the library
2024-12-15 16:09:18 -05:00
Yusarina 87a351cea4 Added Eye tracking and Visemes 2024-12-15 20:14:26 +00:00
989onan ff4ae71832 almost working, getting some off by one byte errors 2024-12-14 22:23:37 -05: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
989onan c83f14f88b move methods around
this is separate to prevent confusion
2024-12-13 17:26:34 -05: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 4d681602e3 Fixes 2024-12-01 02:24:55 +00:00
Yusarina 8938a38620 Just updates toml to tolmlib
Blender decided to change something and not documented should fix some issues.
2024-12-01 02:20:38 +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
Yusarina 0ac4b4a144 Join Meshes Fixes 2024-11-27 02:56:12 +00:00
Yusarina 6484adedaa Fixes
- Fixed issue where blender would error when exiting due to property being register twice.
- Fixes missing strings.
- Attempt at fixes properties not clearing correctly.
- Updated Japanese json file with all latest strings.
2024-11-26 04:16:03 +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
Yusarina 346f73ebb0 Bug Fixes
- Fixes issue where console was getting spammed re armature selection.
- Fixes apply as rest pose issues and improves the system. https://github.com/teamneoneko/Avatar-Toolkit/issues/52
- Fixes Apply pose to shapekey, it does what it's meant to do now. https://github.com/teamneoneko/Avatar-Toolkit/issues/52
- Fixes error in updater when there no updates to list.
2024-11-26 02:42:17 +00:00
Yusarina 56706c859f Bug fixes
- First attempt to get Chinese Characters to work, kinda working, but also not.
- Small bug fixes.
2024-11-26 01:07:51 +00:00
Yusarina c1fa65ebdd Import Rigidbodies and Material Fixes
- Rigidbodies should now import
- Fixes in material import, we toon shader added.
- We now validate pmx data.
- Error messages improvements.
2024-11-26 00:43:17 +00:00
Yusarina e83bd31b4f Improvements
- Shapekeys now import
- Constraints should now import.
2024-11-26 00:13:47 +00:00
Yusarina 3284581d5a Fix expression bones and other bones. 2024-11-25 21:40:32 +00:00
Yusarina b551aac97d Re-write
Better, faster and working slightly better.
2024-11-25 21:27:49 +00:00
Yusarina 155c40d4d4 Improvements
- Improvements to materials, still needs work but looking better.
- Model imports the correct size now.
- Attempted to fix bones positions, rotations and etc, but failed, however the work I done should setup it up to work maybe....
- Minor improvements.
2024-11-17 20:31:58 +00:00
Yusarina e48226dab1 Bones now Import but still broken
- Bones now fully import
- Bones do not import the correct size or rotations it seem though.
2024-11-17 00:50:32 +00:00
Yusarina 4e18362451 Typing 2024-10-22 00:27:09 +01:00
Yusarina fd87d1d5d7 Auto update now works 2024-10-22 00:18:19 +01:00
Yusarina 1b908a4200 Fixes 2024-10-22 00:08:07 +01:00
Yusarina 2e06cc9945 Initial Updater
- More simple updater compared to cats
2024-10-21 22:17:38 +01:00
Yusarina 670115a947 VRM Added, Import Anything chages.
- Added VRM to the list of files able to be imported.
- Added error handling for missing vrm importer, will popup to the user telling them to download vrm addon.
- Removed automatically url opening as we should have user consent to open a url, automatic url opening goes against blenders best practices and can be a security concern.
- Optimised the way we import multiple models, the old way just added unnecessary complexity, The try-except block was used to iterate over self.files and set is_multi to True if no exception occurs. However, this is an unnecessarily complex way to determine if the list is non-empty. Simply checking the length of the list is more straightforward and efficient. The way we were using the try-except box could of also lead to silent failures which is not user friendly.
2024-10-14 00:13:08 +01:00
Yusarina fc0bafef48 Merge pull request #58 from 989onan/MergeArmatures
Add apply shapekey to basis
2024-09-22 22:46:55 +01:00
989onan 8191c795f4 Add apply shapekey to basis
add apply shapekey to basis to shapekey menu

I believe I wrote this simple implementation for Tuxedo, I don't remember how I came up with it.
2024-09-22 14:50:26 -04:00