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.
- Developed with " C++ " Programming Language
- Ddeveloped and Built for Visual Studio
Usage:
- Esc - to close the program.
- Image dimensions.
Final Build download
To contribute to 322COM_RayTracing
, please follow these steps:
- Fork the repository to your own account.
- Create a feature branch for your contributions.
- Make your desired changes and commit them to your feature branch.
- Read the comprehensive setup documentation available in the repository's wiki.
- Submit a pull request from your feature branch to the main repository.
We appreciate your contributions and look forward to reviewing your pull request
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
- Open GitHub Desktop and ensure you're logged in to your GitHub account.
- Click on the "+" button in the top left corner and select "Clone Repository".
- In the "Clone a Repository" window, select the "URL" tab.
- Paste the repository URL: https://github.com/VerzatileDevOrg/322COM_RayTracing
- Choose a local path for the repository.
- Click on "Clone Repository" to complete the process.
This will clone the repository to your local machine, allowing you to work with the codebase.
- Visual studio 2020 or Newer
Windows 10
or Newer.- Installation of
C++
Language & Development kit
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.