Commit Graph

264 Commits

Author SHA1 Message Date
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 f0323577c9 Merge pull request #26 from 989onan/RemoveDoubles
Remove doubles
2024-07-22 22:28:03 +01:00
Yusarina 936b6b37c3 Merge branch 'main' into viseme-dev 2024-07-22 22:25:12 +01:00
Yusarina 381d6cb25c Merge branch 'main' into RemoveDoubles 2024-07-22 22:21:49 +01:00
Yusarina 3eda657215 Merge pull request #22 from Yusarina/main
Start of Translations
2024-07-22 22:20:14 +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 f0a5f6d10a Added Authors to json 2024-07-22 22:08:38 +01:00
Onan Chew f28c8012eb Merge pull request #24 from Yusarina/fbx-import
Add Fbx import
2024-07-22 17:03:43 -04:00
Yusarina 041ce3e5d1 Added FBX Export 2024-07-22 02:24:33 +01: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
Yusarina 0c331bb857 Added Further missing translataions 2024-07-22 01:21:13 +01:00
Yusarina 63c8fe5ca6 Add missing translations 2024-07-22 01:09:16 +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
989onan 88061d2ad5 Update remove_doubles_safely.py
use the get armature method properly
2024-07-07 18:42:57 -04:00
989onan 12e651f68c Finished merge doubles
this now does doubles asyncronously
2024-07-07 17:49:03 -04:00
989onan 9ec186b1cf Added a modal for remove doubles
- made remove doubles a blender modal. this way the code can run over multiple frames.
- Since remove doubles is async now, the user gets feedback on which shapekey and mesh is being worked on
- this does not remove doubles correctly yet, but is very close to ready
2024-07-07 16:19:52 -04:00
Yusarina 03a24650f1 Small updates 2024-07-05 14:20:45 +01:00
Yusarina b7026b2a41 Improvements
- Added Most UI Translations.
- Improve Readability of the translation strings.
2024-07-05 13:47:09 +01: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
Onan Chew 9c50c48a49 Merge pull request #25 from 989onan/ResoniteTools
Added Resonite Tools
2024-07-04 16:51:38 -04: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 6a14b9651a Added back comments which vanished. 2024-06-19 02:52:12 +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
Onan Chew bbd0d0bd9f Merge pull request #21 from Yusarina/main
Typing updates to Join meshes, combine materials and common.
2024-06-18 19:16:59 -04:00
Yusarina 96d03075c0 Typing 3 2024-06-19 00:07:46 +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
Onan Chew bcf54bad05 Merge pull request #9 from Yusarina/main
Add some Basic Functions
2024-06-18 18:21:09 -04:00
Yusarina 81abc6ffd7 Some Baisc UI Improvements
Nothing much, just improving the UI looks a little bit, we now have Import and Export in a popup and I made some changes to some of the buttons. That's about it.
2024-06-18 22:58:29 +01:00
Yusarina 1f96df4b71 Merge branch 'unofficalcats:main' into main 2024-06-18 20:48:10 +00: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
Yusarina fa1dc6681c Merge pull request #2 from Yusarina/main
PMX AND PMD Import
2024-06-18 02:04:49 +00:00
Yusarina 7d60d285ea Merge pull request #2 from 989onan/main
fixed pmx parser kinda
2024-06-18 02:03:46 +00: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