changed example img name and quality
This commit is contained in:
@@ -2,9 +2,9 @@ name: Build & Test
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -8,4 +8,5 @@ Cargo.lock
|
|||||||
|
|
||||||
# These are backup files generated by rustfmt
|
# These are backup files generated by rustfmt
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
img.ppm
|
|
||||||
|
render.png
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
# raychel-rs
|
# raychel-rs
|
||||||
### quick and dirty multithreaded raymarcher using the awesome ["ray tracing in one weekend" Book Series](https://raytracing.github.io/)
|
### quick and dirty multithreaded raymarcher using the awesome ["ray tracing in one weekend" Book Series](https://raytracing.github.io/)
|
||||||

|

|
||||||
BIN
example.png
Normal file
BIN
example.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 784 KiB |
@@ -164,5 +164,6 @@ fn main() {
|
|||||||
pixel.channels_mut()[2] = ib;
|
pixel.channels_mut()[2] = ib;
|
||||||
});
|
});
|
||||||
|
|
||||||
img_buffer.save("img.png").unwrap();
|
|
||||||
|
img_buffer.save("render.png").unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user