Skip to content

bajabob/OpenGL-Ray-Tracing

Repository files navigation

CSCE-441-Project-5

Notes

For this project I had to implement a ray-tracing algorithm for rendering various scenes in OpenGL using various light sources, objects and lighting conditions.

Controls

  • 'q' to quit
  • '1' to render base scene with specular, diffuse, and ambient with a plane and four spheres.
  • '2' to render a specular scene
  • '3' to render a diffuse scene
  • '4' to render eight objects with reflections

Screenshots

Scene 1 - base rendering requirements

scene 1

Scene 2 - specular example

scene 2

Scene 3 - diffuse example

scene 3

Scene 4 - eight objects with various settings

scene 4

Plagiarism Notice

If you are working on an assignment for a University or High School course you must check with your professor and/or school's guidelines on plagiarism before copying any work found in this codebase. The author of this code is not to be held responsible for acts of cheating or misconduct. The author, much like the creator of a scholastic paper or article has decided to post this codebase for educational purposes. If you are a professor or course admin that is having an issue with cheating in your class, please feel free to contact the author.

License

Copyright (c) 2015 Robert Timm

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

An OpenGL ray tracing implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages