Commit graph

3108 commits

Author SHA1 Message Date
Magnus Norddahl
d701987fb4 - don't pass sizes into VertexBuffer and IndexBuffer constructors
- CopyTexture bug fixes
2019-08-16 11:24:22 +02:00
Magnus Norddahl
fb137d46db - draw streamed vertices 2019-08-16 07:45:34 +02:00
Magnus Norddahl
dc3bd6cb9c - ignore release build files 2019-08-16 07:44:48 +02:00
Magnus Norddahl
edecd3f7aa - rename draw functions 2019-08-16 07:12:26 +02:00
Magnus Norddahl
5604685770 - remove old fixed function shader as it isn't used 2019-08-16 07:10:46 +02:00
Magnus Norddahl
55c404e689 - add raw mouse input 2019-08-16 06:39:18 +02:00
Magnus Norddahl
e035ff8113 - fix alpha ending up in red channel 2019-08-16 05:37:03 +02:00
Magnus Norddahl
c4dafbedc1 - implement alpha test 2019-08-16 04:10:03 +02:00
Magnus Norddahl
8ea439a5c2 - fix some rendering problems in visual mode 2019-08-15 14:49:49 +02:00
Magnus Norddahl
a292300eaa - use some more sane values for the frame buffer 2019-08-15 09:49:36 +02:00
Magnus Norddahl
e6731115ed - and we have visuals! 2019-08-15 09:40:49 +02:00
Magnus Norddahl
10c06cc662 - minor bug fix 2019-08-15 02:57:09 +02:00
Magnus Norddahl
a542385cd7 - force texture and buffer updating to go through RenderDevice 2019-08-15 02:52:21 +02:00
Magnus Norddahl
b41cb07eaa - Hook up texture creation and binding 2019-08-14 13:51:05 +02:00
Magnus Norddahl
1d09a0f86a - implement ApplyUniforms 2019-08-14 12:36:33 +02:00
Magnus Norddahl
3c44f77b60 - port all the direct3d shaders to glsl 2019-08-14 07:55:21 +02:00
Magnus Norddahl
14fd3c96e1 - remove Things2DShader, World3DShader, Effect and EffectShader 2019-08-13 04:12:04 +02:00
Magnus Norddahl
0b3725e2fa - remove Display2DShader class 2019-08-13 02:43:01 +02:00
Magnus Norddahl
2eaf323ad0 - fix vertex array object binding bug
- add shader program
- fix that alpha color was stored in red channel in Color4
- fix buffer upload bug
2019-08-12 08:33:40 +02:00
Magnus Norddahl
fd37c455d2 - Upload and apply vertex buffers, index bufers and vertex declarations 2019-08-10 07:46:29 +02:00
Magnus Norddahl
d48f032b71 - create OpenGL context 2019-08-10 02:32:08 +02:00
Magnus Norddahl
3fae1e9ef3 - add RenderDevice bindings 2019-08-10 00:46:51 +02:00
Magnus Norddahl
e3740033fc - rename classes with D3D in them 2019-08-09 23:22:16 +02:00
Magnus Norddahl
8ada3862e4 - rename files 2019-08-09 23:20:36 +02:00
Magnus Norddahl
407cc703b8 - implement enough of BuilderNative for GZDB to successfully run without crashing 2019-08-09 23:15:48 +02:00
Magnus Norddahl
37876f6d8a - add BuilderNative library that does the actual rendering 2019-08-09 06:18:08 +02:00
Magnus Norddahl
690a4d2e83 - remove DataStream class 2019-08-08 20:06:35 +02:00
Magnus Norddahl
c665bfca86 - remove SlimDX namespace 2019-08-08 18:24:33 +02:00
Magnus Norddahl
8f15e8d5e7 - Simplify code 2019-08-08 07:10:35 +02:00
Magnus Norddahl
e4b257a89a - remove SlimDX.DirectInput namespace 2019-08-08 04:21:57 +02:00
Magnus Norddahl
21b46010c1 Merge remote-tracking branch 'origin/master' into slimgl 2019-08-08 04:07:00 +02:00
Magnus Norddahl
c8845ae559 - remove SlimDX Stopwatch 2019-08-08 04:02:00 +02:00
Magnus Norddahl
3cff90d716 - remove SlimDX.Direct3D9 namespace 2019-08-08 03:51:21 +02:00
Magnus Norddahl
1be047d316 - Simplify D3DDevice 2019-08-08 03:19:11 +02:00
Magnus Norddahl
90b5c41517 - update solution to .net framework 4.7.2 and add build output files to .gitignore 2019-08-08 00:18:44 +02:00
Magnus Norddahl
4cec56b5d6 - remove SlimDX dependency 2019-08-08 00:05:21 +02:00
biwa
d2452abe5c - Improved the wording for the "hidden" UDMF sector flag to make clear that it only hides the sector on the textured automap 2019-07-16 20:46:38 +02:00
biwa
363a07c609 - Fixed a bug where a thread unsafe string length measuring method could cause a crash. Fixes #275. 2019-07-16 20:37:18 +02:00
biwa
2516b97cee - Added option to enable additive paint selecting without holding shift independently from regular additive selecting 2019-06-20 15:38:41 +02:00
biwa
8d75bfc3d2 - The missing textures checker now finds missing upper/lower textures on 3D floors when the appropriate flags of the Sector_Set3dFloor special are used. Fixes #269 2019-06-20 14:53:51 +02:00
biwa
a2567e4df5 - Textures will now wrap correctly in visual mode when the flag of the Line_SetIdentification special is set in Hexen format. Fixes #271 2019-06-18 21:20:14 +02:00
biwa
57054c132f - Fixed a bug where the unknown texture error checker didn't report unknown textures on sidedefs that were never seen. Fixed #270 2019-06-16 20:14:10 +02:00
biwa
34f2c308bd - More model texture loading weirdness is now regarded 2019-06-16 19:31:44 +02:00
biwa
c2b18a913e - Fixed a bug where textures for internal model skin names did not load when "Path" was specified in MODELDEF 2019-06-16 18:40:10 +02:00
biwa
70b2be5e73 - Fixed a crash that happened when there were OBJ elements without parameters 2019-06-16 12:05:03 +02:00
biwa
dc74617820 - Fixed a problem with OBJ models being flipped 2019-06-16 00:03:37 +02:00
biwa
97d4fdd78a @Fixed some compiler warnings 2019-06-15 21:26:43 +02:00
biwa
dde8742ff2 - Added support for Wavefront OBJ models
- Fixed a problem where model textures were not loaded from the textures directory or from TEXTUREx definitions. Fixes #173 and #226
2019-06-15 17:44:02 +02:00
biwa
44745bdbc8 - More speed improvements to the texture browser 2019-05-31 23:11:17 +02:00
biwa
48af52afcf - Improved performance of the texture browser. This should significantly reduce the times it takes to open the texture browser when using large texture sets 2019-05-31 00:20:12 +02:00