Inspiration
As gamers, we are very interested at computer graphics and Ray Tracing is an exciting technology that we want to achieve by our own hands.
What it does
The project produces an image based on real optical activities that the objects in the scene will do.
How we built it
With C++, we apply multiple optical formulas in the project in order to approximate the realistic light.
Challenges we ran into
When developping class directly in the main file instead of as a header, there are multiple syntax problems such as defining and using functions as friend. Resolving those problems are in fact very challenging. Because the project uses various new C++ features that involves pointers, it is quite difficult to debug. The problems in algorithm combines with problems caused by misuse of pointer, making the project very complex.
Accomplishments that we're proud of
We have successfully created triangles that are functional in Ray Tracing with knowledges from linear algebra, especially Cramer's Rule, which is a rule that has been considered useless when we first learnt it. This is a part that is not explained in the document, and even described as difficult and exhausting.
What we learned
A bunch of knowledge about this technology in computer graphics and application of math in computer science.
What's next for Ray Tracing
Currently, the project uses only CPU for rendering, which is in fact rather inefficient. We want to develop a method to run this project on GPU, which is much better at multitasking.
Log in or sign up for Devpost to join the conversation.