19
HYPE MINIGOLF Natale Letizia IT-University of Copenhagen Engine Programming

Hype Minigolf

  • Upload
    yon

  • View
    35

  • Download
    1

Embed Size (px)

DESCRIPTION

Hype Minigolf. Natale Letizia IT-University of Copenhagen Engine Programming. Outline. Latest improvements Original release overview Core engine description Screencasts Conclusions. Last. Need for a better graphics – rendering issues - PowerPoint PPT Presentation

Citation preview

Page 1: Hype  Minigolf

HYPE MINIGOLFNatale LetiziaIT-University of CopenhagenEngine Programming

Page 2: Hype  Minigolf

OUTLINE Latest improvements Original release overview Core engine description Screencasts Conclusions

Page 3: Hype  Minigolf

LAST Need for a better graphics – rendering issues

Impossible to perceive depth on nonplanar surfaces – need to define a different illumination setting

Gravity and slopes – physics A ball with zero velocity on an inclined plane

should roll down due to gravity A power bar - GUI enhancements

Players need feedback for shooting

Page 4: Hype  Minigolf

OVERVIEW OF THE ENGINE Core components

Rendering Mathematics Physics Sound DataBase Graphical User Interface

Page 5: Hype  Minigolf

RENDERING ISSUES

Old rendering New

Page 6: Hype  Minigolf

RENDERING ImprovementsA different illumination setting

Ambient, diffuse and specular light set Define a better shading model of the objects

Basics of the original Camera and parameters setting (POV,

translation, rotation)

Page 7: Hype  Minigolf

MATHEMATICS Algebra, matrices and vectors operations

A vector structure is used such as to represent both vertices and vectors (norms, directions, forces, etc)

Basic operations supported, main: Extract magnitude of a vector, or give me the square

of it Normalize a vector Dot product Cross product Scaling (or vector per scalar product) Translation (or vectors sum) Difference between vectors

Page 8: Hype  Minigolf

PHYSICSOld physics New

Page 9: Hype  Minigolf

PHYSICS Improvements

Gravity parallel force

Basics of the originalA simulation loop, which comprises the

following Parts and features:

Euler integrator Collision detection/response Contact types

Page 10: Hype  Minigolf

MORE ON PHYSICS Euler integratorBasics step:

New velocity (target) = previous velocity+(current force*(deltaT/mass))

New position = previous position + (current speed*deltaT)

Collision detection/response Find interpenetration NO -> check if contact/collision (distance ball-plane)

collision if non resting contact, prepare for response YES -> reduce the deltaT of the integration step as the

half of current time to target, Contact types (based on the coeff of restitution)

Walls bump Between tiles movement

Page 11: Hype  Minigolf

GUI – POWER BAR

Page 12: Hype  Minigolf

GUI – UIMS + HUDMFC menu + HUD

Page 13: Hype  Minigolf

GUI ImprovementsA power bar

Basics of the original Microsoft MFC UIMS On game HUD

Page 14: Hype  Minigolf

SOUND Basic feedbackWindows audio

Success

Collision

Page 15: Hype  Minigolf

DATABASE Support for the operations

SELECT SHOW INSERT

As to manage highscores, course loading, user profiles

Page 16: Hype  Minigolf

SCREENCASTSLet’s see the game on play!!

Page 17: Hype  Minigolf

ORIGINAL

Page 18: Hype  Minigolf

IMPROVED

Page 19: Hype  Minigolf

CONCLUSIONS Further enhancements

GUI: Improving usabilityPhysics: Use RK4 (a more accurate integrator

- but not as fast as Euler)