Open zhuyuezx opened 1 year ago
You can call the raycasting function with an argument pointing to whatever scene file you want. You can browse the scene files in the data directory. For example, you can do the bunny with "./raycasting ../data/bunny.json".
You can call the raycasting function with an argument pointing to whatever scene file you want. You can browse the scene files in the data directory. For example, you can do the bunny with "./raycasting ../data/bunny.json".
Is this approach also possible in Windows terminal or in Visual studio?
I'm working on triangle intersection part but found that main.cpp doesn't contain any related part. I think I need to add insert code into main.cpp but don't have any clue.
How to get the output like these two pictures![image](https://user-images.githubusercontent.com/56620120/191389240-2129b0ab-37a5-4484-96e2-d91154cbf1d2.png)