1 Frisbee Physics Simulation Charles George Advisor: Brian Postow 03/05/05.

Slides:



Advertisements
Similar presentations
Using 2D sprite with OpenGL 2003 team Koguyue. Overview Motivation and basic concepts Advantages with using OpenGL Basic requirements of implementation.
Advertisements

Physics: Laws of Motion Soon Tee Teoh CS 134. Newtons Laws of Motion First Law: When there is no net force on an object, its velocity would remain the.
IS660Z Programming Games Using Visual Basic Overview of Cannonball.
This terms course Last term we both worked on learning 2 things –Processing –The concepts of graphics etc. This term will focus more on the basic concepts.
Chapter 4.2 Collision Detection and Resolution. 2 Collision Detection Complicated for two reasons 1. Geometry is typically very complex, potentially requiring.
Free Fall Sebastian Hollington. Forces when Falling… When an object is falling, various different forces are exerted upon it. When an object is falling,
Linear Motion Chapters 2 and 3.
Electric Fields The Electric Field Electric Fields Lines Field due to a Point Charge Field due to an Electric Dipole Field due to a Line of Charge Field.
CS 282.  Last week we dealt with projectile physics ◦ Examined the gravity-only model ◦ Coded drag affecting projectiles  Used Runge-Kutta for approximating.
AAE 450 Spring 2008 Adam Waite January 24, 2008 Dynamics and Control Thrust Vector Control Analysis for an Air Launched Rocket.
How do games work? Game Workshop July 4, Parts Sprites/pictures Map/background Music/sounds Player character Enemies Objects.
Chapter 4.2 Collision Detection and Resolution. 2 Collision Detection Complicated for two reasons 1. Geometry is typically very complex, potentially requiring.
1 Geometry A line in 3D space is represented by  S is a point on the line, and V is the direction along which the line runs  Any point P on the line.
Yard Wars David Greer Alex Gross Ahsen Uppal. Goals Wireless, Portable Development Real Time Voice Conferencing Exciting, Expandable Game Engine.
Game Mathematics & Game State The Complexity of Games Expectations of Players Efficiency Game Mathematics o Collision Detection & Response o Object Overlap.
1cs533d-term Notes  list Even if you’re just auditing!
Mechanics, Dynamics & Aesthetics The Complexity of Games Expectations of Players Efficiency Game Mathematics o Collision Detection & Response o Object.
CIS Game Design I Chapter 6 and 7 Blake Farrugia 10/24/2011.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
SE320: Introduction to Computer Games Week 8: Game Programming Gazihan Alankus.
Problem 8. Pebble skipping. Problem It is possible to throw a flat pebble in such a way that it can bounce across a water surface. What conditions must.
CS 4730 Physical Simulation CS 4730 – Computer Game Design.
 Calculate the acceleration that this object experiences 30 kg 150 N.
What is Projectile Motion?
Vectors 1D kinematics 2D kinematics Newton’s laws of motion
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
3D Pong Boone Howard Chad Meyer Dr. Mitch Roth. C ++ Evolved from C, a general purpose programming language. The language used to write our program. Uses.
A 2-D, multi-player tank game developed in PLT Scheme ~ ~ ~ Ben VandenBos, Tim Reeves, Justin Hall, and John Ericksen ~ ~ ~ Senior Project - CS496 Spring.
Game Physics – Part I Dan Fleck Coming up: Rigid Body Dynamics.
Semester Project: Air Hockey. Areas of Work Scene Graph and Texture Mapping Physics and Collision Detection Opponent AI Interface Design.
Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.
Let’s play snooker!. Overview Introduction to snooker UML diagram Physics Simulation techniques Result Conclusion Further research.
Addison Wesley is an imprint of © 2010 Pearson Addison-Wesley. All rights reserved. Chapter 7 The Game Loop and Animation Starting Out with Games & Graphics.
Objective 5 MOTION & FORCES. Have this on your desk for EVERY question involving math. FORMULAS Constants & Conversions Ruler EVERY FORMULA YOU NEED IS.
Kinematics Velocity and Acceleration. Motion Change in position of object in relation to things that are considered stationary Usually earth is considered.
Equation of Motion for a Particle Sect nd Law (time independent mass): F = (dp/dt) = [d(mv)/dt] = m(dv/dt) = ma = m(d 2 r/dt 2 ) = m r (1) A 2.
Developing An Educational Rigid Body Dynamics Physics Engine By Neal Milstein.
References: Wikipedia PHYSICS + VECTORS.  Why physics?  Good for every game developer to know.  Physics formulae are often vector-based  A good chance.
Particles Paul Taylor Polygons are not so hot! Good for representing objects like A Cup A Robot A Pyramid Not so hot for creating Hair Snowflakes.
Kinematics in Two Dimensions. Section 1: Adding Vectors Graphically.
1 Let’s play snooker Group 2 Yannick Thimister Frans van den Heuvel Enno Ruijters Esther Verhoef Ali B. Ozmen Achim Leydecker.
Collision Detection And Response Jae Chun KyungSoo Im Chau Vo Hoang Vu.
Goal: To understand what electric force is and how to calculate it. Objectives: 1)Understanding how to translate electric field to force 2)Understand how.
Particles and their home in Geometry Shaders Paul Taylor 2010.
Rigid Body Dynamics: A Graphical Simulation Eugene Paik
By: Aaron Knight. What is Emulation? Emulation is the process of implementing in software a set of hardware. Applications meant for another platform can.
Introduction to Game Programming & Design III Lecture III.
Computer Graphics Imaging Ying Zhu Georgia State University Lecture 29 Soft Bodies and Rigid Bodies.
Physics Section 4.4 Describe various types of forces Weight is a measure of the gravitational force exerted on an object. It depends upon the objects.
Friction is a force between two surfaces that are sliding, or trying to slide across one another, for example when you try to push a toy car along the.
Understand the principles of statics Graphical vectors Triangle of forces theorem Parallelogram of forces theorem Concept of equilibrium
Reference: What is it? A multimedia python library – Window Management – Graphics geometric shapes bitmaps (sprites) – Input Mouse Keyboard.
Research and Development of a Physics Engine by Timmy Loffredo.
2D Simulation of Rigid Bodies
Graphical Output Basic Images.
Catapult 2016.
The physics of falling In this section you will
Scalar: A quantity that has only magnitude Example: speed
Solve for variable 3x = 6 7x = -21
Vectors.
Fight Game Brian Kessler.
Chapter 4.2 Collision Detection and Resolution
Think back to GCSE… Define the following terms and see if you can make any connections between them. Energy Work Power Time Distance Force Velocity.
CIS 488/588 Bruce R. Maxim UM-Dearborn
Devil Physics Baddest Class on Campus AP Physics
Find the velocity of a particle with the given position function
The physics of falling In this section you will
Motion in Real and Virtual Worlds
Programming games Demonstrate cannonball
GPAT – Chapter 7 Physics.
Presentation transcript:

1 Frisbee Physics Simulation Charles George Advisor: Brian Postow 03/05/05

2 Road Map -Changes in project since design presentation -Game Programming -Input Output -Physics, -Players -Frisbees -Future Work -Conclusions

3 Project Changes Original: –Full Ultimate Frisbee Simulation –focus on AI and Physics modeling –A full playable, 7 on 7 game of ultimate –Written entirely in C++ using Direct X A change was needed –Too much, not enough experience in field The project became –Simplified Frisbee Golf simulation –Focus on physics, and writing expandable code

4 Road Map -Changes in project since design presentation -Game Programming -Input Output -Physics, -Players -Frisbees -Future Work, conclusions

5 Output All Graphics done in Direct Draw 2D Polygons, drawn using Direct Draw to gain access to surface memory Back Buffered, one surface flipping chain Separated from game logic

6 Screen Shot

7 Game Programming Input handled, Physics calculated, World updated Game world redrawn Game input processed

8 Input Designed for expansion Basic idea: –Tokens created, based on Direct Input In the future, AI also –Each token sent to appropriate player object In my version, can be only one –All Player objects calculate their appropriate movement from tokens Allows for modularity and expandability

9 Roadmap -Changes in project since design presentation -Game Programming -Input Output -Physics, -Players -Frisbees -Future Work -Conclusions

10 Frisbee Physics 101

11 Player Physics Based on Acceleration, Velocity vectors for movement Bounding Boxes for collision –Two bounding boxes, one for Frisbees, one for other players –Collision detection is 2D, with 3D checks built in

12 -Changes in project since design presentation -Game Programming -Input Output -Physics, -Players -Frisbees -Future Work -Conclusions

13 Future work Future Work - Make it understand Ultimate Rules –Implement AI –Improve Graphics, add sound Conclusions –Took on many tasks –Great learning experience

14 Questions?

15 Explanations of constants Variables v: velocity a: angle of attack Constants ρ: air density A: area of disk C x : experimental constants d: diameter of disc m: mass of disc g: gravity Vectors v: velocity mg: force of gravity D: drag, opposite of v L: Opposite of gravity