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-25 0:25

>>43
I've thrown away their junk god
Now you probably call yourself an "atheist" and believe in some pantheistic crap invented by rabbi Einstein.

http://unqualified-reservations.blogspot.com/2007/09/how-dawkins-got-pwned-part-1.html
In the first chapter of The God Delusion, Professor Dawkins describes himself as "a deeply religious non-believer." He calls his belief system "Einsteinian religion," and waxes poetical as follows:
Let me sum up Einsteinian religion in one more quotation from Einstein himself: "To sense that behind anything that can be experienced there is a something that our mind cannot grasp and whose beauty and sublimity reaches us only indirectly and as a feeble reflection, this is religiousness. In this sense I am religious."

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