Commit graph

193 commits

Author SHA1 Message Date
biwa
21e89cf975
Added support for ZDRay static light things 2022-06-02 20:18:35 +02:00
volte
90896acd43
Additional camera movement actions in visual mode (#682)
Added "Orbit" and "Move Camera to Cursor" visual mode actions (not bound by default)
2022-01-03 15:46:00 +01:00
biwa
5eb438e3ba
Add map scripting capabilities to UDB (#656)
Added map scripting capabilities to UDB (#656). Documentation at https://biwa.github.io/udbscript-docs/
2021-11-28 14:00:24 +01:00
biwa
6c8a3cb50b Visual Mode: things inside self-referencing sectors are now displayed at the correct height 2021-04-05 19:15:14 +02:00
biwa
b70970ebcf Some refactoring related to visual sloping 2021-02-13 09:57:09 +01:00
biwa
0911a3a9a4 Some more performance improvements related to visual sloping 2021-02-07 16:44:12 +01:00
biwa
5ed77c5d05 Improved performance in visual mode related to visual slopes 2021-02-06 14:51:00 +01:00
biwa
5d1492c5c2 Added visual sloping for vertices (has an extra action to toggle visual vertex slope picking) 2021-01-30 22:01:55 +01:00
biwa
931bd1e225 Fixed a problem where the DistanceCheck actor property didn't work correctly, resulting in things unexpectedly not being drawn in Visual Mode 2020-12-12 11:48:46 +01:00
Kevin Caccamo
0b4b781980
Check whether geobuffers is null before indexing it
This is an attempt to fix #474
2020-09-24 20:52:33 -04:00
biwa
10ceef6715 Fixed jittery camera when being far away from the map origin 2020-05-24 11:35:53 +02:00
biwa
342ea4f518 Trying to fix jittery camera when being really far away from the map origin (didn't fix it yet) 2020-05-23 10:37:42 +02:00
biwa
9338d1221f Removed lots of unnecessary casts to float of the Math methods. Also removed some other minor implicit casts 2020-05-22 22:30:32 +02:00
biwa
ab81b17554 More conversion from float to double. Doesn't seem to crash anymore. 2020-05-22 21:39:18 +02:00
biwa
91cbcde1eb It's compiling! 2020-05-21 14:20:02 +02:00
biwa
fb3c9e7168 Started conversion from float to double 2020-05-18 18:14:54 +02:00
biwa
73e8d5440f Fixed a problem where slope handles could be picked through other geometry 2020-02-23 01:07:40 +01:00
biwa
fd2b11505c Removed remnants of holding Alt to interact with slope handles 2020-02-23 00:14:43 +01:00
biwa
f606f3bd7c Drawing slope handles works correctly now 2020-02-22 19:45:12 +01:00
biwa
21c8379904 Added action to toggle between picking slope handles or other map elements 2020-02-19 21:59:42 +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
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
044dbbcfd0 Rewrote dynamic light support. Resolves #319. Resolves #318. Resolves #233. 2020-01-03 03:22:33 +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
biwa
4bfbe567c1 Merge branch 'master' of https://github.com/jewalky/UltimateDoomBuilder into visual-slope2 2019-12-31 23:46:56 +01:00
Magnus Norddahl
a18e165d99 Fix geometry constantly being rebuilt in some situations 2019-12-31 03:44:36 +01:00
biwa
ba713f7a25 Ported visual sloping to UDB 2019-12-31 00:08:17 +01:00
biwa
8f9d840aeb Use map boundaries defined in the game's config instead of static values in VisualBlockMap 2019-12-29 11:03:42 +01:00
ZZYZX
cbe8abbc9a Fixed: 3D mode linedefs were completely broken -- reverted 718405b580 2019-12-26 10:08:11 +02:00
Magnus Norddahl
061fa30a45 Improve camera sector search somewhat 2019-12-26 01:10:00 +01:00
Magnus Norddahl
9d5f8ec7c1 Rewrite VisualBlockMap to use a quad tree 2019-12-26 00:39:15 +01:00
Magnus Norddahl
718405b580 Remove the remaining dictionary lookups when culling 2019-12-25 18:57:39 +01:00
Magnus Norddahl
11aa31452b Remove more dictionaries from the render loop 2019-12-21 05:43:16 +01:00
Magnus Norddahl
c8237b0e64 Speed up linedef processing by not relying on a hashmap 2019-12-20 05:12:39 +01:00
Magnus Norddahl
28f01517d3 Trade some memory for speed 2019-12-20 04:50:43 +01:00
ZZYZX
f0aee1e174 Merge branch 'master' into slimgl_merge 2019-12-14 23:50:40 +02:00
biwa
4b86f5458f - Increased max view distance from 9000 to 64000 map units. Step size increased from 200 to 500 map units
@ Improved performance of VisualBlockMap.GetFrustumRange so that high view distances is actually usable. This does not do anything to the rendering speed, so that's still slow
2019-10-19 16:52:02 +02:00
Xabis
399e527b5c Support for RenderRadius (PR#297 by Xabis) 2019-09-05 13:37:31 +03:00
Magnus Norddahl
149012e8b3 - simplify buffer indexing 2019-08-16 13:23:25 +02:00
Magnus Norddahl
9b53939f0c - simplify vertex buffer and vertex format 2019-08-16 13:07:57 +02:00
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
e035ff8113 - fix alpha ending up in red channel 2019-08-16 05:37:03 +02:00
Magnus Norddahl
a542385cd7 - force texture and buffer updating to go through RenderDevice 2019-08-15 02:52:21 +02:00
Magnus Norddahl
e3740033fc - rename classes with D3D in them 2019-08-09 23:22:16 +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