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

44 Commits

Author SHA1 Message Date
LJW-Dev b26a8d4d9c feat: clipmap linker now has support for maps smaller than the minimum BSP node size 2026-05-16 09:44:35 +02:00
LJW-Dev 4ddb157a63 fix: gfx linker was not drawing the last surface in the surface array 2026-05-16 09:44:35 +02:00
LJW-Dev 2039658737 feat: moved surface type to material extras, and surface flags to the node extras 2026-05-16 09:44:35 +02:00
LJW-Dev 3a2d332d0c feat: surface type and flags can now be set through the GLTF file 2026-05-16 09:44:35 +02:00
LJW-Dev b744c8d7cb fixed error handling for xmodels and materials, and updated xmodel linker to check if an xmodel has valid collision. 2026-05-16 09:44:34 +02:00
LJW-Dev 7ea2ebedbb feat: load xmodels from GLTF and link them, xmodel collision not working yet. 2026-05-16 09:44:34 +02:00
LJW-Dev 7a9d1fa7cb fix to bsp materials so they require a name 2026-05-16 09:44:34 +02:00
LJW-Dev af088c2958 feat: spawn points are now defined in the GLTF file using custom properties. Initial xmodel implementation also included. 2026-05-16 09:44:34 +02:00
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 21ddc368f5 Spot lights now are fully implemented, with omni and directional not working. 2026-05-16 09:44:33 +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 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 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 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