Upcoming Events
Unite 2010
11/10 - 11/12 @ Montréal, Canada

GDC China
12/5 - 12/7 @ Shanghai, China

Asia Game Show 2010
12/24 - 12/27  

GDC 2011
2/28 - 3/4 @ San Francisco, CA

More events...
Quick Stats
142 people currently visiting GDNet.
2406 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!
Link to us Events 4 Gamers
Intel sponsors gamedev.net search:
Look Up: (916 Terms)
Browse the Dictionary
Section:
Categories:
Audio (80) Business (59) Community (19)
Design (89) Design Patterns (7) File Formats (32)
Games (64) General (83) Graphics (241)
Hardware (54) Network (41) OS (26)
People (30) Programming (143)
Contributions by Mathias Ricken
Swept Sphere
A swept sphere is a 3D object that can be created by pulling, or sweeping, a sphere along a path, leaving a trace that kind of resembles the shape of toothpaste when it comes out of the tube. While sweeping, the radius of the sphere may be changed, and the path does not need to be a straight line. Quite often, though, swept spheres are used in collision detection as an alternative to bounding boxes. In these cases, most of the time the path is a straight line and the radius stays fixed. The object that is created by sweeping a sphere like that is a cylinder with hemispheres, which have the same radius as the cylinder, attached to both ends. Detecting if a point is within this object is computationally quite simple, often easier than doing this with a bounding box.
TANSTAAFL
The abbreviation TANSTAAFL stands for "there ain't no such thing as a free lunch" and is quite often used by Michael Abrash when he talks about optimization. It means that whatever you do, there's always a trade-off, be it size, speed, or the developer's nerves.


Home
About
Contributors
Add Definition


The Game Dictionary™ is a trademark of GameDev.net LLC. No duplication, reproduction, or transmission of the Game Dictionary or its content is allowed without the consent of GameDev.net LLC.