Particles Paul Taylor 2009. Polygons are not so hot! Good for representing objects like A Cup A Robot A Pyramid Not so hot for creating Hair Snowflakes.

Slides:



Advertisements
Similar presentations
Forces & Motion. Motion A change in the position of an object Caused by force (a push or pull)
Advertisements

FORCES Mrs. Cholak.
Newton’s Laws Section 7.3. Objectives Know the definitions of Newton’s Three Laws and know how to apply them Calculate force, mass, and acceleration with.
ASTR100 (Spring 2008) Introduction to Astronomy Newton’s Laws of Motion Prof. D.C. Richardson Sections
Chapter 4 The Laws of Motion.
Force Force is a push or pull on an object The object is called the System Force on a system in motion causes change in velocity = acceleration Force is.
Falling Objects and Gravity. Air Resistance When an object falls, gravity pulls it down. Air resistance works opposite of gravity and opposes the motion.
FORCES. Force is a vector quantity and is measured in newtons (1N) There are different type of forces: – weight – friction force – normal reaction force.
Motion Notes Speed Momentum Acceleration and Force Friction and Air Resistance Newton’s Laws of Motion.
Forces and the Laws of Motion
Physical Science Chapter 2
Classical Mechanics Describes the relationship between the motion of objects in our everyday world and the forces acting on them Conditions when Classical.
Physics Chapter 6 Forces. Newton’s Laws of Motion 1 st Law (Law of inertia) –An object moving at constant velocity keeps moving at that velocity unless.
Physically Based Animation and Modeling
Modelling and Simulation Dynamics. Dynamics Dynamics is a branch of physics that describes how objects move. Dynamic animation uses rules of physics to.
Forces and Newton’s Laws. Forces Forces are ________ (magnitude and direction) Contact forces result from ________ ________ Field forces act ___ __ __________.
Newton’s Laws of Motion 1. If the sum of all external forces on an object is zero, then its speed and direction will not change. Inertia 2. If a nonzero.
Forces in 1 Dimension Chapter Force and Motion Force is push or pull exerted on object Forces change motion –Makes it important to know the forces.
Mechanics Topic 2.2 Forces and Dynamics. Forces and Free-body Diagrams To a physicist a force is recognised by the effect or effects that it produces.
ISAAC NEWTON’S PHYSICS PRINCIPLES. WHAT NEWTON DID When it comes to science, Isaac Newton is most famous for his creation of the THREE LAWS OF MOTION.
Chapter 4 Dynamics: Newton’s Laws of Motion
Notes – Chapter 4 – Forces in One Dimension. Force Force - Any push or pull acting on an object F = vector notation for the magnitude and direction F.
Forces & Newton’s Laws Ch. 4. Forces What is a force? –Push or pull one body exerts on another –Units = Newton (N) –Examples: List all of the forces that.
The Nature of Forces Chapter 11 Force A force is a push or pull A force gives energy to an object sometimes causing it to start moving, stop moving,
Sir Isaac Newton Newton’s Laws of Motion Newton’s 1st Law of Motion -An object at rest, will remain at rest, unless acted upon by an unbalanced.
Motion: a change in position, measured by distance and time.
Types of Motion Topic 4 – Movement Analysis
Motion & Forces.
Using Newton’s Laws Section 4.2 Page 96. Newton’s 2 nd Law Describes the connection between the cause of a change in an object’s velocity and the resulting.
1 Applying Newton’s Laws Assumptions Assumptions Objects behave as particles Objects behave as particles can ignore rotational motion (for now) can ignore.
SPH3U – Unit 2 Gravitational Force Near the Earth.
Chapters 5, 6 Force and Motion. Newtonian mechanics Describes motion and interaction of objects Applicable for speeds much slower than the speed of light.
Physical Science Forces
Dynamics Newton’s Laws. A force is a physical quantity that can affect the motion of an object. Since a force has magnitude, direction, and a point of.
Particles and their home in Geometry Shaders Paul Taylor 2010.
Forces and Motion Forces in One Dimension. Force and Motion  Force  Force is a push or pull exerted on an object  Cause objects to speed up, slow down,
FORCE. Any push or pull Has two components: magnitude and direction Force is a quantity capable of changing the size, shape, or motion of an object SI.
Newton’s Laws Force and Motion. Newtonian Mechanics  The relationship between a force and the acceleration it causes was first described by Isaac Newton.
Forces & Motion. Motion A change in the position of an object Caused by force (a push or pull)
1 Equations of Motion September 15 Part Continuum Hypothesis  Assume that macroscopic behavior of fluid is same as if it were perfectly continuous.
Gravity Chapter Gravity Law of Universal Gravitation- all objects in the universe attract each other through gravitational force Law of Universal.
Forces and Laws of Motion Force Force is the cause of an acceleration, or the change in an objects motion. This means that force can make an object to.
Chapter 3 Forces & Motion. Newton’s 1 st Law of Motion An object at rest will remain at rest unless acted upon by an unbalanced force. An object in motion.
“Law of Acceleration” Forces can be BALANCED or UNBALANCED Balanced forces are equal in size (magnitude) and opposite in direction UNbalanced.
Calculating Force and Types of Friction
Newton’s Laws.
Forces Change Motion.
Forces change Motion.
Forces.
Motion & Forces.
Motion & Forces.
Forces.
Forces.
Particle Systems.
Newton’s Laws of Motion
Newton’s Laws of Motion
Sir Isaac Newton
Connecting Motion with Forces
Force and Motion Vocabulary
Physically Based Animation and Modeling
Same format as first quiz. Total of 50 points
Newtonian Physics.
Motion and Forces.
Interactive Flashcards: How to Customize the Flashcards
Forces.
Force and Motion Vocabulary
Newton’s Laws of Motion
Newton's Laws Of Motion Teneighah Young.
1st hour Science November Newton’s laws of Motion!
Particle Systems.
Presentation transcript:

Particles Paul Taylor 2009

Polygons are not so hot! Good for representing objects like A Cup A Robot A Pyramid Not so hot for creating Hair Snowflakes Rain Sparks Clouds Lightning Steam

Procedural Methods This is a big Umbrella for creating objects based on procedures (algorithms) With these models Polygons are rendered only as necessary – Necessary is defined as: The Polygon will be visible to the screen & The polygon will be more than 1 pixel in size

Why Use Procedural Methods Limitations on Polygon Rendering are not the only reason – Speed (sometimes) – Realism (a lot of the time) – Special Effects – Physics Systems

4 Procedural Methods Particle Systems Language Based Models Fractal Geometry Procedural Noise

Particle Systems r%20Science/Particle%20Systems/Particle%20System%20Basic.png

Language Based Models

Fractal Geometry -01/fractal-art-alfred-laing-spiral-fantasy.jpg

Particle Systems In Detail

Particle Systems Particles can be used to represent many objects that are difficult or near impossible to create utilising polygons

This is particle #1 Particles are generally considered to be a point mass – All the mass of particle #1 is located at its infinite centre.

Visually a Particle can be anything A Particle can be just about anything – A Vertex in a Mesh – A Texture – A Billboarded Texture – A Polygon – An Entire Mesh

Independent Particles Independent Particles are the simplest form – Each particle receives input only from the ‘world’ Great for: Clouds Wind Sparks Water Spray

Newtonian Particles Courses/P1050_2009/GodfreyKneller- IsaacNewton-1689.jpg

Newtonian Particles – These guys are not anything really specialised – The only requirement is that they respect Newtons laws of physics 1)Velocity will remain constant when there is no net force 2)The net force is equal to the objects mass multiplied by its acceleration 3)The force A exerts on B is equal and opposite to the force B exerts on A *For Independent Particles we can Ignore the 3 rd rule

F = m * a Force = mass x acceleration

Position, Velocity and Acceleration The Derivative (Gradient) of Position is Velocity The Derivative (Gradient) of Velocity is Acceleration All three components can be defined using just position, time and current velocity * You could do away with velocity and use just Position and Time but then we would need to store previous position and previous timestep to calculate the new position.

Given a Point Mass We only need Position, and Velocity to define a Newtonian Particle Position {x, y, z} Velocity {Vx, Vy, Vz} To calculate the motion of the Particle we need one more value, Time deltaTime (Change in time)

Calculating Movement On an Independent Particle System of Q Particles – For each of Q Particles Compute the Forces Applied to the Particle Given mass doesn’t change generate the new velocity vector using currentPosition, currentVelocity, and force Display the particle This gives an algorithmic complexity of 1(Q)

In Practice Particle at Pos 0,0,0 with velocity 1,0,0 We shall use a force vector of gravity (0,- 9.8m/s/s,0) V = Vi + acceleration(deltaTime) V = {0,0,0} + {0,-9.8,0} (deltaTime) So for a 1 second timestep V = {1,0,0} + {0,-9.8,0} (1) 1 st step: V = {1,-9.8,0} 2 nd step: V = {1,-19.6, 0}

Adding Frictional Forces Adding a term that is proportional to velocity will simulate friction on the particles (such as air and water)

Particle Emitters

Particle Emitters Typically of high importance in video games Used to efficiently generate many of the effects Generate Newtonian Particles with an applied randomness

Dependant Particles Dependent Particles are connected together by a mesh, as strings or a even a theoretical mesh Great for: -Water -Fluids -Deformable Objects -Reactive Surfaces -Hair -Fur

Particle Meshes In the most complex form each particle may receive input from every other particle in the mesh (A complexity of N 2 ) More typically we will only allow input from each of the adjacent particles in the mesh, requiring only 4N calculations.

Forces on Particle Meshes There are many ways to calculate the forces between particles in a Mesh or String One of the most common is utilising Spring Forces When created a spring has a lenght, springConstant, and a dampeningTerm (drag)

Spring Equations The Basic Spring from a to b F = -springConstant * distanceStretched With Dampening F = -springConstant * distanceStretched * dampeningTerm

Attractive and Repulsive Particles Spring Forces are used to keep particles together Repulsive and Attractive Forces can be used to make Objects interact – Functions such as gravity, and inverse-square-law are typical Computational Complexity again goes out to N 2

Force Fields These can be used to replace many point-to- point force calculations An example is using the gravity field of Earth – Without this force field, we would need to do the calculations between each particle and the centre of the earth

The End