PDA

View Full Version : Pixelperfect Collisiondetection



Daikrys
03-08-2005, 06:03 PM
hi guys,

why it is so hard to find this for delphi?
except C++ is rarely too

if someone that knows how to do say something
like "i keep it for me thats my hard work"?

iam working hard to get information about this
and how to used it in opengl with delphi

are you knowing how to do it?
i worked hard on my engine and collisiondetection and with my
math and physic knowledge it seem near impossible


greats
Daiki


EDIT:
BTW thanks to MSX how helped me to figure the pixelperfect Sphere to Sphere collision and with the slide effect

Paulius
03-08-2005, 08:52 PM
Pixel perfect is term for 2D collision detection when potentially colliding sprites are checked pixel by pixel for overlapping, you can?_Tt do anything like that in 3D. What you should do is triangle ?_" triangle test on extremely low poly versions of you?_Tre meshes when their bounds overlap. You?_Tll definitely want to learn some math, cutting and pasting won?_Tt get you very far in making a 3D game. I?_Tm sure you can google up at least C implementations of collision detection on any primitives you want to use, since you know JAVA porting them shouldn?_Tt be a problem. This thread definitely does not belong in off topic forum.

Daikrys
03-08-2005, 09:45 PM
i mean what you say, i mean the collision between Faces and a Sphere

i started the topic to discuss why it is so rarely and why people they know
how to do it it keeps for themself, not to get codesamples

BTW i dont copy and paste, i like to learn that the fact i study also C++ code
but it confused me i dont can C++ :cry:
but i understand all the non C++ things

i work very hard to solve all technics iam interessted
copy and paste isnt a teacher but expierence is one and you only
get expierence when you understand how it work

when i solve the collision problem in 1 or 2 years it will be fine :wink:
thats the way

Paulius
04-08-2005, 07:05 AM
It?_Ts quite possible that no one has written proper generic collision detection code in pascal, most people just use physics libraries which do it for them

Traveler
04-08-2005, 07:28 AM
You may want to check out the routines in Omega. As I recall it has pixelperfect collision detection. Its 3D3 though

Daikrys
04-08-2005, 12:11 PM
It?_Ts quite possible that no one has written proper generic collision detection code in pascal, most people just use physics libraries which do it for them

@Paulius i know from a guy who has written one and they help me
to understand how it work :)
the collision isnt perfect but also great :)
i work with him for 2month or so, but currently he is in holidays :cry:
so all in all i find a great guy who teach me something :wink:

i also will use ODE or Newton, youre right a lot poeple using
physic librarys. people(including me) havnt the knowledge of
physics and so its perfect





when i solve the collision problem in 1 or 2 years it will be fine :wink:

i mean when i do it by myself, but with the help of mangellan i have solved
the half collisiondetection in 1 or 2 weeks :mrgreen:


@Traveler ok i will have a look :) i plan to use Omega or GLScene
in near future for 2d games