Compare commits
3 Commits
9e8a0022dd
...
979a25ed7e
| Author | SHA1 | Date | |
|---|---|---|---|
| 979a25ed7e | |||
| cd0b96cc0e | |||
| 30b16b298d |
14
README.md
14
README.md
@@ -1,10 +1,11 @@
|
|||||||
# Batomorph
|
# Batomorph
|
||||||
|
|
||||||
Batomorph is a simple ray tracer, written in C23 for POSIX systems.
|
Batomorph is a simple ray tracer, written for POSIX systems in C23
|
||||||
|
with no runtime dependencies (outside of the standard library).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
To build with CMake (there are no dependencies):
|
To build with CMake:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cmake -B build
|
cmake -B build
|
||||||
@@ -12,11 +13,12 @@ cmake --build build
|
|||||||
```
|
```
|
||||||
|
|
||||||
You may want to adjust the `NTHREADS` definition in `src/render.c` to
|
You may want to adjust the `NTHREADS` definition in `src/render.c` to
|
||||||
match your system.
|
match your system for best performance.
|
||||||
|
|
||||||
The demo programs (`build/demo` and `build/rand`) will write the
|
When ran, the demo programs (`build/demo` and `build/rand`) will write
|
||||||
rendered image in sRGB
|
the rendered image in sRGB
|
||||||
[Farbfeld](https://tools.suckless.org/farbfeld/) to `stdout`:
|
[Farbfeld](https://tools.suckless.org/farbfeld/) to standard out. For
|
||||||
|
example:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
build/demo > out.ff # Produce Farbfeld file
|
build/demo > out.ff # Produce Farbfeld file
|
||||||
|
|||||||
Reference in New Issue
Block a user