2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00
Commit Graph

3271 Commits

Author SHA1 Message Date
LJW-Dev 67e09ecc40 BSP creator now loads seperate graphics and collision data. 2026-05-16 09:44:33 +02:00
LJW-Dev ed4c16251a Refactored light direction calculation. 2026-05-16 09:44:33 +02:00
LJW-Dev 60060e9a7a BSP creator now reads colour data from materials and applies them to the vertices. Minor GFXWorld fixups and extensions to accomodate the changes. 2026-05-16 09:44:33 +02:00
LJW-Dev d683967b1d Extended GLTF classes to support: material colours, and images buffer view index / image type. 2026-05-16 09:44:33 +02:00
LJW-Dev 21ddc368f5 Spot lights now are fully implemented, with omni and directional not working. 2026-05-16 09:44:33 +02:00
LJW-Dev 57f0ad8295 GLTF loader now has support for the punctual lights extension 2026-05-16 09:44:32 +02:00
LJW-Dev 06fcea48a8 feat: WIP add lights to the scene 2026-05-16 09:44:32 +02:00
LJW-Dev 6ce1f96ff9 Clipmap linker refactor, and AABB trees are seperated by material now. 2026-05-16 09:44:32 +02:00
LJW-Dev 4d822d392d Fixed incorrect order of operations during vertex matrix creation 2026-05-16 09:44:32 +02:00
LJW-Dev 7b89b9034d Minor fixes 2026-05-16 09:44:32 +02:00
LJW-Dev b4a269261e Fixed various warning messages 2026-05-16 09:44:31 +02:00
LJW-Dev 21dcf7b46d WIP unique tree for each material type 2026-05-16 09:44:31 +02:00
LJW-Dev a3953e2217 Materials now have their own vector and are acessed via indexes 2026-05-16 09:44:31 +02:00
LJW-Dev b5499b7a19 Clipmap linking improvements and bug fix 2026-05-16 09:44:31 +02:00
LJW-Dev f34e0bf061 Bux fixes for the clipmap linker 2026-05-16 09:44:30 +02:00
LJW-Dev f173494fc6 Minor improvements to GFX linker 2026-05-16 09:44:30 +02:00
LJW-Dev 07619d5ec4 Minor clipmap improvements 2026-05-16 09:44:30 +02:00
LJW-Dev 6be8143c85 Extended and fixed various GFXWorld linking code 2026-05-16 09:44:30 +02:00
LJW-Dev 663c5cfe28 Added tangent and binormal calculation, corrected scale, rotate and translate order of operations. 2026-05-16 09:44:30 +02:00
LJW-Dev bf0d527280 Vertex position is now transformed by node transform. 2026-05-16 09:44:29 +02:00
LJW-Dev 43e84b394e wip: map file format now uses gltf instead of fbx 2026-05-16 09:44:29 +02:00
LJW-Dev 2f07a70448 Moved the re-ordering of indices to the BSP creator instead of the BSP asset linker. 2026-05-16 09:44:29 +02:00
LJW-Dev 80fd8340fb Fixed a crash related to AABB Tree children counts exceeding the maximum limit 2026-05-16 09:44:29 +02:00
LJW-Dev 726809c2cb Extended BSP creation to support X, Y and Z splitting and simplified clipmap BSP generation. 2026-05-16 09:44:29 +02:00
LJW-Dev 23fc37b1c6 Moved coordinate conversion to BSP creator instead of the BSP linker, and added a console print of the maximum number of objects in a collision leaf. 2026-05-16 09:44:28 +02:00
LJW-Dev b8b67dc793 Undo changes to JsonMaterialLoader as they are no longer needed. 2026-05-16 09:44:28 +02:00
LJW-Dev 8303e7e830 Fixed missing parameter in the ufbx premake script causing the build to fail. 2026-05-16 09:44:28 +02:00
LJW-Dev 57d4c906af WIP: Updated premake scripts, removed non-submodule ufbx code, ported BSPCreator to use the submodule. OAT link still fails due to unknown premake issue. 2026-05-16 09:44:28 +02:00
LJW-Dev 39729e9058 Added ufbx as an ObjLoading include 2026-05-16 09:44:28 +02:00
LJW-Dev 0d40fb4b97 Updated ufbx premake lua to properly add it to the project 2026-05-16 09:44:27 +02:00
LJW-Dev 40220c2758 Added premake files for ufbx 2026-05-16 09:44:27 +02:00
LJW-Dev 7629fae34a Added ufbx to submodules. 2026-05-16 09:44:27 +02:00
LJW-Dev f29c0ce7b7 Refactored files to use CLANG formatting and linux compatabillty. 2026-05-16 09:44:27 +02:00
LJW-Dev 7fa635b3ce The linker should continue with building the fastfile if the asset list is empty and the map type isn't NONE. 2026-05-16 09:44:26 +02:00
LJW-Dev ff4c152f23 Assets with a name starting with ',' will now be always loaded as a default dependency. 2026-05-16 09:44:26 +02:00
LJW-Dev ed03a3167f The FinalizeZone step can now fail and the zone link will not ouput a fastfile if the FinalizeZone step fails. 2026-05-16 09:44:26 +02:00
LJW-Dev 9b661c41be Updated BSP linker to load assets on the FinalizeZone step. 2026-05-16 09:44:26 +02:00
LJW-Dev a64597c0fc Added the zone definition to the parameters of ConfigureCreatorCollection. ObjLoaderT6 has also been changed to conditionally add the BSP creator if the map type isn't NONE. 2026-05-16 09:44:26 +02:00
LJW-Dev c1c5a2c717 Added map type metadata parsing to zone file 2026-05-16 09:44:25 +02:00
LJW-Dev f1c176b3cf CLANG formatted ObjLoaderT6 2026-05-16 09:44:25 +02:00
LJW-Dev b092188326 Updated missing image and colour only image asset names to use materials loaded by the game. 2026-05-16 09:44:25 +02:00
LJW-Dev 1fe05574ef Formatted all BSP loading files using clang. 2026-05-16 09:44:25 +02:00
LJW-Dev dc881bc06c Refactored to make x64 builds succeed 2026-05-16 09:44:24 +02:00
LJW-Dev f5c35c078d Refactored GFX world loading 2026-05-16 09:44:24 +02:00
LJW-Dev af3284ab22 Refactored clipmap generation, further refactored other files to better use c++ 2026-05-16 09:44:24 +02:00
LJW-Dev 014fe103ac Refactor to improve C++ and safe code use 2026-05-16 09:44:24 +02:00
LJW-Dev c839a220b2 WIP: Finished updating BSP linker to use seperate files for each asset. 2026-05-16 09:44:24 +02:00
LJW-Dev 66d3e0e9de WIP: Converted custom map linker into different asset files 2026-05-16 09:44:23 +02:00
LJW-Dev 0e7b1e1d58 WIP: Prepared project for updating CustomMapLinker.h 2026-05-16 09:44:23 +02:00
LJW-Dev fbcf2dbd7c WIP:
- Updated file structure to use BSP naming scheme
- Re-wrote BSP creator to use c++ more efficiently
2026-05-16 09:44:23 +02:00