Skip to Main Content
3D Game Engine Design, 2nd Edition
book

3D Game Engine Design, 2nd Edition

by David Eberly
November 2006
Intermediate to advanced content levelIntermediate to advanced
1040 pages
26h 31m
English
CRC Press
Content preview from 3D Game Engine Design, 2nd Edition
686 Chapter 15 Intersection Methods
the midst of a picking operation, grazing pick-rays are not of much interest. You tend
to pick an object by clicking on a pixel well inside the object. Another example is
firing a laser gun at an opponent’s character. Who is to say that a grazing laser strike
really hit the character? Simply require that the character must be struck firmly inside
his boundaries. That said, if you want to handle the grazing contact, then
Exercise
15.1
Modify the line-triangle intersection code to handle the case when the line and trian-
gle are coplanar.
Similar pseudocode may be extracted from the distance functions in Sections
14.4
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

3D Game Engine Architecture

3D Game Engine Architecture

David Eberly
Blender 3D By Example - Second Edition

Blender 3D By Example - Second Edition

Oscar Baechler, Xury Greer
Computer Graphics

Computer Graphics

Alexey Boreskov, Evgeniy Shikin

Publisher Resources

ISBN: 9781482267303