/University.322COM_RayTracing

A program that shoots Rays, upon hit calls a pixel to an image and updates them each frame to produce the desired results

Primary LanguageCMIT LicenseMIT

Table of Contents


Introduction


RayTracing 322COM

In this project, our primary objective was to utilize initialized primitives and a background. We accomplished this by employing ray tracing techniques to determine how each pixel on the screen interacts with the scene.

For every pixel, we conducted intersection tests to determine if it intersects with any objects in the scene. If an intersection occurred, we applied a specific color to that pixel, taking into consideration whether the intersection point was in front of or behind the objects.

When no intersections were found with any objects, we implemented a function that displays a background picture instead of colored pixels. This allowed us to seamlessly integrate the background into the scene when no objects obstructed the view.


Software Information


  • Developed with " C++ " Programming Language
  • Ddeveloped and Built for Visual Studio

Usage:

  • Esc - to close the program.
  • Image dimensions.

Examples


Final Build download


Contribution

To contribute to 322COM_RayTracing, please follow these steps:

  1. Fork the repository to your own account.
  2. Create a feature branch for your contributions.
  3. Make your desired changes and commit them to your feature branch.
  4. Read the comprehensive setup documentation available in the repository's wiki.
  5. Submit a pull request from your feature branch to the main repository.

We appreciate your contributions and look forward to reviewing your pull request


Installation

Cloning via Terminal:

Open your terminal and navigate to the directory where you want to clone the repository
cd /desired/directory

Clone the repository
git clone https://github.com/VerzatileDevOrg/322COM_RayTracing

Move into the cloned directory
cd 322COM_RayTracing

Cloning via GitHub Desktop:

  1. Open GitHub Desktop and ensure you're logged in to your GitHub account.
  2. Click on the "+" button in the top left corner and select "Clone Repository".
  3. In the "Clone a Repository" window, select the "URL" tab.
  4. Paste the repository URL: https://github.com/VerzatileDevOrg/322COM_RayTracing
  5. Choose a local path for the repository.
  6. Click on "Clone Repository" to complete the process.

This will clone the repository to your local machine, allowing you to work with the codebase.


Prerequisites

Project Requirements:

  1. Visual studio 2020 or Newer
  2. Windows 10 or Newer.
  3. Installation of C++ Language & Development kit


License

MIT License

Copyright (c) 2023 VerzatileDevOrg ( Verzatildev )

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.