Robert Beckebans
f22d7f511b
Merge branch '679-gltf-map-support2' into 679-gltf-map-support-nvrhi
2022-08-16 13:45:58 +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
Robert Beckebans
374897f750
Merge branch '679-gltf-map-support2' into 679-gltf-map-support
2022-07-02 12:55:10 +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
Robert Beckebans
d69db4ebad
Fixed rebase conflicts
2022-06-06 17:36:18 +02:00
Robert Beckebans
24845c7edf
gltf2 -> idMapFile fixes. dmap and map commands work
...
# Conflicts:
# neo/idlib/containers/List.h
2022-06-06 17:24:47 +02:00
HarrievG
c1c5917cda
+ id style gltf2 parser
...
+ initial attempt to dmap glb/gltf
[!] added blend file and glb for debugging purposes
# Conflicts:
# neo/idlib/containers/List.h
2022-06-06 17:24:37 +02:00
Robert Beckebans
60c990c1d9
gltf2 -> idMapFile fixes. dmap and map commands work
2022-06-06 16:13:32 +02:00
HarrievG
331d14567d
+ id style gltf2 parser
...
+ initial attempt to dmap glb/gltf
[!] added blend file and glb for debugging purposes
2022-06-06 00:53:44 +02:00
Robert Beckebans
a7d0b8d9e7
Astyle
2022-04-29 17:28:48 +02:00
Robert Beckebans
c2eeb037d9
Merge remote-tracking branch 'CodeLikeCXK/635-nvrhi1' into 635-nvrhi2-arm
2022-04-29 17:27:51 +02:00
CodeLikeCXK
8520b23a56
Add windows arm support (without optimization). To do list: implement Neon
2022-04-28 18:48:17 +08:00
Robert Beckebans
1279a27a43
Copied TAA from Donut framework
2022-04-12 18:15:48 +02:00
Robert Beckebans
f6fd593c72
Added faster Quad Tree for rectangle packing
2022-04-01 17:10:53 +02:00
Robert Beckebans
d6a43278db
Don't use atlas for interactions that didn't fit into the atlas
2022-04-01 13:55:34 +02:00
Robert Beckebans
a18d2609ce
Merge branch 'master' into 635-nvrhi1
2022-03-30 12:08:40 +02:00
Robert Beckebans
51d317543c
Sync NVRHI branch by SP
2022-03-22 11:16:44 +01:00
Robert Beckebans
91ae3aa3ed
Sync NVRHI branch by SP
2022-03-15 11:41:56 +01:00
Robert Beckebans
5ebbbf32e4
Added support for the prototype.wad in the convertMapQuakeToDoom cmd
2022-03-02 17:47:05 +01:00
Robert Beckebans
6d7ebabcbf
Fixed a divide by zero bug in the convertMapToValve220 cmd
2022-03-02 09:27:09 +01:00
Robert Beckebans
920df3df63
Tweaked export to TrenchBroom cmds with proxymodels
2022-02-27 13:56:14 +01:00
Robert Beckebans
67aaf93af8
Added 2D Bin Packing library
2022-02-26 18:48:15 +01:00
Robert Beckebans
9cc5fa7a3a
Write labels above model groups in zoo maps
2022-02-24 22:14:40 +01:00
Robert Beckebans
cbc9a31b74
Added cmd makeZooMapForModels
2022-02-23 22:52:23 +01:00
Robert Beckebans
1d93ad0a58
It can start and load a map!
2022-02-21 21:26:36 +01:00
Robert Beckebans
535e56f580
It's compiling!
2022-02-21 19:56:21 +01:00
Robert Beckebans
025ba4419e
Added more missing files
2022-02-21 19:21:16 +01:00
Robert Beckebans
16a21fdeb8
NVRHI merge by Stephen Pridham part 1
2022-02-21 16:29:53 +01:00
Robert Beckebans
1f2df87be7
Fixed a couple of func_groups with TrenchBroom related bugs
2022-02-18 18:00:09 +01:00
Robert Beckebans
cde21c018d
Did a little Quake to Doom experiment
2022-02-05 15:49:50 +01:00
Robert Beckebans
e978d92aeb
Added TrenchBroom helper entities like func_door_model
2022-01-29 18:10:54 +01:00
Robert Beckebans
92c5cbf758
convertMapToValve220 now works with just the .resource files
2022-01-21 18:33:42 +01:00
Robert Beckebans
55abfc26aa
Added entityDef misc_model helper for TB
2022-01-09 11:41:01 +01:00