summaryrefslogtreecommitdiff
path: root/racer-tracer/src/image_action.rs
AgeCommit message (Collapse)Author
2023-04-05๐Ÿ“– Add logging and term writesSakarias Johansson
println works for a while. Was time to set up something better. Worth to not that there is a big difference between logging and writing to the terminal which is why both slog and console was dragged in. Might seem similar but purpose is not the same. Most of the time the log is interesting during runtime but user messages does not belong in the log.
2023-03-14๐Ÿงน Misc cleanupSakarias Johansson
- Was pointless to have one event for render and one for cancel. Reduced it to one while fixing a minor bug. - Remove useless dereference and borrow. Not sure how it ended up like that. - Moved around some code.
2023-03-13๐Ÿ“ธ Add Camera defocus blur + OtherSakarias Johansson
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`.