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

3284 Commits

Author SHA1 Message Date
LJW-Dev dd14988bad feat: xmodles have toggleable shadows 2026-05-16 09:44:36 +02:00
LJW-Dev f47792ebe4 feat: gfxworld now uses surface flags for surfaces 2026-05-16 09:44:36 +02:00
LJW-Dev 816fc2f7cb feat: Added console print when no spawns were found 2026-05-16 09:44:36 +02:00
LJW-Dev bdea5f32a7 fix: clipmap AABB generation skipped first object 2026-05-16 09:44:35 +02:00
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 7e11a04e44 feat: add gltf extras to node schema 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 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