Use gdb to render a scene.
gdb --batch-silent -x main.gdb
# or
./main.gdb
# wait 8m 2s
xdg-open output.ppm
Refer main.gdb
:
source /the/path/of/ray-tracing.gdb
ray_render ...
- typescript
- c++ template
- cmake
- another cmake
- meson
Use gdb to render a scene.
gdb --batch-silent -x main.gdb
# or
./main.gdb
# wait 8m 2s
xdg-open output.ppm
Refer main.gdb
:
source /the/path/of/ray-tracing.gdb
ray_render ...