Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GameEngine Collision Detection

Name: Snake4D 2011-12-24 8:28

I had a thought while ago. I read about bitBoard and I was curious, could be the concept be applied in 3D?

What I mean is to use a 3D matrix of boolean value, which correspond to the voxels. So that one could use the and, or, not, ecc bit operations to calculate if a position for example is occupied or not.

for example let's consider the two objects (represented by 1's):
object1 object2 result: no collison

0000000000   0000000000   0000000000
0001110000   0000000000   0000000000
0001110000 & 0000000000 = 0000000000
0001110000   0000000011   0000000000
0000000000   0000000011   0000000000
0000000000   0000000000   0000000000


would it be useful? Are there already games that uses this trick?

Name: Anonymous 2011-12-24 20:35

>>25
Mathematics is the emergent pseudoscience. Mathematics is nothing more than distilled declarative computational knowledge from our own imperatively computational minds, which themselves are emergent artifacts of the computational Universe in which we reside.

Universal Computation (Turing machines) can be implemented in terms of nothing more than Peano arithmetic, or vice versa. No set theory required. The Göttingen Jew may have infected mathematics and much of the sciences last century, but try as he might, he can't distort Computation, for to do so would be to deny the truth of our Universe.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List