Commit graph

1233 commits

Author SHA1 Message Date
Robert Beckebans
64cd34412c Fixed math problem and transposed idMat4::ToMat3() 2022-09-26 00:30:20 +02:00
Robert Beckebans
868fd1dce3 .glb models require the +Y-Up option to be turned off 2022-09-25 14:16:29 +02:00
Robert Beckebans
111c554215 Merge branch '519-background-music' 2022-09-25 13:32:13 +02:00
Robert Beckebans
d36cbec34b Make sound files in base/music/* automatically loop 2022-09-25 13:31:56 +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
d6f4ccb072 Extended dmap glview option to print an ASCII art BSP tree in the proc file 2022-09-21 18:38:23 +02:00
Robert Beckebans
6512628af8 Tweaked dmap -glview option to dump an .obj next to the .proc file with similar content 2022-09-20 18:01:18 +02:00
Robert Beckebans
f426ae3472 Bumped required C++ standard to 14 2022-09-17 08:55:55 +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
55b9937380 Formatted jpeg-6 code with Astyle 2022-09-12 20:47:41 +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
4335eed1a7 Added sample sound shaders for looping background music 2022-09-10 22:09:24 +02:00
Robert Beckebans
18a4af8dd4 Formatted terrible oggvorbis code with Astyle 2022-09-10 21:28:59 +02:00
Robert Beckebans
3219e86f01 Also play music after loading a savegame 2022-09-10 21:14:24 +02:00
Robert Beckebans
12c9664a55 Scan for music/*.ogg files and play a different track for each map 2022-09-10 19:52:35 +02:00
Robert Beckebans
7e4694aa3e Merged Ogg Vorbis support from DNF id Tech 4 branch 2022-09-10 14:01:35 +02:00
Robert Beckebans
d7d3694118 Added ancient oggvorbis code from vanilla Doom 3 2022-09-10 13:35:51 +02:00
Robert Beckebans
4652eb94d9
Merge pull request #646 from davidebeatrici/collisionmodel-contactinfo-material-id-init
cm/CollisionModel: Initialize "material" and "id" fields in "contactInfo_t"
2022-09-05 22:33:15 +02:00
Robert Beckebans
de6ab9d31f Removed #define JPEG_INTERNALS from Cinematic.cpp. Closes #684 2022-09-05 22:29:53 +02:00
Robert Beckebans
539c3a93cd Formatted doomclassic code with Astyle 2022-09-05 22:25:33 +02:00
Robert Beckebans
b04ba7fcfd Fixed GCC compile error caused by the glTF2 code 2022-09-05 22:07:19 +02:00
Robert Beckebans
30b394bd3f Fixed inconsistent override warnings 2022-09-05 21:57:17 +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
b775de0e99 Merge branch 'master' into 679-gltf-map-support2 2022-09-04 13:41:47 +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
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
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
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