Nope, the code is mean to run in Real-Mode, a mode where registers are 16 bits and memory is severely segmented. No to mention the direct access to the VGA which modern Operating System forbid.
Thanks for taking the time to report it. I fixed it now.
Thanks for those kind words.
Can you pastebin.com it so we can see what it looks like ?
How come you decided for a coordinate system with Z pointing up instead of the traditional right hand/left hands coordinate systems ?
Thanks Andrew, that 'c' variable was giving me a headache ;) ! I have updated the article with your remarks. BTW, I have listed a few good resources about raytracing at the bottom of the page: Do you know any other good…
Nope, the code is mean to run in Real-Mode, a mode where registers are 16 bits and memory is severely segmented. No to mention the direct access to the VGA which modern Operating System forbid.
Thanks for taking the time to report it. I fixed it now.
Thanks for those kind words.
Can you pastebin.com it so we can see what it looks like ?
How come you decided for a coordinate system with Z pointing up instead of the traditional right hand/left hands coordinate systems ?
Thanks Andrew, that 'c' variable was giving me a headache ;) ! I have updated the article with your remarks. BTW, I have listed a few good resources about raytracing at the bottom of the page: Do you know any other good…