From f19c8cc40c5caf8abb4f04aaf9f91ec3a8c1ccbc Mon Sep 17 00:00:00 2001 From: Sakarias Johansson Date: Mon, 13 Mar 2023 22:00:44 +0100 Subject: =?UTF-8?q?=F0=9F=93=B8=20Add=20Camera=20defocus=20blur=20+=20Othe?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just wanted to add defocus blur but ended up changing a bunch of other this as well. - Moved scenes to a separate folder. - Updated readme with more pretty images. - Add interface for loading scenes. There is currently one for yaml and another if you want a slightly random scene. - Add image action to decide what to do with the final image once its rendered. Currently supports just showing the buffer until you press the render buffer again and saving the image as `png`. - When you use nix shell you will be dropped in the proper folder so you can just do cargo build etc without having to do `cd`. --- resources/scenes/three_balls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/scenes') diff --git a/resources/scenes/three_balls.yml b/resources/scenes/three_balls.yml index f9e7571..65b1393 100644 --- a/resources/scenes/three_balls.yml +++ b/resources/scenes/three_balls.yml @@ -17,7 +17,7 @@ materials: right: Metal: color: - data: [ 0.8, 0.6, 0.2] + data: [ 0.8, 0.6, 0.2 ] fuzz: 0.0 geometry: -- cgit v1.2.3