glscene

 

doc_demoscollisions

Page history last edited by skinhat 4 yrs ago

Collision detection demos

Boxed in

  • Demonstrates detecting collisions with a free form
  • Displays a sphere bouncing inside a 3DS object and
  • sphere collision detection with a complex (high poly) mesh using the octree to speed up collision detection

Face Vs Face

  • Demonstrates detecting collisions with TCollisionManager
  • Has accurate face vs face collision detection between freeforms
  • and accurate collision detection between cubes (test case).:
  • Includes moving objects in 3D with the mouse

Mesh Hit

  • Demonstrates finding the surface of a free form with raycastintersect
  • Includes basic raycast collision with a mesh and
  • finding mesh surface point and normal below mouse

Octree

  • Demonstrates finding the surface of a free form octtreeraycastintersect
  • Includes raycast collision with a complex (high poly) mesh and
  • using the octree to speed up collision detection

Raycast

  • Demonstrates casting rays onto a scene to generate a picture in Delphi's TPaintBox
  • Includes raycasting intersection sample (raycastintersect function) and
  • a two-cents worth raytracer

Sphere

  • Demonstrates detecting collisions with TCollisionManager
  • Ultra-basic collision detection sample

Comments (0)

You don't have permission to comment on this page.