319 Commits

Author SHA1 Message Date
Forest
add6d77491 Removed now stable feature 2019-10-03 17:28:17 -04:00
Forest Anderson
16c2bdf089 Removed trailing semicolon 2019-10-03 17:19:22 -04:00
Acrimon
cbf1267e97 Update fast_noise.rs 2019-10-03 17:19:22 -04:00
Acrimon
99005c1d30 Update lib.rs 2019-10-03 17:19:22 -04:00
Acrimon
7600cd0b2b Update lib.rs 2019-10-03 17:19:22 -04:00
Joshua Barretto
760daa551f Fixed cold near oceans, faster meshing 2019-09-27 12:46:20 +01:00
Joshua Barretto
6bf68e77e2 Resolved warnings 2019-09-26 13:34:15 +01:00
Joshua Barretto
35d6eeb491 Fixed cliff generation layer bug 2019-09-26 12:19:21 +01:00
Joshua Barretto
d473a00957 Prevented pickups with full inventory 2019-09-26 00:15:07 +01:00
Joshua Barretto
ab639a151c Made velorite rarer 2019-09-26 00:15:07 +01:00
Joshua Barretto
04de98286e Added velorite 2019-09-26 00:15:07 +01:00
Joshua Barretto
d14c9ca1bb Added apple and mushroom collection 2019-09-26 00:15:07 +01:00
Joshua Barretto
11950f475f Fixed shadow distance culling 2019-09-26 00:15:07 +01:00
Joshua Barretto
23264db3bc Added entity shadows 2019-09-26 00:15:07 +01:00
Joshua Barretto
8d9e29e13b Resolved warnings 2019-09-26 00:15:07 +01:00
Joshua Barretto
84c89e8652 Grounded houses more 2019-09-26 00:15:07 +01:00
Joshua Barretto
7cb6b8429c Shorter houses 2019-09-26 00:15:07 +01:00
Joshua Barretto
ff4f5d3082 Better hills 2019-09-26 00:15:07 +01:00
Joshua Barretto
82dbfefa16 Adjusted cliff height on mountains 2019-09-26 00:15:07 +01:00
Joshua Barretto
89bd405f5e Faster meshing, better AO, colour correction 2019-09-26 00:15:07 +01:00
Joshua Barretto
82708799a3 Better colour correction 2019-09-26 00:15:07 +01:00
Joshua Barretto
61903f80e1 Prevented bounds mis-prediction 2019-09-26 00:15:07 +01:00
Joshua Barretto
38e59c41ad Prevented towns in oceans 2019-09-26 00:15:07 +01:00
Joshua Barretto
e543531a94 Applied water layer after structures layer 2019-09-26 00:15:07 +01:00
Joshua Barretto
6cbc45ebd3 Better warp noise 2019-09-26 00:15:07 +01:00
Joshua Barretto
648b716921 Added wells 2019-09-26 00:15:07 +01:00
Joshua Barretto
39ef2572a5 Worldgen colour tweaks, better buildings, better warping 2019-09-26 00:15:07 +01:00
Joshua Barretto
800d9b5eea Fixed cut-off cliff, optimised structure generation 2019-09-23 16:20:28 +01:00
Joshua Barretto
04911cba05 Improved SmallCache 2019-09-23 15:17:06 +01:00
Imbris
1e7d4468c5 Small cache experiments 2019-09-22 22:19:07 -04:00
Imbris
2d325c36a3 Simplify lerping and use smoothstep interpolation instead of cosine 2019-09-21 19:46:27 -04:00
Acrimon
0dba741373 Drastically faster diffuse 2019-09-21 17:40:27 +00:00
Joshua Barretto
e2365b4c32 Merge branch 'xacrimon/rng-init-noise' into 'master'
Update some deps, fix hashbrown not compiling and rework the ad-hoc PRNG for RandomField.

See merge request veloren/veloren!500
2019-09-20 06:13:48 +00:00
Acrimon
5e5a0ecfbc Formatted code. 2019-09-17 20:35:53 +02:00
Acrimon
b4191ca407 Fixed rng stuff. 2019-09-17 16:56:23 +02:00
Acrimon
da6bb2dc9c Fixed compile errors. 2019-09-17 16:12:17 +02:00
Acrimon
6bed77456f Added some reasoning. 2019-09-17 16:07:24 +02:00
Acrimon
46bf09662b Made the worldgen noise generators seed from the RNG and got rid of zerocopy. 2019-09-17 16:05:08 +02:00
Joshua Yanovski
743e48110f Addressing code review. 2019-09-16 15:11:47 +02:00
Joshua Yanovski
c4eae2e1b1 Fixing more rustfmt errors. 2019-09-16 04:05:36 +02:00
Joshua Yanovski
661b9aee72 Fixing rustfmt. 2019-09-16 04:01:05 +02:00
Joshua Yanovski
00b3f4e4f4 Fixing previous commit. 2019-09-16 03:54:32 +02:00
Joshua Yanovski
d5c441767f Fixing previous commit. 2019-09-16 03:51:08 +02:00
haslersn
351b8c91c7 common: Rework volume API
See the doc comments in `common/src/vol.rs` for more information on
the API itself.

The changes include:

* Consistent `Err`/`Error` naming.
  * Types are named `...Error`.
  * `enum` variants are named `...Err`.
* Rename `VolMap{2d, 3d}` -> `VolGrid{2d, 3d}`. This is in preparation
  to an upcoming change where a “map” in the game related sense will
  be added.
* Add volume iterators. There are two types of them:
  * _Position_ iterators obtained from the trait `IntoPosIterator`
    using the method
    `fn pos_iter(self, lower_bound: Vec3<i32>, upper_bound: Vec3<i32>) -> ...`
    which returns an iterator over `Vec3<i32>`.
  * _Volume_ iterators obtained from the trait `IntoVolIterator`
    using the method
    `fn vol_iter(self, lower_bound: Vec3<i32>, upper_bound: Vec3<i32>) -> ...`
    which returns an iterator over `(Vec3<i32>, &Self::Vox)`.
  Those traits will usually be implemented by references to volume
  types (i.e. `impl IntoVolIterator<'a> for &'a T` where `T` is some
  type which usually implements several volume traits, such as `Chunk`).
  * _Position_ iterators iterate over the positions valid for that
    volume.
  * _Volume_ iterators do the same but return not only the position
    but also the voxel at that position, in each iteration.
* Introduce trait `RectSizedVol` for the use case which we have with
  `Chonk`: A `Chonk` is sized only in x and y direction.
* Introduce traits `RasterableVol`, `RectRasterableVol`
  * `RasterableVol` represents a volume that is compile-time sized and has
    its lower bound at `(0, 0, 0)`. The name `RasterableVol` was chosen
    because such a volume can be used with `VolGrid3d`.
  * `RectRasterableVol` represents a volume that is compile-time sized at
    least in x and y direction and has its lower bound at `(0, 0, z)`.
    There's no requirement on he lower bound or size in z direction.
    The name `RectRasterableVol` was chosen because such a volume can be
    used with `VolGrid2d`.
2019-09-06 15:43:31 +02:00
Imbris
80d0884492 Remove all warnings 2019-09-04 19:03:49 -04:00
Monty Marz
8c39a4751b More sprites, ui fixes, lianas 2019-09-01 19:04:03 +00:00
Joshua Barretto
8c0346a190 Faster prng 2019-08-31 14:24:56 +01:00
Joshua Barretto
022d303f00 Better town park generation 2019-08-31 11:44:52 +01:00
Joshua Barretto
ba4d2cf5db Cleaned up wall generation 2019-08-31 11:44:52 +01:00
Joshua Barretto
61c35855ba Better loading times 2019-08-31 11:44:52 +01:00