Commit Graph

8031 Commits

Author SHA1 Message Date
Marcel
1643e30545 Merge branch 'aweinstock/imageterrain' into 'master'
Compress terrain with images for clients with low bandwidth.

See merge request veloren/veloren!2207
2021-05-03 14:10:38 +00:00
Avi Weinstock
efa4f9fe0a Experiment with const fn lanczos lookup tables, enable weighted average interpolation for now. 2021-05-03 00:09:44 -04:00
Avi Weinstock
be39054767 Make terrain compression a checkbox instead of a bandwidth (throughput?) heuristic. 2021-05-03 00:09:44 -04:00
Avi Weinstock
f0824af80a Move chunk_compression_benchmarks from bin to examples. 2021-05-03 00:09:24 -04:00
Avi Weinstock
b15913560b Optimize CompressedData with Vec::with_capacity, and move obsolete formats from common_net into the compression benchmark. 2021-05-03 00:09:24 -04:00
Avi Weinstock
c199d12f2d Address MR 2207 review comments.
- Add metrics for which branch of the compression heuristic was taken.
- Reduce the threshold for the heuristic.
- Deduplicate code for dealing with lazy messages.
- Make jpeg dependency only scoped to the compression benchmark.
- Remove commented code.
2021-05-03 00:09:24 -04:00
Avi Weinstock
30cae40b82 Add a bandwidth-based heuristic for chunk compression. 2021-05-03 00:09:24 -04:00
Avi Weinstock
cdc2eccda8 Improve quadpng by adding WidePacking, which makes a wider image, which is faster due to PNG compressing by row. Heuristically switch between quadpng and deflate based on chunk height to reduce variance. 2021-05-03 00:09:24 -04:00
Avi Weinstock
dffc7db8f5 Add matplotlib graph generation to the compression benchmarks. 2021-05-03 00:09:24 -04:00
Avi Weinstock
0f4315c98b Remove a use of inline_tweak and use TallPacking instead of GridLtrPacking in common_net::msg::server. 2021-05-03 00:09:24 -04:00
Mckol
c913b9b858 Added Lanczos interpolation for QuadPng
Should support arbitrary scales (N).
Does support arbitrary Lanczos a parameters (currently 2)
and sample sizes (currently 5x5).
2021-05-03 00:09:24 -04:00
Avi Weinstock
fe0f331a19 Add 5x5 manhattan blur effect to quadpng, and omit interpolation at chunk borders. 2021-05-03 00:09:24 -04:00
Avi Weinstock
c2fd5e807d Experiment with 256-color palette "tripng" encoding, and Lanczos interpolation for "quadpng". 2021-05-03 00:09:24 -04:00
Avi Weinstock
a220cc569e Add resolution downscaling to QuadPng's color channel, and use half-resolution QuadPng ingame. 2021-05-03 00:09:24 -04:00
Avi Weinstock
f81539cb00 Get PngPngPngJpeg terrain working in the actual game. 2021-05-03 00:09:24 -04:00
Avi Weinstock
a9a943c19a Move compression helpers to common_net::msg::compression and experiment with more image formats at more site kinds. 2021-05-03 00:09:24 -04:00
Avi Weinstock
71220fd624 Add JPEG, PNG, and mixed compression for terrain. 2021-05-03 00:09:24 -04:00
jshipsey
63fdc4f590 animal adjustments 2021-05-02 23:17:58 -04:00
Justin Shipsey
09c0ea0f3e Merge branch 'james/region-names' into 'master'
Add map markers for lakes and mountains

See merge request veloren/veloren!2227
2021-05-03 02:00:23 +00:00
James Melkonian
f553700e8c Add map markers for lakes and mountains 2021-05-03 02:00:23 +00:00
Imbris
435d515945 Merge branch 'duelsik/wiring_system' into 'master'
Add fundamentals for wiring system.

See merge request veloren/veloren!2204
2021-05-02 21:30:55 +00:00
Daniel Mizerski
7faa0d3cd9 Add fundamentals for wiring system. 2021-05-02 22:38:44 +02:00
Nereux
f60903f38b Fix Typo in Readme.md 2021-05-02 19:26:04 +00:00
Ben Wallis
d7582efad0 Moved character creation to use character_updater instead of character_loader. Changed character_loader to use a read-only database connection. 2021-05-02 16:08:39 +01:00
Ben Wallis
247ed4d78a Merge branch 'juliancoffee/kits_update' into 'master'
Update kits

See merge request veloren/veloren!2235
2021-05-02 13:27:03 +00:00
Illia Denysenko
569d0a1ba5 - Split 'debug' kit to 'debug' and 'admin_cosmetics'
- Add Velorite Admin Bow to 'debug'
- Add rings, cape and necklace to cultist kit
- Add mushroom curry to 'consumables' (former 'potions')
2021-05-02 13:27:03 +00:00
jshipsey
769e21104e higher health lower damage 2021-05-01 12:29:28 -04:00
jshipsey
dc5a38f1e8 ori addition to combomelee 2021-05-01 12:29:28 -04:00
Monty Marz
cdcbebc978 Merge branch 'zesterer/map-marker' into 'master'
Added map marker

See merge request veloren/veloren!2217
2021-05-01 16:26:13 +00:00
Joshua Barretto
d0953fcab0 Added map marker 2021-05-01 16:26:13 +00:00
Samuel Keiffer
4d09180ddb Merge branch 'lboklin/glider-take-off' into 'master'
Fix glider pitching down when trying to take off

See merge request veloren/veloren!2233
2021-05-01 14:09:03 +00:00
Ludvig Böklin
d7ef414f59 Fix glider pitching down when trying to take off 2021-05-01 15:35:26 +02:00
Sam
d500a00414 Made naming of fields more explicit. 2021-05-01 09:25:56 -04:00
Sam
708cb12086 Fixed tests. 2021-05-01 09:25:55 -04:00
Sam
dd113c56cb Fixed ItemDef for custom weapons. 2021-05-01 09:25:54 -04:00
Sam
d3d4ee8bb0 Formatting stuffs. 2021-05-01 09:25:53 -04:00
Sam
914d78b4a9 Removed clone in animations. Added GATs to animations to do so. 2021-05-01 09:25:53 -04:00
Sam
3cb0ee98c8 Removed all unique and simple tool kinds. 2021-05-01 09:25:51 -04:00
Sam
a35b8b4aad Removed ability set as field on items. 2021-05-01 09:25:49 -04:00
Samuel Keiffer
a37174d6f2 Merge branch 'lboklin/fix-ori' into 'master'
Fix ori rate cap

See merge request veloren/veloren!2230
2021-04-30 18:24:49 +00:00
Ludvig Böklin
cc7f0f3ac2 Fix ori 2021-04-30 17:37:51 +02:00
Joshua Barretto
ce230f3e87 Merge branch 'zesterer/fixes' into 'master'
Fixed admin physics check exemption

See merge request veloren/veloren!2229
2021-04-30 13:32:47 +00:00
Joshua Barretto
b29e2b0017 Fixed admin physics check exemption 2021-04-30 14:06:07 +01:00
Marcel
bc4d827650 Merge branch 'master' into 'master'
German translation

See merge request veloren/veloren!2159
2021-04-30 11:58:31 +00:00
Jan Dre
8f5370f372 German translation 2021-04-30 11:58:31 +00:00
Samuel Keiffer
5a48158b7f Merge branch 'DaforLynx/poise-sfx' into 'master'
Poise (stun) SFX and fix for town music

See merge request veloren/veloren!2212
2021-04-29 23:36:22 +00:00
DaforLynx
7334cce426 Poise (stun) SFX and fix for town music 2021-04-29 23:36:22 +00:00
Samuel Keiffer
4f5f15979a Merge branch 'sam/deduplicate-items' into 'master'
Sam/deduplicate items

See merge request veloren/veloren!2225
2021-04-29 20:11:43 +00:00
Sam
7870109856 Deduplicated stuff in npc_armor. 2021-04-29 15:45:14 -04:00
Samuel Keiffer
e177aebd9e Merge branch 'lboklin/lower-zero-lift-drag' into 'master'
Lower zero-lift drag

See merge request veloren/veloren!2223
2021-04-29 19:11:12 +00:00