mardi 22 avril 2014

Check if ray hit cube


Vote count:

0




Is there a very fast way to check if a ray hit a cube? I know that i could just simply check every triangle of the cube, but there are a lot of rays and a lot of cubes, and it has to happen very fast. So is there a simple and fast way to check if a ray hit a cube? (Checking the spheres first is not an option right now.)



asked 29 secs ago






Aucun commentaire:

Enregistrer un commentaire