|03 March 2015|
Raycaster Project Issue - Triangle Ray collision
Hello, for my c++ class I am trying to create a simple raycaster and am having some issues. For some reason I keep getting just 1 white pixel instead of the triangle I am expecting. Could someone tell me what I am doing wrong? I ziped the entire project but the main area in question is located in PrimTriangle.cpp.
I am using the algorithm explained here: http://www.scratchapixel.com/old/le...etric-solution/
Any help would be appreciated!
|reply share thread|