DOC PREVIEW
USC CSCI 599 - cs599_sp10_havok

This preview shows page 1-2-15-16-31-32 out of 32 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 32 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CS 599 Physically Based Modeling for Interactive Simulation and Games Case Study: Havok Engine for Game Physics Jernej Barbic University of Southern CaliforniaPhysics in gamesPhysics EnginesReal-time physics engines: open sourceReal-time physics engines: commercialComponents of physics engineRigid object contactReal-time simulationCharactersPhysics processing unit (PPU)GPGPUIntel LarrabeeHavokHavok EngineSlide 15Havok PhysicsSlide 17Slide 18Slide 19Slide 20Havok Physics is not…Slide 22Rigid objectsConstraintsSlide 25Slide 26Collision DetectionSlide 28Collision Detection: QueriesContinuous PhysicsSlide 31PowerPoint Presentation1CS 599Physically Based Modeling for Interactive Simulation and Games Case Study:Havok Engine for Game PhysicsJernej BarbicUniversity of Southern California2Physics in games•Custom, in-house software•Off-the shelf libraries•Physics middleware3Physics Engines•Real-time–Video games•High precision–Slow–Film–Scientific computingHalf-life 24Real-time physics engines:open source•Open Dynamics Engine (ODE)•Bullet•SOFA•and several others5Real-time physics engines:commercial•Havok (Ireland) (now Intel)•Physx (formerly NovodeX, now nVidia)•Vortex (Montreal)6Components of physics engine•Collision detection•Dynamics–rigid objects–cloth–fluids•FractureQuickTime™ and a decompressorare needed to see this picture.7Rigid object contact•Penalty-based–popular with soft/deformable objects•Impulse-based•Constraint-based–expensive, suitable for continuous contact8Real-time simulation•Speed more important than accuracy•Objects have two representations:–Complex geometry (rendering)–Simplified geometry (collision detection, dynamics)9Characters•Rag-doll physics–Rigid objects•Cloth•Controller–Natural motion•Particles (hair)10Physics processing unit (PPU)•Dedicated physics co-processor•SPARTA and HELLAS –academic–Penn State, Univ. of Georgia•Ageia (Switzerland, 2006) –later merged into nVidia–use AGEIA's PhysX SDK11GPGPU•Havok FX–may have been cancelled•Multi-GPU technology–ATI (CrossFire)–nVidia (SLI)•Increasingly more suitable for physics12Intel Larrabee•Many-core x86•Fusion of CPU and GPU•Suitable for physics•Was scheduled for 2010, but delayed13Havok•Real-time commercial physics engine•Company bought by Intel (2007) ($110 million)•Used in 150 games–Halo 3–Half Life 214Havok Engine•Animation–Fast playback–Real-time blending–Inverse kinematics–Retargeting•AI– path-findingQuickTime™ and a decompressorare needed to see this picture.15Havok Engine•Behavior–Character behavior development tool•Cloth•Destruction•Physics16Havok PhysicsQuickTime™ and a decompressorare needed to see this picture.17Havok Physics•Collision detection•Constraints•Rigid bodies•Cloth•Continuous physicsQuickTime™ and a decompressorare needed to see this picture.Uncharted 2: Among thieves18Havok Physics•Vehicle simulation•Human ragdolls•Character controller–simulate enemy characters being hitQuickTime™ and a decompressorare needed to see this picture.19Havok Physics•Visual debugger and profiler•Content creation tools•Integration with 3rd-party renderers–3D Studio Max–MayaQuickTime™ and a decompressorare needed to see this picture.20Havok Physics•Extensively optimized (machine code)•Microsoft Xbox •Sony PLAYSTATION•Nintendo Wii•PC21Havok Physics is not…•Simple technology–Must invest time to use it•Black box–Must understand the componentsand recombine them•Commercial renderer22Havok Physics•The “Havok World” (hkpWorld)•Contains all physical objectsin the simulation•Timesteps the simulationforward in timeQuickTime™ and a decompressorare needed to see this picture.23Rigid objects•The central object in Havok•hkpRigidObject class•Add to the “world”•Set mass, inertia tensor, etc.24ConstraintsBall andsocketHinge Translational25ConstraintsQuickTime™ and a decompressorare needed to see this picture.26ConstraintsQuickTime™ and a decompressorare needed to see this picture.QuickTime™ and a decompressorare needed to see this picture.QuickTime™ and a decompressorare needed to see this picture.27Collision Detection•Broad phase and narrow phaseQuickTime™ and a decompressorare needed to see this picture.Broadphase28Collision Detection•Narrow phase•Spheres•AABBs•Cylinders•Capsules•Compound shapes29Collision Detection: Queries•Closest points between two bodies•Whether two bodies penetrate•Raycast a point through spaceand get colliding objects30Continuous PhysicsQuickTime™ and a decompressorare needed to see this picture.31Continuous Physics•Time of impact:QuickTime™ and a decompressorare needed to see this picture.32QuickTime™ and a decompressorare needed to see this


View Full Document

USC CSCI 599 - cs599_sp10_havok

Documents in this Course
Week8_1

Week8_1

22 pages

Week2_b

Week2_b

10 pages

LECT6BW

LECT6BW

20 pages

LECT6BW

LECT6BW

20 pages

5

5

44 pages

12

12

15 pages

16

16

20 pages

Nima

Nima

8 pages

Week1

Week1

38 pages

Week11_c

Week11_c

30 pages

afsin

afsin

5 pages

October5b

October5b

43 pages

Week11_2

Week11_2

20 pages

final

final

2 pages

c-4

c-4

12 pages

0420

0420

3 pages

Week9_b

Week9_b

20 pages

S7Kriegel

S7Kriegel

21 pages

Week4_2

Week4_2

16 pages

sandpres

sandpres

21 pages

Week6_1

Week6_1

20 pages

4

4

33 pages

Week10_c

Week10_c

13 pages

fft

fft

18 pages

LECT7BW

LECT7BW

19 pages

24

24

15 pages

14

14

35 pages

Week9_c

Week9_c

24 pages

Week11_67

Week11_67

22 pages

Week1

Week1

37 pages

LECT3BW

LECT3BW

28 pages

Week8_c2

Week8_c2

19 pages

Week5_1

Week5_1

19 pages

LECT5BW

LECT5BW

24 pages

Week10_b

Week10_b

16 pages

Week11_1

Week11_1

43 pages

Week7_2

Week7_2

15 pages

Week5_b

Week5_b

19 pages

Week11_a

Week11_a

29 pages

LECT14BW

LECT14BW

24 pages

T7kriegel

T7kriegel

21 pages

0413

0413

2 pages

3

3

23 pages

C2-TSE

C2-TSE

16 pages

10_19_99

10_19_99

12 pages

s1and2-v2

s1and2-v2

37 pages

Week10_3

Week10_3

23 pages

jalal

jalal

6 pages

1

1

25 pages

T3Querys

T3Querys

47 pages

CS17

CS17

15 pages

porkaew

porkaew

20 pages

LECT4BW

LECT4BW

21 pages

Week10_1

Week10_1

25 pages

wavelet

wavelet

17 pages

October5a

October5a

22 pages

p289-korn

p289-korn

12 pages

2

2

33 pages

rose

rose

36 pages

9_7_99

9_7_99

18 pages

Week10_2

Week10_2

28 pages

Week7_3

Week7_3

37 pages

Load more
Download cs599_sp10_havok
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view cs599_sp10_havok and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view cs599_sp10_havok 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?