biwa
915d83c92a
- If geometry is selected and the geometry the modified slope handle belongs to is not selected it will now also be modified
...
- Made the slope handles hover closer to the geometry
2020-02-23 11:17:14 +01:00
biwa
f606f3bd7c
Drawing slope handles works correctly now
2020-02-22 19:45:12 +01:00
biwa
7154dec8c7
Code cleanup, added some comments
2020-02-16 22:07:20 +01:00
biwa
ff1ea95d86
Drawing visual slope handles is (mostly) working now
...
Also fixed some cases where slopes were applied incorrectly
2020-02-16 20:51:16 +01:00
biwa
d9cfc04e2e
More trying to get it to work...
2020-01-18 21:10:21 +01:00
biwa
247d3e7a97
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-09 20:05:34 +01:00
biwa
a14fc7cafd
Fixed an issue where grid background images were drawn upside down and moved in the wrong direction on the Y axis when scrolling
2020-01-07 22:26:21 +01:00
biwa
2c9235e4ea
Trying to figure out matrix black magic
2020-01-07 21:27:37 +01:00
biwa
8aee7fc550
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2020-01-04 22:15:13 +01:00
ZZYZX
0e7875e0ad
Fixed: light clipping on back faces was gone
2020-01-03 03:55:34 +02:00
ZZYZX
044dbbcfd0
Rewrote dynamic light support. Resolves #319 . Resolves #318 . Resolves #233 .
2020-01-03 03:22:33 +02:00
biwa
7e84883125
Some cleanups
2020-01-02 20:32:37 +01:00
ZZYZX
7b5d4a03e9
Write uniform data into separate structures
2020-01-02 21:32:08 +02:00
Magnus Norddahl
6450bdcc67
Improve error message if OpenGL context creation fails
2020-01-02 19:45:45 +01:00
ZZYZX
0fbebbe759
Allow functions block in a shader, error out on duplicate functions
2020-01-02 02:56:27 +02:00
ZZYZX
e015cc6fb1
Fixed token position for named tokens
2020-01-02 01:51:54 +02:00
biwa
55135f2982
- Handles on floor are shown
...
- Fixed a problem where the wrong plane was assigned to ceiling surfaces
2020-01-01 21:47:33 +01:00
ZZYZX
6374b498ab
Added GLSL shader preprocessor
2020-01-01 22:41:04 +02:00
Magnus Norddahl
73364a130e
Remove UTF-8 BOM if found
2020-01-01 09:21:41 +01:00
biwa
4bfbe567c1
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2
2019-12-31 23:46:56 +01:00
biwa
d7e259bc7e
Compute the length of the line in Plotter.DrawLine3DFloor with a method that actually works on big numbers
2019-12-31 10:57:29 +01:00
biwa
ba713f7a25
Ported visual sloping to UDB
2019-12-31 00:08:17 +01:00
Magnus Norddahl
03e50615f6
Remove explicit image unloading and fix previews
2019-12-29 22:59:57 +01:00
Magnus Norddahl
f97f2d36b1
Remove preview manager and remove CreateTexture
2019-12-29 20:48:11 +01:00
biwa
a024ac9f47
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder
2019-12-29 19:05:26 +01:00
biwa
c46e548a73
- Fixed vertical grid lines being 1 pixel off in their horizontal position
...
- Fixed a bug where lines with 3D floor indicators were 1 pixel off in their horizontal position
2019-12-29 19:04:33 +01:00
Magnus Norddahl
ca3fa76e32
Rename the sampler filters so that they use the same naming convention as modern graphics APIs
2019-12-29 18:54:22 +01:00
biwa
30819b3b0c
Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder
2019-12-29 13:01:25 +01:00
biwa
1786ab525e
Changed checkdistance in ThingTypeInfo from int to double so that doesn't overflow
2019-12-29 13:00:10 +01:00
ZZYZX
62cddff505
Use nearest filtering if nearest is specified
2019-12-29 13:02:03 +02:00
Magnus Norddahl
5082d7c308
Alter the nearest filter to not have noise in it
2019-12-29 06:52:39 +01:00
ZZYZX
f41c5bdd6f
Used slightly better approach for executing stuff in the main thread
2019-12-28 22:01:57 +02:00
ZZYZX
866facf80b
Fixed: not all cases of static FontFamily were addressed
2019-12-28 10:22:32 +02:00
ZZYZX
624c5ea1d3
Fixed: don't use full Renderer2D pipeline while updating the grid after resize (fixes debug build)
2019-12-26 14:33:23 +02:00
ZZYZX
3491bdccea
Fixed: lines in 2D mode had random gray pixels with high quality enabled ( resolves #331 )
2019-12-26 08:16:38 +02:00
ZZYZX
1cbfddd367
Oops.
2019-12-26 07:10:01 +02:00
ZZYZX
607ac7751e
Fixed: use application default font family for rendered labels if user-selected font is not available
2019-12-26 07:09:28 +02:00
ZZYZX
60d836dc85
Fixed: redraw grid after window size changes
2019-12-25 17:26:30 +02:00
biwa
33b888e5d2
Renderer2D.PlotLine now transforms the y coordinate so that linedefs in nodes viewer, automap/sound environment/sound propagation mode are not flipped upside down anymore. Fixes #325 .
2019-12-25 01:54:05 +01:00
ZZYZX
842d4a6668
Fixed: full sector highlight would not show in 2D mode
2019-12-24 23:06:13 +02:00
Magnus Norddahl
28406cf1a7
Declare the uniform variables in C#
2019-12-21 02:14:42 +01:00
Magnus Norddahl
a21edf78da
Misc adjustments to make the cherry-picked 'C# shader resources' commit work
2019-12-21 01:47:27 +01:00
Magnus Norddahl
7f6ff8929d
Move the shaders to C# resources
2019-12-21 01:26:58 +01:00
ZZYZX
da57945db7
Merge branch 'master' into slimgl_merge
2019-12-20 16:41:38 +02:00
ZZYZX
e187872553
Add fps counter in visual mode
2019-12-20 16:39:01 +02:00
ZZYZX
5d3e78ad8f
Add FPS counter for visual mode
2019-12-20 16:17:32 +02:00
Magnus Norddahl
80f815cad9
Fix the error handling: only create one call unless there's an error and only check for errors in functions that can fail
2019-12-20 03:39:06 +01:00
Magnus Norddahl
4274ee2893
Use C++ and SSE code to do matrix math
...
Avoid copying by passing matrices by reference to RenderDevice
Use fasttrig from GZDoom for faster cos/sin
Don't set matrices unless they changed. Even though the memcmp prevents it from being pushed to OpenGL it is still a waste.
2019-12-19 03:12:44 +01:00
ZZYZX
4de0d96d13
Only set uniform for world matrix if it was the only one that changed
2019-12-18 15:24:54 +02:00
Magnus Norddahl
de2e336cb1
Use OpenGL sampler objects
2019-12-18 03:24:09 +01:00