diff --git a/Readme.md b/Readme.md index 9c6b07be49bbc22ce8e36bb0415d2d2c14ae067f..63b227f76e5322dd2c37de42105d3b87ee3b6ff9 100644 --- a/Readme.md +++ b/Readme.md @@ -1,28 +1,18 @@ -# Homework assignment +Programme permettant de générer avec du raytracing une image : + - Avec un canard affiché en maillage + - Anaglyphe + - Une étoile de la mort (une sphère creusé par une autre sphère -Add environment maps: - - -... and triangulated meshes: - - -All the boring code (image/obj files serializer etc) is already there; to obtain the above image it suffices to add 10-20 lines of code. +Pour réduire le nombre de calculs, nous avons défini une sphère autour du canard, et nous effectuons +les calculs de collision du rayon avec les triangles du canard seulement si le rayon passe par la sphère. ## compilation ```sh -git clone --recurse-submodules https://github.com/ssloy/tinyraytracer.git -cd tinyraytracer -git checkout homework_assignment -git submodule update --init +git clone --recurse-submodules https://gitlab.univ-lorraine.fr/marty26u/rdv_travail +cd rdv_travail mkdir build cd build cmake .. make ``` -You can open the project in Gitpod, a free online dev evironment for GitHub: - -[](https://gitpod.io/#https://github.com/ssloy/tinyraytracer/tree/homework_assignment) - -On open, the editor will compile & run the program as well as open the resulting image in the editor's preview. -Just change the code in the editor and rerun the script (use the terminal's history) to see updated images.