Currently, we have a lot of people doing lots of different work on the ray tracer. As a result, the project is currently failing to build, and we cannot use the executable at all. There are two parts to this task:
Make the project build
This subtask is pretty self explanatory. Do whatever is necessary (short of removing features) to make the project build.
Make it submission-ready
Obviously, one of the pre-requisites of making the project submission-ready is having it build. Apart from that, to create a nice-looking picture as our final submission, we need to generate the scene first.
The scene used as the cover image of the SoC had 487 spheres. Since we also have a Cube class, we can have a scene filled with spheres and cubes. Here is what you should do:
- For every $x$-coordinate and $y$-coordinate in a $22\times 22$ grid, place one object.
a. Randomly decide whether it should be a cube or a sphere, and randomly decide the material for it and the related data.
- Make a
Scene object with this scene, and then pass it into the render function (which you can assume to be written by @KartikDhawaniya).
It would be good to have one PR for each sub-task.
Assignee: @mahesh0537
Currently, we have a lot of people doing lots of different work on the ray tracer. As a result, the project is currently failing to build, and we cannot use the executable at all. There are two parts to this task:
Make the project build
This subtask is pretty self explanatory. Do whatever is necessary (short of removing features) to make the project build.
Make it submission-ready
Obviously, one of the pre-requisites of making the project submission-ready is having it build. Apart from that, to create a nice-looking picture as our final submission, we need to generate the scene first.
The scene used as the cover image of the SoC had 487 spheres. Since we also have a
Cubeclass, we can have a scene filled with spheres and cubes. Here is what you should do:a. Randomly decide whether it should be a cube or a sphere, and randomly decide the material for it and the related data.
Sceneobject with this scene, and then pass it into therenderfunction (which you can assume to be written by @KartikDhawaniya).It would be good to have one PR for each sub-task.
Assignee: @mahesh0537