Upload
paige
View
45
Download
0
Tags:
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
Hype Minigolf
Hype MinigolfNatale LetiziaIT-University of CopenhagenEngine Programming
OutlineLatest improvementsOriginal release overviewCore engine descriptionScreencastsConclusions
LastNeed for a better graphics rendering issuesImpossible to perceive depth on nonplanar surfaces need to define a different illumination settingGravity and slopes physicsA ball with zero velocity on an inclined plane should roll down due to gravityA power bar - GUI enhancementsPlayers need feedback for shootingOverview of the engineCore componentsRenderingMathematicsPhysicsSoundDataBaseGraphical User Interface
Rendering issuesOld rendering New
RenderingImprovementsA different illumination settingAmbient, diffuse and specular light setDefine a better shading model of the objects
Basics of the originalCamera and parameters setting (POV, translation, rotation)MathematicsAlgebra, matrices and vectors operationsA 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 itNormalize a vectorDot productCross productScaling (or vector per scalar product)Translation (or vectors sum)Difference between vectors
PhysicsOld physicsNew
PhysicsImprovementsGravity parallel force
Basics of the originalA simulation loop, which comprises the following Parts and features:Euler integratorCollision detection/responseContact typesMore on physicsEuler integratorBasics step:New velocity (target) = previous velocity+(current force*(deltaT/mass))New position = previous position + (current speed*deltaT)Collision detection/responseFind interpenetrationNO -> check if contact/collision (distance ball-plane) collision if non resting contact, prepare for responseYES -> reduce the deltaT of the integration step as the half of current time to target, Contact types (based on the coeff of restitution)Walls bumpBetween tiles movement10GUI power bar
GUI UIMS + HUDMFC menu + HUD
GUIImprovementsA power bar
Basics of the originalMicrosoft MFC UIMSOn game HUD
SoundBasic feedbackWindows audio
SuccessCollisionDatabaseSupport for the operationsSELECT SHOW INSERT
As to manage highscores, course loading, user profiles
ScreencastsLets see the game on play!!Original
Improved
ConclusionsFurther enhancements
GUI: Improving usabilityPhysics: Use RK4 (a more accurate integrator - but not as fast as Euler)