2019-01-02 17:23:31 +00:00
|
|
|
[package]
|
|
|
|
name = "veloren-client"
|
2020-05-15 22:50:40 +00:00
|
|
|
version = "0.6.0"
|
2019-01-02 17:23:31 +00:00
|
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-01-27 22:41:30 +00:00
|
|
|
common = { package = "veloren-common", path = "../common", features = ["no-assets"] }
|
2020-07-01 07:30:38 +00:00
|
|
|
network = { package = "veloren_network", path = "../network", default-features = false }
|
2019-01-02 17:23:31 +00:00
|
|
|
|
2019-10-16 11:39:41 +00:00
|
|
|
byteorder = "1.3.2"
|
2019-07-29 13:42:26 +00:00
|
|
|
uvth = "3.1.1"
|
2020-07-01 07:30:38 +00:00
|
|
|
futures-util = "0.3"
|
|
|
|
futures-executor = "0.3"
|
2020-07-06 14:23:08 +00:00
|
|
|
futures-timer = "2.0"
|
|
|
|
image = { version = "0.22.5", default-features = false, features = ["png"] }
|
Horizon mapping and "layered" map generation.
Horizon mapping is a method of shadow mapping specific to height maps.
It can handle any angle between 0 and 90 degrees from the ground, as
long as know the horizontal direction in advance, by remembering only a
single angle (the "horizon angle" of the shadow map). More is explained
in common/src/msg/server.rs. We also remember the approximate height of
the largest occluder, to try to be able to generate soft shadows and
create a vertical position where the shadows can't go higher.
Additionally, map generation has been reworked. Instead of computing
everything from explicit samples, we pass in sampling functions that
return exactly what the map generator needs. This allows us to cleanly
separate the way we sample things like altitudes and colors from the map
generation process. We exploit this to generate maps *partially* on the
server (with colors and rivers, but not shading). We can then send the
partially completed map to the client, which can combine it with shadow
information to generate the final map. This is useful for two reasons:
first, it makes sure the client can apply shadow information by itself,
and second, it lets us pass the unshaded map for use with level of
detail functionality.
For similar reasons, river generation is split
out into its own layer, but for now we opt to still generate rivers on
the server (since the river wire format is more complicated to compress
and may require some extra work to make sure we have enough precision to
draw rivers well enough for LoD).
Finally, the mostly ad-hoc lighting we were performing has been (mostly)
replaced with explicit Phong reflection shading (including specular
highlights). Regularizing this seems useful and helps clarify the
"meaning" of the various light intensities, and helps us keep a more
physically plausible basis. However, its interaction with soft shadows
is still imperfect, and it's not yet clear to me what we need to do to
turn this into something useful for LoD.
2020-04-02 00:46:36 +00:00
|
|
|
num = "0.2.0"
|
2019-07-12 18:13:35 +00:00
|
|
|
num_cpus = "1.10.1"
|
2020-06-21 21:47:49 +00:00
|
|
|
tracing = { version = "0.1", default-features = false }
|
2020-04-09 00:38:40 +00:00
|
|
|
rayon = "^1.3.0"
|
2020-07-09 17:46:30 +00:00
|
|
|
specs = { git = "https://github.com/amethyst/specs.git", rev = "7a2e348ab2223818bad487695c66c43db88050a5" }
|
2020-06-01 00:13:35 +00:00
|
|
|
vek = { version = "0.11.0", features = ["serde"] }
|
2020-07-06 07:15:06 +00:00
|
|
|
hashbrown = { version = "0.7.2", features = ["rayon", "serde", "nightly"] }
|
2020-06-01 00:13:35 +00:00
|
|
|
authc = { git = "https://gitlab.com/veloren/auth.git", rev = "223a4097f7ebc8d451936dccb5e6517194bbf086" }
|