Treeco
542491c48d
Fixed leaf lerp doing weird things
2020-04-09 21:03:17 +01:00
Imbris
831d7c77a6
Make Asset impls avoid panics when parsing fails
2020-04-01 20:06:15 -04:00
timokoesters
6fd3339b75
Make apples great again
2020-03-27 17:51:35 +01:00
Marcel Märtens
dae31ae5b6
apply new rustfmt - touching alot of files
2020-02-01 21:39:39 +01:00
Justin Shipsey
64690279af
new mobs
...
alligators
2020-01-26 00:22:48 +00:00
Monty Marz
b583f60326
35 new ground sprites, UI fixes
2020-01-25 11:14:02 +00:00
Joshua Yanovski
3383e991e7
Erosion cleanup, part 1.
...
Covers all files touched by MR that are not in world/src/sim.
2020-01-23 18:18:17 +01:00
Joshua Yanovski
1d6d0ea03d
Fix all warnings.
2020-01-23 18:18:16 +01:00
Joshua Yanovski
d54f22c9fa
Add a default world map.
...
Also adds map versioning, proper scaling, and updates sediment
rendering. It also tones down warp.
2020-01-23 18:18:15 +01:00
Joshua Yanovski
9ee0cd82d0
Code restructuring for performance.
...
Turned a lot of for loops into for_each loops, which should be easier
for LLVM to optimize currently. Also updated almost all the non-erosion
stuff in WorldGen to run in parallel (and take advantage of the cache,
in the case of TownGen), and hopefully improved performance somewhat for
chunk generation as well.
2020-01-23 18:18:14 +01:00
Joshua Yanovski
e91578ffdb
Cargo fmt most things (except erosion.rs).
2020-01-23 18:18:12 +01:00
Joshua Yanovski
8d5a5af2cb
Fix overflow issue with basement.
2020-01-23 18:18:12 +01:00
Joshua Yanovski
ee5d383c46
Map saving, soil production, speedup attempts.
2020-01-23 18:18:10 +01:00
Pfauenauge90
5fc34081bd
birches and "Acalok" Trees
2020-01-23 18:18:10 +01:00
Joshua Yanovski
e71f145b71
Sediment transport, plus many other things.
2020-01-23 18:18:09 +01:00
Joshua Yanovski
825ba1b4f4
WIP fixes: more pleasing uplift generation.
...
Uses the exponential distribution now.
2020-01-23 18:18:07 +01:00
flyingfryingpan
a98d4adc27
forsharp
2020-01-23 18:18:07 +01:00
Imbris
4b01c1b082
add: capability to disable blending for particular BlockKinds
2020-01-19 16:03:27 -05:00
Monty Marz
a4274ef8aa
Charge Icon and flashing skillbar
2020-01-17 22:00:00 +00:00
Joshua Yanovski
8ae2692b6e
Allow canceling chunk generation.
...
Currently we only do this when no players are in range of the chunk. We
also send the first client who posted the chunk a message indicating
that it's canceled, the hope being that this will be a performance win
in single player mode since you don't have to wait three seconds to
realize that the server won't generate the chunk for you.
We now check an atomic flag for every column sample in a chunk. We
could probably do this less frequently, but since it's a relaxed load it
has essentially no performance impact on Intel architectures.
2019-10-16 11:39:41 +00:00
KyoZM
5390b1b36c
format code
2019-10-10 21:00:19 -03:00
KyoZM
83a4454be5
refactor code to be smaller and clearer
2019-10-10 20:53:13 -03:00
KyoZM
6b42b1c762
remove unecessary comments
2019-10-10 20:53:13 -03:00
KyoZM
1998ed2fdd
load structures from ron files / transfer static structure lists to ron files
2019-10-10 20:53:13 -03:00
Joshua Barretto
bf01069f44
Balanced chest spawning
2019-10-10 10:11:46 +01:00
Monty Marz
d82ec6715a
Item icons, chests and more
2019-10-09 19:28:05 +00:00
Joshua Barretto
087bfffc8a
Proper tree colour variation
2019-10-07 09:05:18 +01:00
Joshua Barretto
6fc6864e7c
Better grass colours, made flora more common
2019-10-07 08:49:02 +01:00
Joshua Barretto
b1d4ae7445
Fixed cliff generation layer bug
2019-09-26 12:19:21 +01:00
Joshua Barretto
a6d5b82ef5
Prevented pickups with full inventory
2019-09-26 00:15:07 +01:00
Joshua Barretto
7f4e587215
Made velorite rarer
2019-09-26 00:15:07 +01:00
Joshua Barretto
e22fe81a2f
Added velorite
2019-09-26 00:15:07 +01:00
Joshua Barretto
a961a267f1
Added apple and mushroom collection
2019-09-26 00:15:07 +01:00
Joshua Barretto
499344ccab
Added entity shadows
2019-09-26 00:15:07 +01:00
Joshua Barretto
b62830b8b4
Better hills
2019-09-26 00:15:07 +01:00
Joshua Barretto
2165e79971
Adjusted cliff height on mountains
2019-09-26 00:15:07 +01:00
Joshua Barretto
a432cef263
Better colour correction
2019-09-26 00:15:07 +01:00
Joshua Barretto
22af0ab016
Prevented bounds mis-prediction
2019-09-26 00:15:07 +01:00
Joshua Barretto
ba7fa8b55d
Prevented towns in oceans
2019-09-26 00:15:07 +01:00
Joshua Barretto
5933ae608a
Applied water layer after structures layer
2019-09-26 00:15:07 +01:00
Joshua Barretto
1e9eb3089e
Worldgen colour tweaks, better buildings, better warping
2019-09-26 00:15:07 +01:00
Joshua Barretto
8a2dc836d8
Fixed cut-off cliff, optimised structure generation
2019-09-23 16:20:28 +01:00
Joshua Barretto
e77f165da6
Improved SmallCache
2019-09-23 15:17:06 +01:00
Imbris
f182733074
Small cache experiments
2019-09-22 22:19:07 -04:00
Imbris
52d84248ec
Remove all warnings
2019-09-04 19:03:49 -04:00
Monty Marz
f53904b534
More sprites, ui fixes, lianas
2019-09-01 19:04:03 +00:00
Joshua Barretto
d0768e9858
Faster prng
2019-08-31 14:24:56 +01:00
Joshua Barretto
5a677b9c1e
Added modular building generation
2019-08-31 11:44:52 +01:00
Joshua Barretto
f8c5b277e3
Improved mountain slopes and cliffs
2019-08-31 11:44:52 +01:00
Joshua Barretto
fe2ad92201
Initial implementation of towns
2019-08-31 11:44:52 +01:00
Joshua Barretto
d42485238e
Added town road construction
2019-08-31 11:44:52 +01:00
Joshua Barretto
aaade23eef
Better warping
2019-08-31 11:44:52 +01:00
Joshua Barretto
b0293ecce4
Switched to FastNoise
2019-08-31 11:44:52 +01:00
Joshua Barretto
4777921680
Added test generator
2019-08-31 11:44:52 +01:00
Joshua Barretto
1fcb4a0313
Added Generator trait, fixed ocean lighting
2019-08-31 11:44:52 +01:00
Joshua Yanovski
c02f2a7f9e
Fixes to worldgen and adding a debug command.
...
Humidity and temperature are now indexed to uniform altitude *over land
chunks* (and water chunks adjacent to land) rather than over the whole
range of altitude. This is necessary in order to satisfy the uniformity
conditions of the formula for weighted sum CDF.
Additionally, fixes the computation of whether a tree should be
generated or not. Previously, it was using a source of randomness
scaled to use much less than the full 0-1 range; this has been resolved.
This makes for much nicer and more gradual transitions between densities
and reduces the amount of completely barren landscapes, while also
making forests larger.
Finally, this commit adds a server command, debug_column, which returns
some useful debug information about a column given an x and y
coordinate. This is useful for debugging worldgen.
2019-08-26 11:52:25 +02:00
Joshua Yanovski
6f12a240de
Chaos doesn't depend on temperature anymore.
...
Also fix some things to use a consistent coordinate system and bump up
tree density and variation around tree density in hopes of creating more
aesthetically pleasing jungles. However, this does change worldgen a
bit, so please make sure you look through it before merging.
2019-08-25 17:49:33 +02:00
Joshua Yanovski
38443c173c
Merge branch 'master' of gitlab.com:veloren/veloren into sharp/jungle
2019-08-22 17:47:10 +02:00
Joshua Yanovski
aa4464d8f4
Adding more jungle trees.
2019-08-22 01:33:47 +02:00
Joshua Barretto
7ceccfecc3
Added cacti
2019-08-21 19:18:16 +01:00
Joshua Barretto
6ff264d982
Better plant grouping distribution
2019-08-21 18:56:46 +01:00
Monty Marz
fade04d44e
Pfauenauge/plants grass
2019-08-21 17:22:05 +00:00
Joshua Barretto
60544531dd
More grass
2019-08-20 12:06:41 +01:00
Joshua Barretto
245c9af2e8
Patchier plants, wind swaying
2019-08-20 11:05:01 +01:00
Joshua Barretto
5f09ab3a4f
Added multiple sprite block kind support
2019-08-20 00:31:11 +01:00
Joshua Barretto
7960e6ea6d
Sprite distance fading, grass
2019-08-19 22:54:16 +01:00
Joshua Barretto
b31cca4bb3
Added wheat and sprite rendering
2019-08-19 21:09:35 +01:00
Joshua Yanovski
d8c864cf3a
Making jungles work.
2019-08-19 01:52:26 +02:00
Joshua Yanovski
680b81a5e6
WIP for humidity.
2019-08-18 18:35:27 +02:00
Joshua Barretto
49426565dc
Renamed normal StructureBlock variant
2019-08-18 15:33:16 +01:00
Joshua Barretto
75dbebbd05
More interesting waves
2019-08-18 10:33:18 +01:00
Joshua Barretto
e535537106
Added default block kind to structure loading
2019-08-18 10:33:18 +01:00
Joshua Barretto
f0e52e6002
Better reflections and water fog
2019-08-18 10:33:18 +01:00
Joshua Barretto
825d8bb632
Fixed water in caves, made water reflection vary with lighting
2019-08-18 10:33:18 +01:00
Vechro
b5b3b980fe
Add green sludge special index
2019-08-18 10:33:18 +01:00
Vechro
944067fd43
Add water special index
2019-08-18 10:33:18 +01:00
Joshua Barretto
42237a84e4
Added translucent meshing pass, water reflections
2019-08-18 10:33:18 +01:00
Imbris
be0e0e52a8
Improve colors
2019-08-15 23:59:09 -04:00
Imbris
c09eb77149
Add srgb converion in shaders
2019-08-15 23:56:14 -04:00
timokoesters
1227596406
Implement specifier syntax and cleanup
2019-08-06 08:31:48 +02:00
Joshua Barretto
f14674ee9a
Switched to UnitChooser
2019-08-03 22:15:23 +01:00
Joshua Barretto
8b9a92b30e
Added dungeons
2019-08-03 22:15:23 +01:00
Joshua Barretto
677c5781ba
Added bosses, improved secret object spawn rates
2019-08-02 20:10:52 +01:00
Joshua Barretto
09717f1c56
Added pyramids
2019-07-10 00:51:54 +01:00
Joshua Barretto
9bc50ae547
Better acacia tree colours
2019-07-09 20:42:43 +01:00
Joshua Barretto
a6c9c10062
Better tree colours
2019-07-09 17:58:20 +01:00
Joshua Barretto
e7dd151833
Added fruit trees
2019-07-09 17:08:43 +01:00
Joshua Barretto
cfdb0209bd
Better savannah colours
2019-07-09 00:09:04 +01:00
Joshua Barretto
d79f7d9714
Colour improvements
2019-07-08 22:10:48 +01:00
Joshua Barretto
879789ecc4
Fixed acacia colours
2019-07-08 20:28:48 +01:00
Joshua Barretto
8e8bad137a
Re-added oceans
2019-07-08 20:08:08 +01:00
Joshua Barretto
6b415c1b87
Added large ribcages in deserts
2019-07-08 17:57:41 +01:00
Joshua Barretto
14ba09f96b
Added acacia trees, desert bones, fixed minor worldgen issues
2019-07-08 17:41:20 +01:00
Joshua Barretto
f823b0c992
Fixed tree clipping and several other minor issues
2019-07-08 17:00:50 +01:00
Joshua Barretto
c2a11ed6b2
Improved worldgen performance with more precise z bound checks
2019-07-08 15:51:38 +01:00
Joshua Barretto
44b5473a82
Added rare structures, totally refactored structure spawning
2019-07-08 00:50:36 +01:00
Joshua Barretto
29803524fd
Made temperature biomes larger, added savannah ground
2019-07-08 00:50:36 +01:00
Joshua Barretto
1d8656cb7d
Fixed tree trimming
2019-07-07 00:21:32 +01:00
Joshua Barretto
abd07aea09
Improved z caching
2019-07-06 20:00:17 +01:00
Joshua Barretto
3623871775
Initial implementation of z cache
2019-07-06 20:00:17 +01:00