14 years ago
Highlights
14 years ago
You should really just look up the DDA algorithm as previously suggested, it is 'far' simpler implementation than what you have described. My description was very poor.…
14 years ago
I could write the algorithm to do this myself if I took the time to work it out, but I wanted to see if someone else has done it first. I'm working on a voxel engine for a g…
14 years ago
I have some modified Bresenham line code, but I can't seem to wrap my head around the concept of taking it into the third dimension. typedef void (*pointCallback)(int x, int…
14 years, 1 month ago
I decided to just go ahead and write the hard, complicated code to find the next cell from the camera, and it works, but I'm having trouble tracing through the cells. My pro…
14 years ago
Latest Activity
See all in DiscussionsYou should really just look up the DDA algorithm as previously suggested, it is 'far' simpler implementation than what you …
14 years ago
I decided to just go ahead and write the hard, complicated code to find the next cell from the camera, …
14 years ago
For simplicity, since my voxels are 1x1x1 in size, I decided I could just move the ray by 1 unit, …
14 years ago