From 3167ec992f1f81b2252a2db3642fff943c4f14bf Mon Sep 17 00:00:00 2001 From: Sakarias Johansson Date: Fri, 13 Jan 2023 19:09:10 +0100 Subject: =?UTF-8?q?=E2=9C=A8=20Add=20realtime=20preview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Preview quality is crude but works good enough. - Add scaling to render function. This helps to make the preview faster because we can use the same result for several pixels. - You can move around the camera a bit with wasd, super basic. - Press R to start/stop rendering the scene. --- racer-tracer/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'racer-tracer/Cargo.toml') diff --git a/racer-tracer/Cargo.toml b/racer-tracer/Cargo.toml index 241e1d8..9bd6b6a 100644 --- a/racer-tracer/Cargo.toml +++ b/racer-tracer/Cargo.toml @@ -10,3 +10,6 @@ thiserror = "1" futures = "0.3" rand = "0.8.5" rayon = "1.6.1" +structopt = "0.3" +num_cpus = "1.15.0" +synchronoise = "1.0.1" -- cgit v1.2.3