Implement a JSON scene parser
vkoskiv opened this issue · comments
Valtteri Koskivuori commented
C-Ray should parse the scene definition from a JSON file:
./c-ray ./input/scene.json
And when arguments are not provided, read the JSON from stdin
cat input/scene.json | c-ray
This way implementing a separate launcher should be easier.
For the JSON parsing, I was considering the following lib:
https://github.com/kgabis/parson
Valtteri Koskivuori commented
Implementing this using https://github.com/DaveGamble/cJSON
Valtteri Koskivuori commented
Resolved in 1648976