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

3262 Commits

Author SHA1 Message Date
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
LJW-Dev 42d4f6f54d WIP:
- Updated names to allign with the BSP naming structure
- Updated constants file and assoicated uses
2026-05-16 09:44:23 +02:00
LJW-Dev 2d0b3a8924 WIP:
- Converted BSP tree generation to use unique ptrs
- Updated the linker to use BSP tree unique ptrs and use the new structure of custom map structs
2026-05-16 09:44:22 +02:00
LJW-Dev 81ba499852 WIP: Updating code to follow laupentin's code review.
Done:
- Moved custom map structures to their own objcommon header file
- Updated GfxLightGridRow struct
- Reverted shader_bin file path
- Renamed Project Creator to BSP Creator
- Removed model loading from BSP creator
- Cleaned up BSP Creator and updated the names of structs
WIP:
- Update BSP calculation code to be more readable and use unique/shared ptrs
2026-05-16 09:44:22 +02:00
LJW-Dev 65235168b6 Added a default entity string if the entity file isn't given 2026-05-16 09:44:22 +02:00
LJW-Dev f3bf16405c FIxed techset dumping and loading to be the same, as well as added a missing image check to the BSP compiler to reduce the output prints when an image is missing. 2026-05-16 09:44:22 +02:00
LJW-Dev 68435e8c74 Updated Json Material loader to support passing JSON instead of a stream, and added techset loading code 2026-05-16 09:44:21 +02:00
LJW-Dev 7908549dc8 Updated custom map objloading code to match new structure. 2026-05-16 09:44:21 +02:00
LJW-Dev 6acf19da6d Another refactor to remove leacy code that isn't used anymore 2026-05-16 09:44:21 +02:00
LJW-Dev d1baabdba6 Update T6 json material loading to include JSON being passed directy instead of a stream. 2026-05-16 09:44:21 +02:00