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

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