Skip to content

Make the project build and make it submission-ready #36

Description

@wermos

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:

  1. 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.
  2. 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.

  • Make the project build
  • Make it submission-ready

Assignee: @mahesh0537

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions