Commit Graph

109 Commits

Author SHA1 Message Date
989onan a24842d01c Fix pmd and pmx importing somewhat 2024-09-11 20:20:26 -04:00
Yusarina dd751a9d32 Merge branch 'main' into MergeBones 2024-09-11 01:36:05 +01:00
989onan dc2b6e46ce Add Bone Tools
- Added merge to active to tools section for bones
- Added merge to individual parents, which merges each selected bone to their parent bone
2024-09-06 12:32:50 -04:00
Onan Chew a08d888acb More cleanup
- operator strings are referenced via the class property rather than a hard coded string
- class names have been cleaned to have _OT_ or _PT_ depending on the kind of class it was.
- Class names should mostly be CamelCase now.
2024-09-04 20:16:34 -04:00
989onan 148797ece2 Cleanup some stuff 2024-07-29 13:03:31 -04:00
Yusarina 771c4926a6 Progress System
- Added Progress system so the user knows something is being done when there use certain functions. Currently only Join Meshes, Viseme creation and combine materials use it.
- Disbabled some translation debguing stuff to remove spam from the console.
2024-07-25 23:06:20 +01:00
Yusarina bb108d28a0 Importing now removes default cube, camera and light. 2024-07-25 22:18:40 +01:00
Yusarina 281c53e577 Core Translations 2024-07-25 03:22:31 +01:00
Yusarina 05cc6c830c UI Order Fixes 2024-07-25 02:25:09 +01:00
989onan 0af4380474 oops 2024-07-24 21:15:08 -04:00
989onan 66b4b14447 reee 2024-07-24 21:13:34 -04:00
Onan Chew b018708005 Merge branch 'main' into Texture-Atlasing 2024-07-24 20:49:25 -04:00
Yusarina 018a080a47 Update common.py 2024-07-25 01:45:21 +01:00
Yusarina deaada347a Shapey Key Update.
- Viesmes will now use selected armature.
- New dropdown menu in the viseme UI so the user can select which mesh to create visemes on.
- New helper function get_armature_meshes
- Added a new check before we create the new visemes to see if any exist, if there do we will remove them and create the new ones.
- fixed several issues and errors.
2024-07-25 01:42:34 +01:00
989onan 54f1800ead Hot Fix
fix texture atlas having registry problems, and the normal maps not looking good after being atlased.
2024-07-24 20:35:49 -04:00
Yusarina ddb76a0c90 Merge branch 'main' into viseme-dev 2024-07-25 00:57:08 +01:00
Yusarina 9bca4888f5 Merge branch 'main' into Digitigrade-legs-tool 2024-07-25 00:50:56 +01:00
Yusarina c27ea638a1 Merge branch 'main' into Import-Anything 2024-07-25 00:48:27 +01:00
989onan 65ddea16e8 Fix problems
- fix errors
- add import to UI
2024-07-24 19:27:46 -04:00
989onan 7401ba78d5 Adds a bunch of import methods
Yes I did do this code all myself and they have been looked over and modified since proposed to other addons.

The commented MMD animation importer is stashed as a comment for now till an MMD animation importer is properly created.
2024-07-24 18:20:28 -04:00
989onan ce1cc79664 yuck
oml fix!
2024-07-24 17:53:02 -04:00
989onan bf108eb94a Merge branch 'Digitigrade-legs-tool' of https://github.com/989onan/Avatar-Toolkit into Digitigrade-legs-tool 2024-07-24 17:50:04 -04:00
989onan 6d4b115855 oops
took changes from another branch, this should yeet
2024-07-24 17:49:26 -04:00
Onan Chew b12904341c Merge branch 'main' into Digitigrade-legs-tool 2024-07-24 17:45:37 -04:00
989onan ce7c6aa664 Add digitgrade legs tool 2024-07-24 17:41:17 -04:00
Yusarina a8d7cd3032 Typing 2024-07-24 00:52:04 +01:00
Yusarina 76046f7c6d Armature Selection Improvements.
- Added a check to make sure Armature is valid.
- Added a helper to select the current armature  selected in armature selection.
- Added a helper to get all meshes.
- Updated all current functions to work with the system.
2024-07-24 00:27:14 +01:00
Yusarina 06c7cff4b7 Basic Start of Armature Selection 2024-07-22 23:13:10 +01:00
Yusarina 936b6b37c3 Merge branch 'main' into viseme-dev 2024-07-22 22:25:12 +01:00
Yusarina 703bd57ecf Merge branch 'main' into main 2024-07-22 22:16:55 +01:00
Onan Chew 97e44f7420 Merge branch 'main' into Texture-Atlasing 2024-07-22 17:12:37 -04:00
Yusarina ee84ae640a Translation Popup now added.
Due to some werid thing in Blender 4.2+ where we just can't get descriptions to translate, we now tell the user some translations won't apply unto restart.
2024-07-22 01:56:22 +01:00
989onan 5a3cc5a087 Finally works
This is a good first start to material combining
It may need a few tweaks from here, but for now it should be good
2024-07-15 01:51:59 -04:00
989onan 942e7e2868 Got images working
- does not do UVs yet
- is able to pack images using a split algorithm. I think I broke the size finding though for the output canvas.
- does not combine materials after packing
2024-07-14 23:55:20 -04:00
989onan e875f9192a Fixed the UI to be much better
- ui for materials is now a list with no duplicates
- auto detects that materials have changed and prompts the user to reload
- due to context limitations in code, user is needed to reload the materials, but the ui is made so the user is forced to reload the materials to see them
- later on, we should prevent user from atlasing if the material list is not up to date.
2024-07-14 15:36:01 -04:00
Yusarina 2107c11e66 Organise Code and fixes.
- Organised some of the code better.
- Fixed sort order loop.
- Added typing in some places there wasn't.

This is a very basic start to Viesme creation, I still need to add translations for some stuff and improve it. This is very much inspired from the Cats Version.
2024-07-08 10:14:30 +01:00
Yusarina cce7e986bb Re-add typing 2024-07-08 09:42:16 +01:00
Yusarina 07b2dba51f Basic Viseme Creation Support
Does not work yet, but it's the start
2024-07-08 09:41:46 +01:00
Yusarina eaafd3bb69 Translation Updates.
- Added addon_preferences so we can save users preferences into a json file.
- Made translation slightly simpler

This mostly works just have to figure out why we can't update description on reload (There only update on blender restart).
2024-07-08 09:13:52 +01:00
989onan 23b4656859 Added part of Texture Atlas UI
-added dynamic list for texture atlas ui
- ui isn't the most intuitive but it will do for now
2024-07-07 22:36:10 -04:00
989onan bfdbac8412 start work on texture atlas structures
start of something big
2024-07-07 19:11:50 -04:00
Yusarina ce9cc9684f Translation Update
Translation System now works!
2024-07-05 13:01:59 +01:00
Yusarina 6918b22657 Merge branch 'teamneoneko:main' into fbx-import 2024-07-05 12:08:51 +01:00
Yusarina 0658e3a86f Merge branch 'teamneoneko:main' into main 2024-07-05 12:08:38 +01:00
989onan 4808d288e2 Added Resonite Tools
- Added Resonite translation with automatic <NOIK> marking. If this doesn't work, please improve the dictionary, or hook it along with others into a better translation layer to deal with identifying body parts
- Added Resonite export, which simply exports the model with the proper settings as a GLB/GLTF for more graceful importing and editing within the game.
2024-07-04 16:38:31 -04:00
Yusarina 05d22902c7 FBX Import
- Add's the ability to import FBX Models.
2024-06-30 13:07:43 +01:00
Yusarina 72e9564a8e Remove old PMX and PMD folders as not needed anymore. 2024-06-30 12:53:56 +01:00
Yusarina 01f8363e07 Start of Translations
- This is the start of the translations system, does not yet work as I can't seem to get it to swap languages, I too tired today to fix it but it's a start.
- It also adds properties registration as well.
2024-06-19 02:32:02 +01:00
Yusarina 31f76931b9 Tpying 2 2024-06-19 00:01:26 +01:00
Yusarina fc0fb5035b Typing 2024-06-18 23:55:04 +01:00