Commit Graph

1297 Commits

Author SHA1 Message Date
T1ti
7e6f9bb6a3 remove the uneeded vertical scrollbar for tools 2024-10-19 22:51:31 +02:00
T1ti
57b630cb54 optimize gizmos: only calculate and update stuff if values changed 2024-10-02 06:39:52 +02:00
T1ti
c5307d46f9 missing change for last commit 2024-10-01 06:07:16 +02:00
T1ti
9b21f79da2 World::loadAllTiles() : now reorder tiles based on camera distance and load from camera position 2024-10-01 06:06:41 +02:00
T1ti
e8985175b2 new functions to track tile children loading state 2024-10-01 06:05:18 +02:00
T1ti
c027975849 Enable fake geometry and box rendering for m2 particle emitters without mesh as they currently don't render
Make m2 header temporary to save memory, only save useful data
2024-10-01 06:04:46 +02:00
T1ti
3dd623a33b quick fix performance issue in tilerender draw 2024-09-30 01:32:45 +02:00
T1ti
4a14ab2fde finish drag selection 2024-09-30 01:31:42 +02:00
T1ti
5150a52b92 building render object lists update 2024-09-30 01:23:46 +02:00
T1ti
bd66c22938 optimize objects selection and rendering 2024-09-28 05:28:39 +02:00
T1ti
b26dc8a331 fix missing imports 2024-09-28 03:35:45 +02:00
T1ti
279a675651 rework drag selection, now checks for occlusion and bounds + optimizations
optimize multi selections pivot updates management
experimental rendering update : don't do object frustum/visibiltiy checks if camera/objects did not move
2024-09-27 08:42:38 +02:00
T1ti
7541e31c3a update drag selection calculations :
checking if tile is within the selection rectangle first, skip otherwise
then check if object position point is within rectangle
if not, try again with bounding box calculation
2024-09-26 03:18:22 +02:00
T1ti
e0d6612de6 add new additional noggit data/definitions folder containing extra data not contained in the client 2024-09-26 03:14:23 +02:00
T1ti
94b879ab8d update math and misc functions 2024-09-26 03:12:06 +02:00
T1ti
162145a233 objectTool drag selection now only happens if rectangle size is 10px instead of 1 2024-09-26 03:07:22 +02:00
T1ti
3d69d8bf3f fix drag selection selecting objects behind camera and add objects bounding radius 2024-09-25 05:06:49 +02:00
T1ti
721de1c5c4 move tick params to happen after key presses 2024-09-25 05:04:17 +02:00
T1ti
4bd834a274 Merge branch 'ground_effects_editor' of https://gitlab.com/T1ti/noggit-red into ground_effects_editor 2024-09-20 07:05:21 +02:00
T1ti
f8c0a40bce Merge branch 'tools_rewrite' into 'ground_effects_editor'
Tools regression fixes

See merge request T1ti/noggit-red!9
2024-09-12 21:28:04 +00:00
DennisWG
68494b9c6b Tools regression fixes 2024-09-12 21:28:04 +00:00
T1ti
0b45432c5f fix list widgets selection 2024-09-11 23:09:43 +02:00
T1ti
79db946f40 Merge branch 'tools_rewrite' into 'ground_effects_editor'
Tools can now be added and placed in any order

See merge request T1ti/noggit-red!8
2024-09-11 18:26:46 +00:00
dwg
4cd90f7473 Tools can now be added and placed in any order 2024-09-11 14:17:20 +02:00
T1ti
d29a6e9ce4 change list widgets selection signals to trigger on selection rather than click, to add support for keyboard browsing 2024-09-11 05:38:07 +02:00
T1ti
144e519bb0 allow loading maps with no tiles in map selection menu 2024-09-11 01:30:53 +02:00
T1ti
62ec58e92c fix the fix 2024-09-09 21:51:28 +02:00
T1ti
a07a27067a fix build 2024-09-09 21:41:55 +02:00
T1ti
d0be624f10 Merge branch 'ground_effects_editor' into 'ground_effects_editor'
Add missing coordinates files

See merge request T1ti/noggit-red!6
2024-09-09 19:26:16 +00:00
dwg
e7c92074eb Add missing coordinates files 2024-09-09 11:54:08 +02:00
T1ti
d38ef8c4ea disable scripting and chunk tools from toolbar as they are currently unused. cleanup fps camera 2024-09-08 22:05:36 +02:00
T1ti
f31a3c1ccf check m2 version on model loading. +update some enums 2024-09-08 22:03:50 +02:00
T1ti
43a89a5490 Merge branch 'wdt_wmo_entry' into 'ground_effects_editor'
Allow editing WMO only maps

See merge request T1ti/noggit-red!5
2024-09-08 17:50:34 +00:00
DennisWG
52298c338d Allow editing WMO only maps 2024-09-08 17:50:34 +00:00
T1ti
619bc0b0bb Revert "9d26588cf3"
This reverts commit c3b3b522d5.
2024-09-07 00:22:48 +02:00
T1ti
619ce7f1a3 Merge branch 'tools_rewrite' into 'ground_effects_editor'
Tools rewrite

See merge request T1ti/noggit-red!4
2024-09-06 20:16:57 +00:00
DennisWG
53b50aaff3 Tools rewrite 2024-09-06 20:16:57 +00:00
T1ti
ab4e581c7c update required vc redist version 2024-09-04 03:04:09 +02:00
T1ti
c3b3b522d5 9d26588cf3 2024-09-01 05:14:52 +02:00
T1ti
116ff684a2 noggit: ui: water: add auto opacity settings (new default)
4c54030e6d
2024-09-01 05:11:16 +02:00
T1ti
67833b3eac noggit: liquid_chunk: fix layer count not being updated when cleaning up the chunk
f4518497d0
2024-09-01 05:10:46 +02:00
T1ti
934a0a4000 adspartan: Fix cursor plane not visible underwater by rendering it before the water and making it write to the depth buffer, add checker board pattern to be able to see the water under it still
95092f992b
2024-09-01 05:09:58 +02:00
T1ti
6211c578eb noggit: mapview: fix set area ID menu shortcut preventing other tool to use the keybind
894a2bcfa0
2024-09-01 03:54:33 +02:00
T1ti
f192343144 ensure all extents are updated when calculating combined extents 2024-09-01 03:50:58 +02:00
T1ti
2e0e840a91 adspartan : noggit: ui: settings: unify render distance and far z settings
aedf0f1bd3
noggit: ui: settings: add fov
5fb49d7242
2024-09-01 03:36:01 +02:00
T1ti
f9007a2b08 adspartan: : maptile: make sure extents are there and up to date when call…
…ing intersect
62d27ccbbd
2024-08-31 07:39:40 +02:00
T1ti
e6d1ac3259 adspartan: mapview: add keybind for the "Set Area ID" option and limit it to the area tool 2024-08-31 07:30:10 +02:00
T1ti
9d8d0a1a4a adspartan:
noggit: ui: object_editor: fix default rotation not matching the range of the widgets
4a693475a4
2024-08-31 07:28:14 +02:00
T1ti
9e0ca19d71 adspartan : implement option to save liquids as MCLQ
mapchunk: store pointer to the header when saving
2893aadcaf
f7e5f8396f
noggit3 : extendable array: prevent use after extend https://github.com/wowdev/noggit3/pull/91
2024-08-31 07:27:03 +02:00
T1ti
61b607bb5c Noggit3 : extendable array: prevent use after extend
https://github.com/wowdev/noggit3/pull/91
+ adspartan mapchunk: store pointer to the header when saving f7e5f8396f
2024-08-31 05:35:09 +02:00