For a detailed explanation, see here
Under ray-tracer/io.tuliplogic.raytracer.ops.programs
you'll find a few programs that write .ppm
files in a directory. The world for these images is built programmatically
It is possible also to have images served through http.
- Run docker-compose
> docker-compose up
- Run the http server (port 8080)
> simple-http4s/reStart`
-
Open swagger docs
-
Create a user
-
Update user password
-
Login and get an access token
-
Use the access token to submit a computation to
POST /scene
-
Check the status of the submitted scenes
GET /scene
-
Access a single complete scene png with
GET /scene/<sceneId>/png