Robert Beckebans
88b02efd6d
Fixed camera clipping with static glTF2 models
2022-08-16 10:41:00 +02:00
Robert Beckebans
5f43800b02
Merge remote-tracking branch 'HarrievG/679-gltf-map-support2' into 679-gltf-map-support2
2022-08-16 09:21:12 +02:00
HarrievG
1d354e995f
- fix for file exclusive gltf models
2022-08-15 16:13:04 +02:00
Robert Beckebans
f451b41981
SP: Update debug drawing so that it's only allocating vertex/index buffer once.
2022-08-15 14:28:10 +02:00
Robert Beckebans
1e30b08363
SP: Fix null indexbuffer issue when the validation layers are enabled
2022-08-15 14:20:19 +02:00
Robert Beckebans
b709b4ee6b
Merged reloadImages fix from SP branch #674
2022-08-15 13:36:00 +02:00
Robert Beckebans
c52e4c345d
( ) -> ()
2022-08-15 12:23:38 +02:00
Robert Beckebans
e243072f56
Merge remote-tracking branch 'origin/679-gltf-map-support2' into 679-gltf-map-support2
2022-08-15 11:16:02 +02:00
HarrievG
457e0e143b
- Fixed missing surfaces in multi surface/texture gltf models.
2022-08-14 20:02:06 +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
d0ff0a7f64
Dont load GLTF data when loading bglb/bgltf
2022-08-07 15:05:14 +02:00
HarrievG
8e889c1804
Fixed non Simdpath for idRenderModelGLTF::UpdateSurface
2022-08-06 20:43:25 +02:00
HarrievG
2ef1fe3ce2
idRenderModelGLTF::NearestJoint
2022-08-04 01:40:59 +02:00
HarrievG
b41411f8d0
Fixed axis conversion for gltfModels with animated translations
2022-08-03 21:44:42 +02:00
HarrievG
7e7ee22f3b
AAS support for MapPolygonMehses
2022-08-03 02:14:06 +02:00
HarrievG
b6bccf19d0
Fixed gltf animation bounds.
2022-08-01 22:05:13 +02:00
HarrievG
c5f8af3b66
corrected sw skinning bounds
2022-07-31 21:37:42 +02:00
HarrievG
e56f696c9c
- Skinned / animated GLTF models
2022-07-31 12:13:07 +02:00
Trung Le
7544ae1718
Fix GCC12 warning on sprintf()
2022-07-29 23:34:30 +10: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
GoGo de Sica
c2b2598ced
Fix include in OpenGL RenderBackend
2022-07-04 00:55:57 +02:00
Robert Beckebans
14b960ff9f
Updated snapshot bat
2022-07-03 15:59:46 +02:00
Robert Beckebans
007ad7dde7
Don't use TAA jitter when capturing env probes!
2022-07-03 14:46:14 +02:00
Robert Beckebans
60330e2d8d
Always clear the envprobe FBO for lightgrid capturing
2022-07-03 14:16:04 +02:00
Robert Beckebans
cdc39a0294
Merged some smaller cleanups from the SP branch
2022-07-03 11:26:54 +02:00
SRSaunders
62161be257
Merge branch 'master' into cinematic-updates
2022-07-03 00:12:40 -04:00
Robert Beckebans
d292e46148
Merge pull request #644 from davidebeatrici/sound-openal-pointer-check-array
...
sound/OpenAL/AL_CinematicAudio.cpp: Remove address check against array, zero out music buffer on shutdown
2022-07-02 14:29:22 +02:00
Robert Beckebans
c824d41152
Fixed merge conflict
2022-07-02 13:01: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
Robert Beckebans
e0e04b4a65
Updated snapshot .bat
2022-07-02 12:48:22 +02:00
Robert Beckebans
525f00395c
Print engine version when starting to write a qconsole.log
2022-06-29 10:24:28 +02:00
Robert Beckebans
1664626bbb
Fixed window icon by adding the missing doom.rc
2022-06-28 09:31:57 +02:00
Robert Beckebans
ad922d6f49
Merge branch '655-nvrhi-gpu-skinning' into 635-nvrhi2
2022-06-27 19:56:30 +02:00
Robert Beckebans
539b25d799
Merged GPU skinning code by SP and did additional refactoring
2022-06-27 19:54:20 +02:00
Robert Beckebans
fbc07156d2
Merge branch 'master' into 635-nvrhi2
2022-06-26 15:46:48 +02:00
Robert Beckebans
3d269124b2
Don't generate collision models for every rendermodel in advance
...
(cherry picked from commit 82928cce8b6544466f4131b9bfd602ab2fa033d6)
2022-06-26 15:29:51 +02:00
Robert Beckebans
a664f8599e
Dmap: always write a .cm file, especially when overwriting from a mod dir
2022-06-26 15:29:13 +02:00
Robert Beckebans
04606dc3cf
Dmap: always write a .cm file, especially when overwriting from a mod dir
2022-06-26 15:28:15 +02:00
Robert Beckebans
ffd18bf9d4
Fixed duplication of glTF models
2022-06-26 13:24:55 +02:00
Robert Beckebans
5446ae31e4
Fixed binaryzation of .glb models that don't have 'models' as main scene
2022-06-26 12:23:21 +02:00
Robert Beckebans
cd41a6b785
Merge branch 'master' into 635-nvrhi2
2022-06-26 10:27:45 +02:00
Robert Beckebans
844bbb577f
Support the Valve 220 texture projection in MapPolygonMesh::ConvertFromBrush()
2022-06-26 10:20:58 +02:00
Robert Beckebans
0364eeb2f9
Automatically remove map collision .cm, .bcm files before running dmap
2022-06-26 10:20:57 +02:00
Robert Beckebans
131e4f1ce3
Crashfix: Don't refesh the screen using prints during engine shutdown.
2022-06-26 10:20:57 +02:00
HarrievG
833f112f4e
- gltfMesh support for mesh tag in idDeclModelDef
2022-06-25 15:05:59 +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
HarrievG
8f80816183
- binary loading/writing for (static) gltfMesh
2022-06-21 22:07:27 +02:00
HarrievG
6840b3a13e
- added cnew make batch file for vs2019
2022-06-21 00:44:01 +02:00
Robert Beckebans
90d329c78b
Moved FinishSurfaces for gltf
2022-06-21 00:20:25 +02:00