From f6cd6396303effca2eefb776eff09787d0a9ed08 Mon Sep 17 00:00:00 2001 From: RangHo Lee Date: Thu, 1 Jun 2023 12:43:40 +0900 Subject: [PATCH] [doc] Include the output image in the README --- README.md | 15 +++++++++++---- output.png | Bin 0 -> 2759 bytes 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 output.png diff --git a/README.md b/README.md index 889af86..1b430d9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,11 @@ > This project is part of [Project Lemonade](https://rangho.dev/project-lemonade). -Simple path tracer written in PowerShell, based on [Raytracing in One Weekend][1] online book. +Simple path tracer written in PowerShell, based on [Raytracing in One Weekend][1] +online book. +Currently, the output image looks like this: + +
## Why PowerShell of all things @@ -30,9 +34,12 @@ Provide `-ImageWidth` and -`ImageHeight` to set the output image's width and hei Invoke-Raytracing -ImageWidth 160 -ImageHeight 90 ``` -Since all vector arithmetic is implemented in PowerShell, the rendering process is extremely slow. -Currently there is no plan to accelerate individual calculations via .NET Numerics library. -Speed is not part of the goal of this project, but it may be implemented in the future, after the base implementation is complete. +Since all vector arithmetic is implemented in PowerShell, the rendering process is +extremely slow. +Currently there is no plan to accelerate individual calculations via .NET Numerics +library. +Speed is not part of the goal of this project, but it may be implemented in the future, +after the base implementation is complete. [1]: https://raytracing.github.io/books/RayTracingInOneWeekend.html [2]: https://rangho.dev/project-lemonade/#okay-but-why-these-languages diff --git a/output.png b/output.png new file mode 100644 index 0000000000000000000000000000000000000000..b2e9c34cd32d1bbb247028c1f23c7a1dafe9084b GIT binary patch literal 2759 zcmaJ@c{mhm7azMZL?zqEk}M_r49Ze7h%gKWS*|d)u}8=fHH;`@l&wbDNtW!}mF9*< zl&oQ_X|8o*EMv>k$9KQ`J>U1w{o}mn{GRuHe(yQYd*0u35|L(xJX|7N004mJhLOJI zkykx7PWGc!>}o>wkz)$BG=u}*d=Xtd0<4}e1PlPECV=)`*p4tT(8w+r065WpY)qX2 zC2jx!m*Wk67|Kg;IrAU@Wi3Xg-*Wx_Nl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