A naive ray tracing for VR final project
-
Naive-ray-tracing including reflection, refraction and diffuse reflection.
-
Soft-shadow, transparency, half-transparency and color-bleeding.
-
Using multi-process for speed up.
- This project is build under g++ 4.9.
There are many args to set the situation.
First we need to choose the path of the file and the file name.(It is a obj file)
Then we need to set the position of eye, light point and pixels.
Finally we can add some walls to make our scene more realistic.