Robert Beckebans
9f50dbc9bc
Astyle
2022-11-11 13:12:38 +01:00
HarrievG
389798ee4b
[!] Corrected Spot light transforms
...
[+] Added support for GLTF cameras. useable with idCameraView and idAnimatedCamera
2022-11-11 13:11:21 +01:00
HarrievG
3d366ba386
[!] Fixed runtime reloading for gltf models
...
[!] Fixed timestamp check for static models
2022-11-11 13:11:21 +01:00
Robert Beckebans
e9284c3818
Use fixed size (-8 -8 0, 8 8 16) bounds for all model based entities for TB
2022-11-02 15:51:12 +01:00
Robert Beckebans
3a877568e4
Support glTF2 vertex colors for static models
2022-10-29 19:08:12 +02:00
Robert Beckebans
b53271fc68
No need to set the rotation for the Blender lights
2022-10-29 18:25:56 +02:00
Robert Beckebans
7166b50501
Astyle
2022-10-29 17:42:09 +02:00
HarrievG
889f613610
[+] Ext_KHR_lights_punctual::Point support
...
[!] Fix for multple collections, entity names will be written out according to the full hierarchy.
2022-10-29 17:37:47 +02:00
HarrievG
2cf8d5c8f9
[+] Recursive entity/collection support for gltf maps
...
[+] KHR_lights_punctual spotlight support
2022-10-27 12:10:32 +02:00
HarrievG
9589ea300d
[+] Inline support for gltf maps; add "inline" 0 property to an idStaticEntity or func_static to not inlude it in the map bsp. Defaults to 1
2022-10-27 12:10:32 +02:00
Robert Beckebans
73b70ce4ba
Astyle
2022-10-19 18:26:14 +02:00
Robert Beckebans
f11ae43dcf
Merge pull request #707 from SRSaunders/compiler-fixes
...
List.h fix and Doom Classic snprintf() fixes for modern clang and gcc compilers
2022-10-19 18:15:29 +02:00
Robert Beckebans
2a9d846dab
Merge pull request #699 from Admer456/better-idlist-perf
...
Thanks for the contribution :)
2022-10-19 18:14:19 +02:00
Stephen Saunders
4691a4cf01
Include STL <algorithm> in List.h to define std::copy() for clang 14+
...
(cherry picked from commit 2c36496af53d89a74cf3e9d7889a019c829afb48)
2022-10-18 14:24:05 -04:00
Robert Beckebans
f08657cb3f
Fixed random Unknown punctuation error while loading a glTF2 model
2022-10-01 13:59:10 +02:00
Admer
93b8564b6e
Add move semantics to idList and idStr
...
* idListArrayResize uses std::move
* idStr implements move constructor
* and move operator
* mpMap_t also implements a move operator
2022-09-26 20:54:27 +02:00
Robert Beckebans
d8aba3e850
Renormalize normals & tangents from dmap .glb import
2022-09-26 11:50:29 +02:00
Robert Beckebans
0b677fe752
Fixed dmap .glb world+entity geom for the Y-Up case
2022-09-26 10:06:13 +02:00
Robert Beckebans
64cd34412c
Fixed math problem and transposed idMat4::ToMat3()
2022-09-26 00:30:20 +02:00
Robert Beckebans
379057ecaa
Cleanup
2022-09-24 21:28:39 +02:00
Robert Beckebans
d3227eb2b0
Sub meshes for entities from Blender work but only without the Y-Up option
2022-09-24 21:06:30 +02:00
Robert Beckebans
03c1a91647
Attempt to use submodels with origin != 0 0 0
2022-09-24 20:13:48 +02:00
Robert Beckebans
5569af4f26
Astyle
2022-09-17 08:55:07 +02:00
HarrievG
4401deac27
idList iterator fix
...
parser cleanup fix
2022-09-17 08:55:07 +02:00
Robert Beckebans
a86e001738
Added more Makkon textures to convertMapQuakeToDoom cmd
2022-09-12 18:53:26 +02:00
Robert Beckebans
5d5de028ea
Improved Quake .map converter to get Makkon's samplemaps working
2022-09-11 15:34:29 +02:00
Robert Beckebans
b04ba7fcfd
Fixed GCC compile error caused by the glTF2 code
2022-09-05 22:07:19 +02:00
Robert Beckebans
3c1bcc2153
Fixed Linux compile issues caused by glTF2 code
2022-09-05 19:29:11 +02:00
Robert Beckebans
fd6eee32e3
Removed idVec4i
2022-09-04 16:15:02 +02:00
Robert Beckebans
4258367037
Fixed glTF2 bounding box calculation if GPU skinning is used
2022-08-16 20:35:52 +02:00
HarrievG
8b5dc677e3
- fixed asserts while converting gltf meshes primitives
2022-08-16 20:26:37 +02:00
Robert Beckebans
3ea4ac29fe
Fixed support for glTF2 uint16 weight indices
2022-08-16 13:00:52 +02:00
Robert Beckebans
c52e4c345d
( ) -> ()
2022-08-15 12:23:38 +02:00
HarrievG
486315c7e7
- removed global gltfParser so it cannot be used as an singleton anymore.
...
- fixed destruction and cleanup of gltfData and gltfParser
- gltfParser always fixes up skeletonID's for skins that do not have it set.
- fixed gltfData::GetAnimation to also check for duplicates taking multple targets for the same animation into account.
- several boneless animation fixes
[!] [ BUG WARNING ] Be aware -> for some reason models/meshes that use multple textures are not drawn correctly; ATM onlt single texure users are correct.
2022-08-14 13:43:12 +02:00
HarrievG
ecaf297ef6
Allow for multple GLTF/GLB to be loaded at the same time.
2022-08-07 15:56:46 +02:00
HarrievG
7e7ee22f3b
AAS support for MapPolygonMehses
2022-08-03 02:14:06 +02:00
HarrievG
e56f696c9c
- Skinned / animated GLTF models
2022-07-31 12:13:07 +02:00
HarrievG
edf657f50d
- Initial GLTF Animation Implementation. For now only supports boneless TRS animations without scale.
...
![only works with r_UseGpuSkinning 0]!
- Writes bmd5anim for each animation. its not perfect yet but, rot + trans looks good.
- Model tag supports gltf Animations. Indexed the same way as meshes.
- Enabled weights and bone index in ConvertFromMeshGltf
2022-07-10 21:09:25 +02:00
HarrievG
8030a5b1de
- idRenderModelGLTF now set dynamicModel_t to DM_STATIC when no anims are found, or to DM_CONTINUOUS
...
- idRenderModelGLTF now does only transform the model verts on read for DM_STATIC. Vertices for dynamicmodels are transformed on instantiation [wip]
- A-Style update
2022-06-24 21:40:08 +02:00
Robert Beckebans
d87d05e82c
Split Model_gltf.cpp into idlib/MapFile_gltf.cpp
2022-06-21 00:18:24 +02:00
Robert Beckebans
57b0b9620f
Fixed idassert in Release builds
2022-06-20 20:55:50 +02:00
HarrievG
72b535f0ac
- Fixed bsp/worldspawn scene node traversal
2022-06-19 01:26:16 +02:00
Robert Beckebans
0cb72166f8
Added missing copyright notices
2022-06-18 11:09:09 +02:00
Robert Beckebans
fd6c589da0
( ), ( void ) -> ()
2022-06-18 10:43:30 +02:00
Robert Beckebans
35d809a145
Astyle
2022-06-18 10:36:48 +02:00
HarrievG
e5ecb219e5
- hierarchical bsp/worldmodel loading
...
- gltf support for model def. Looks up item within the "models" scene of the target gltf!
2022-06-18 01:18:28 +02:00
Robert Beckebans
2d133b6910
Made hashing faster in MapPolygonMesh::GetGeometryCRC()
2022-06-11 11:54:01 +02:00
Robert Beckebans
f7db9d0ab7
Simplified allocations and fixed potential crash if materials are missing
2022-06-11 11:45:09 +02:00
HarrievG
faa9207d01
- Fixed GLTF Mesh -> Polygon Mesh creaton
2022-06-10 10:27:17 +02:00
Robert Beckebans
c74ed79e8d
Support the Valve 220 texture projection in MapPolygonMesh::ConvertFromBrush()
2022-06-08 21:34:04 +02:00