CW2_readme - Computer Graphics Assignment 2 1 Overview For...

Info icon This preview shows pages 1–3. Sign up to view the full content.

Computer Graphics - Assignment 2 1 Overview For this project, you will be implementing a simple raytracer that can handle shadows and reflections in a basic scene containing primitive shapes. All rendering can be done with software, only using OpenGL to display the final image to the screen (this is how the demo code is set up). Though a ray tracer can be written in a few hundred lines of code it is quite intensive and debugging can take a fairly long time so you are advised to start early. Do not wait until the last week to start. 2 Objective This assignment is designed to give you an opportunity to implement tech- niques for rendering photorealistic images. Your task is to create a ray tracer capable of rendering a set of primitive shapes. Input: We provide you with the basic setup code for the raytracer, outlines of Object and Ray classes that will be used for determining the final color for each pixel in the image, and OpenGL code for rendering the final image. Please see the sections below for more details on each item. Output: You must write a ray tracer to render a scene composed of various primitive shapes including at least one sphere, one plane, and one triangle. This will require extending the Object and Ray classes to handle intersec- tions between these primitives and the rays you cast in your scene. You will also want to define some material properties for these objects so that you can render them with the lighting equations you used in the last assignment. Your raytracer must include simple shadows and reflections up to a recur- sion depth of at least 3. You will also need to write a readme file explaining the techniques you have used in the assignment and provide screenshots of your work. Requirements: 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Write intersection tests for spheres, planes, and triangles and include at least one of each these objects in the scene.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • ray tracer, course teaching assistant, primitive shapes, intersection tests

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern