Joshua Yanovski
81f78b43ce
Revert "Replace shaderc with naga"
...
This reverts commit 446d93dda0
.
2021-09-04 11:59:18 -07:00
João Capucho
0476f9ce0b
Replace shaderc with naga
2021-08-31 22:53:10 +01:00
Joshua Barretto
15200d48df
Revert "Merge branch 'xvar/wgpu-0.9' into 'master'"
...
This reverts merge request !2566
2021-07-07 22:07:00 +00:00
Ben Wallis
1f100cd3ea
Updated wgpu to 0.9.0 and egui to 0.13.0
2021-07-06 07:32:27 +01:00
Ben Wallis
9464a45783
Added egui debug UI - a 100% rust UI framework (similar to imgui) allowing for rapid development of debug interfaces to aid development. This is feature-gated behind the egui-ui
feature which is enabled by default but removed for airshipper builds.
...
Included in the initial implementation is an entity browser which lists all entities in the client ECS, an entity component viewer which shows select components belonging to the selected entity including character state information, and a simple frame time graph.
This MR also includes an extraction of the animation hot reloading code which has been reused for egui to allow for hot-reloading of the egui interface to allow rapid development of the UI with realtime feedback upon save as is the case with aninmations. This is feature-gated behind the `hot-egui` feature which is not enabled by default due to the extra startup time that it adds.
2021-07-04 09:47:18 +00:00
Joshua Barretto
2b269c7556
Enabled debug lines for Veloren crates only to significantly reduce binary size
2021-06-17 15:19:25 +01:00
Imbris
bf6f624c7f
Upgrade to winit 0.25
2021-06-15 22:59:54 -04:00
Imbris
d60c7a0c2d
Merge branch 'imbris/release-tweak' into 'master'
...
Add debug line tables and avoid building unwinding landing pads in release builds
See merge request veloren/veloren!2446
2021-06-16 02:17:49 +00:00
Imbris
36821e5575
Merge branch 'capucho/wgpu-format-fixes' into 'master'
...
Update wgpu and check for best swap chain format
See merge request veloren/veloren!2454
2021-06-16 01:24:05 +00:00
Imbris
e89c6a80e2
Add debug line tables and avoid building unwinding landing pads in release builds
2021-06-15 21:14:49 -04:00
Yusuf Bera Ertan
33c9972952
build(nix): fix shaderc lib
2021-06-13 19:29:28 +03:00
João Capucho
40904130f6
Update wgpu and check for best swap chain format
2021-06-09 21:15:37 +01:00
Yusuf Bera Ertan
18c05cddfc
build(nix): add new dependencies to nix build and dev env for wgpu
2021-06-04 00:08:02 +03:00
Imbris
b9a55961c5
Update wgpu, cleanup a bit of commented shader code, improve sprite LOD selection code
2021-06-03 00:10:06 -04:00
Imbris
7c761147a4
Use profling to get spans from wgpu, update wpgu & its deps for various
...
fixes
2021-06-03 00:10:06 -04:00
Imbris
94ace54aec
Update wgpu to fix dx11 issue
2021-06-03 00:10:06 -04:00
Imbris
466ec852ee
Update wgpu to latest version and improve error formating
2021-06-03 00:10:06 -04:00
Imbris
8f7e83926f
Update wgpu to get gfx-hal update that fixes the dx12 depth cube view construction issue
2021-06-02 23:59:50 -04:00
Imbris
d611d9efbc
Add env vars to set wgpu backend and wgpu api trace save dir (api trace still needs feature to be set ofc)
2021-06-02 23:59:50 -04:00
Imbris
6a9c8612e7
Update wgpu
2021-06-02 23:59:50 -04:00
João Capucho
8fbebc11e2
Fix scissor panic
...
Removes the Scale::physical_resolution method as it could become
desynced from the renderer resolution causing the panic
2021-06-02 23:59:49 -04:00
João Capucho
5e4aabd981
Update to the most recent wgpu
2021-06-02 23:59:49 -04:00
Imbris
118487cee2
Update to the latest wgpu git
2021-06-02 23:59:49 -04:00
Imbris
0ea17414a5
Implement toggleable gpu profiling that saves the timings from a recent frame with the screenshot key, rebase fixes
2021-06-02 23:59:49 -04:00
Imbris
847c3bffa5
Remove wgpu patch/update wgpu, rebase fixes, remove use of deprecated
...
vek functions for left, right, up, down, forward_rh, forward_lh
2021-06-02 23:59:49 -04:00
Capucho
6860313d9d
Reenable non-player figure drawing
2021-06-02 23:59:48 -04:00
Capucho
9379c4d1dc
Update dependencies
2021-06-02 23:59:47 -04:00
Imbris
c938b4a4da
Make compile through various changes, update wgpu to latest git
2021-06-02 23:56:43 -04:00
Imbris
e9940371b7
Re-disable incremental for veloren-network-protocol, switch back to
...
`veloren-docker` tagged runners
2021-06-01 13:35:03 -04:00
Imbris
5caf8b6b55
Re-disable incremental just for common-systems, small fix in plugin
...
crate, more new clippy fixes
2021-05-31 20:44:57 -04:00
Imbris
5985584c5c
Update toolchain
2021-05-31 20:44:57 -04:00
juliancoffee
5bd4dcc167
Extract common/src/assets.rs to own crate
...
This gives us ability to use assets-related code in i18n without
depending on whole veloren-common
2021-05-09 13:12:26 +03:00
juliancoffee
333754b2e6
Extract voxygen/src/i18n.rs into own crate
...
- New crate (i18n), currently under voxygen directory
- Updated CI to run localization test from i18n, not from voxygen
2021-05-09 13:12:26 +03:00
juliancoffee
6bc6f6bbba
Extract localization test to binary
...
- Implement `--all` option
- Implement `--lang <code>` option
- Implement `--verify` command
2021-05-09 13:12:25 +03:00
Yusuf Bera Ertan
78b1773c05
build(nix): switch to crate2nix
2021-04-27 05:18:12 +03:00
Imbris
fcfb1f325a
Revert "Merge branch 'revert-b10718c5' into 'master'"
...
This reverts merge request !2172
2021-04-21 17:10:13 +00:00
Imbris
b90b62fcc1
Revert "Merge branch 'imbris/agent-opt' into 'master'"
...
This reverts merge request !2024
2021-04-21 14:10:06 +00:00
Imbris
1ab842523d
Rename common-sys to common-systems and rearrange common-state slightly
2021-04-20 15:25:04 -04:00
Marcel Märtens
05d0eb9db4
seperate sys/state
2021-04-20 01:30:17 +02:00
Yusuf Bera Ertan
ce2545ffd3
build(nix): make voxygen debug package and app defaults
2021-04-17 21:37:59 +03:00
Yusuf Bera Ertan
84a7f666c2
build(nix): switch to nix-cargo-integration
2021-04-17 21:37:57 +03:00
Imbris
8b41409227
Use separate crate to compile anim as a cdylib to avoid compiling both all the time and improve voxygen pipelining
2021-04-16 21:58:59 -04:00
Ben Wallis
1fbea66a66
* Replaced diesel
with rusqlite
and refinery
...
* Added "migration of migrations" to transfer the data from the __diesel_schema_migrations table to the refinery_schema_history table
* Removed all down migrations as refinery does not support down migrations
* Changed all diesel up migrations to refinery naming format
* Added --sql-log-mode parameter to veloren-server-cli to allow SQL tracing and profiling
* Added /disconnect_all_players admin command
* Added disconnectall CLI command
* Fixes for several potential persistence-related race conditions
2021-04-13 22:05:47 +00:00
Joshua Yanovski
94ebf99115
Mesh sprites in the background.
...
This makes the delay afetr selecting a character before logging into the
game much shorter, in the common case. It still doesn't handle things
perfectly (it blocks creating Terrain::new if it's not finished, and it
could be faster due to working in the background), but it's still a lot
better than it was before.
To improve sprite meshing performance, we also apply the terrain
flat_get optimizations to sprites. Though I didn't initially know how
much of an impact it would have, it feels significantly faster to me,
though being able to parallelize it would be ideal.
2021-04-10 17:51:42 +02:00
Marcel Märtens
7afa77a06f
move tracing code to own crate
2021-03-30 16:35:36 +02:00
Imbris
89a2786bbf
Turn off incremental compilation to avoid fingerprints bug
2021-03-28 15:49:58 -04:00
Marcel Märtens
5fb8113d50
reduce benches to O2 and enable incremental
2021-03-21 23:25:02 +01:00
Marcel Märtens
0904563f6a
move botclient to client/src/bin/bot
...
start it with:
- (cd client && RUST_BACKTRACE=full RUST_LOG=trace VELOREN_USERDATA_STRATEGY=executable cargo run --bin bot --features="bin_bot")
2021-03-12 09:28:24 +01:00
Avi Weinstock
e6417b6b43
Draft of botclient.
2021-03-12 09:28:21 +01:00
Marcel Märtens
c0129b0505
Move Specs code to own common_ecs create, put tracy and macros into common_base
2021-03-09 00:54:01 +01:00