|
-
Nov 7th, 2002, 01:11 PM
#1
Thread Starter
Fanatic Member
Direct 3D collision detection
I have a car mesh and I can move it around in 3d world.
But how should I check for collisions whit the car and a wall?
-
Nov 7th, 2002, 02:56 PM
#2
3D collision detection is a theme for many books, and there are many.
The Game Programming Gems contain many articles on different ways to do collision detection.
I guess a search on Google would turn up lots of info. Try to search for
collision detection 3D
or
bounding sphere collision detection
or
octree collision detection
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 7th, 2002, 04:58 PM
#3
Thread Starter
Fanatic Member
I've searched everywhere, gamedev.net, planet-source-code.com...
There isn't so many DirectX tutorials on the web huh?
-
Nov 7th, 2002, 11:40 PM
#4
Frenzied Member
Collision detection has nothing to do with DirectX.
Z.
-
Nov 8th, 2002, 04:04 PM
#5
Thread Starter
Fanatic Member
-
Nov 8th, 2002, 04:22 PM
#6
Frenzied Member
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Nov 8th, 2002, 05:42 PM
#7
Thread Starter
Fanatic Member
Ah, never heard of it.
Hope it is about Direct3D, most tutorials I find is about OpenGL.
-
Nov 8th, 2002, 06:19 PM
#8
Frenzied Member
Originally posted by petrus
Direct3D then.
*sigh* Given that Direct3D is a part of DirectX, collision detection therefore has nothing to do with Direct3D, either.
Collision detection has nothing to do with any API or another. It is something that you have to implement specifically for your own game.
Z.
-
Nov 8th, 2002, 06:23 PM
#9
Thread Starter
Fanatic Member
..........
I KNOW! My question is:
How do I perform Collision Detection between polygons in 3D space?
Was that a correct question, Zaei?
-
Nov 8th, 2002, 06:25 PM
#10
Frenzied Member
Google it. There are thousands of sites out there. Be prepared for some fun math, though.
Z.
-
Nov 8th, 2002, 06:27 PM
#11
Thread Starter
Fanatic Member
But there is octrees (spelling?) and I don't understand what that is.
I've not found any tutorials about octrees(spelling?).
What is octrees(Again, spelling?)?
-
Nov 8th, 2002, 06:46 PM
#12
Frenzied Member
An OctTree is a space partitioning method. It only facilitates fast collision detection.
Z.
-
Nov 8th, 2002, 07:07 PM
#13
Monday Morning Lunatic
I think it's octree not octtree.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 8th, 2002, 07:14 PM
#14
Frenzied Member
Originally posted by parksie
I think it's octree not octtree.
Octree makes no sense. Oct, as in Octal, for 8, Tree, as in... Tree... An OctTree is simply a tree that has 8 child nodes per node.
Z.
-
Nov 8th, 2002, 07:47 PM
#15
Monday Morning Lunatic
Google.
OctTree = 768 results.
Octree = 14,400 results.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Nov 8th, 2002, 07:54 PM
#16
I don't see why Oc shouldn't stand for octal too.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 8th, 2002, 08:03 PM
#17
Frenzied Member
Originally posted by parksie
Google.
OctTree = 768 results.
Octree = 14,400 results.
And he said he couldnt find anything... *sigh*
GPG1 and 3D Game Engine Design both agree with you gentlemen *bows*.
Z.
-
Nov 8th, 2002, 08:04 PM
#18
Frenzied Member
Originally posted by CornedBee
I don't see why Oc shouldn't stand for octal too.
And Qua could stand for Quadrilateral... Oc just doesnt sound right to my ears...
=)
Z.
-
Nov 8th, 2002, 08:25 PM
#19
They call it that in the Game Programming Gems.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 8th, 2002, 08:55 PM
#20
Frenzied Member
I know, I went and looked =).
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|