Commit Graph

133 Commits

Author SHA1 Message Date
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
Yusarina 1d507ddaa0 Add some Basic Functions
- Added functions folder.
- Added Combine Materials (Basic and needs imporvements.
- Added common file, this is where any common things that could be used by multiple functions will live.
- Clean materials, basic at the minute it cleans up material names in the given mesh by removing the '.001' suffix.
- Added fix UV Cords in which is in common, this should fix faulty uv coordinates, may need improvements as it's was the best way i could think of for the time being.
- Added join all meshes and selected meshes functions, this will use the fix uv cords while joining mehses. This is pretty basic as blender is quite good at doing the mesh joining itself. We may want to expand it in the future though.
2024-06-18 03:54:10 +01:00
989onan 497478eb18 PMX working enough
- now the parser doesn't explode and gets to the end of the morphs. so now PMX can be imported
2024-06-15 16:58:25 -04:00
989onan 8c3d303f8d fix some things
- got it all the way to bone loading, but it's still broken
-purposeful assert(False) to stop the code. this should be removed later in order for this importer to work
- the reading of bytes is now improved for materials and vertices, so now at least the mesh, it's normal data, and some mangled bones import
2024-06-15 14:27:21 -04:00
989onan c0509bbaf4 fix stuff again
- got rid of upstream stuff generated by github, which made it blow up...
- got closer on the pmx importer working
2024-06-14 21:29:30 -04:00
989onan 88f12238c7 fix stuff 2024-06-14 19:21:52 -04:00
Yusarina 13f6e57f09 Added Comments 2024-06-14 23:44:52 +01:00
Yusarina 03c1fee622 Several Improvements
- Fixes decode issues.
2024-06-14 01:16:14 +01:00
Yusarina db455e6b61 MMD Importing Start
- This is a basic start to try and import both pmx and pmd files, not working 100% at the minute but I working on getting it working.
2024-06-13 22:46:40 +01:00
Yusarina 0f7c46b720 Initial Commit 2024-06-12 03:37:46 +01:00