Simulation Acceleration Techniques

Slides:



Advertisements
Similar presentations
Real-Time Game Physics
Advertisements

Beyond the Centralized Mindset
Automatic Simplification of Particle System Dynamics David O’Brien Susan Fisher Ming C. Lin
Motivation Hair animation used in movies, games, virtual reality, etc. Problem due to complexity –Human head has over 100,000 strands of hair –Computation.
Week 11 - Wednesday.  Image based effects  Skyboxes  Lightfields  Sprites  Billboards  Particle systems.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
1Notes. 2 Building implicit surfaces  Simplest examples: a plane, a sphere  Can do unions and intersections with min and max  This works great for.
1Notes  Assignment 2 is out  Flocking references  Reynolds, “Flocks, Herds, and Schools…”, SIGGRAPH’87  Tu and Terzopoulos, “Artificial Fishes…”, SIGGRAPH’94.
Particle Systems 1 Adapted from: E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012.
GATE D Object Representations (GATE-540) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies & General Manager SimBT.
1 7M836 Animation & Rendering Animation Jakob Beetz Joran Jessurun
GPU Hierarchies for Hair Simulation Qi Mo COMP 768 course project proposal.
Hair Modeling & Simulation: An Overview Ming Lin and Kelly Ward University of North Carolina at Chapel Hill.
Animating Human Athletes By J.K. Hodgkins and W.L. Wooten Arjun Rihan CS 99K: Digital Actors.
Adaptive Dynamics of Articulated Bodies. Articulated bodies in Computer Graphics – Humans, hair, animals – Trees, forests, grass – Deformable bodies –
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Beyond Meshes Spring 2012.
Feature-length films: Games: Desktop Animations: Computer Animation.
05/09/02(c) 2002 University of Wisconsin Last Time Global illumination algorithms Grades so far.
1 7M836 Animation & Rendering Animation Jakob Beetz Joran Jessurun
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
1 Research on Animals and Vehicles Chapter 8 of Raibert By Rick Cory.
Adapting Simulated Behaviors For New Characters Jessica K. Hodgins and Nancy S. Pollard presentation by Barış Aksan.
Computer animation Hair “A Survey on Hair Modeling: Styling, Simulation, and Rendering,” K. Ward, F. Bertails, T.-Y. Kim S. Marschner, M.-P. Cani, M. Lin.
NDVI-based Vegetation Rendering CGIM ‘07 Stefan Roettger, University of Erlangen
Week 11 - Thursday.  What did we talk about last time?  Image processing  Blurring  Edge detection  Color correction  Tone mapping  Lens flare.
Exploitation of 3D Video Technologies Takashi Matsuyama Graduate School of Informatics, Kyoto University 12 th International Conference on Informatics.
Computer Graphics 2 In the name of God. Outline Introduction Animation The most important senior groups Animation techniques Summary Walking, running,…examples.
Simulation Level of Detail Or Doing As Little Work As Possible Jonathan Robbins Physically Based Modeling, Simulation, and Animation February 10, 2003.
Vision-based human motion analysis: An overview Computer Vision and Image Understanding(2007)
3D animation is rendered clip of animated 3D objects in a 3D environment. An example: Examples of movies released in 3D are Toy Story, Cars, Shrek, Wall-E,
CSC505 Particle Systems. CSC505 Object Representations So far we have represented (rendered) objects with –Lines –Polygons (triangles) –Curves These techniques.
Game Programming 06 The Rendering Engine
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Artificial Intelligence in Game Design Complex Steering Behaviors and Combining Behaviors.
Benjamin Stephens Carnegie Mellon University Monday June 29, 2009 The Linear Biped Model and Application to Humanoid Estimation and Control.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 7. Speed-up Techniques Presented by SooKyun Kim.
CS-378: Game Technology Lecture #15.5: Physically Based Simulation Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney,
Interactive Control of Avatars Animated with Human Motion Data By: Jehee Lee, Jinxiang Chai, Paul S. A. Reitsma, Jessica K. Hodgins, Nancy S. Pollard Presented.
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
Advanced Games Development Game Physics CO2301 Games Development 1 Week 19.
07/22/02 Scalable Dynamics Stephen Chenney University of Wisconsin – Madison
Animation Animation is about bringing things to life Technically: –Generate a sequence of images that, when played one after the other, make things move.
APE'07 IV INTERNATIONAL CONFERENCE ON ADVANCES IN PRODUCTION ENGINEERING June 2007 Warsaw, Poland M. Nowakiewicz, J. Porter-Sobieraj Faculty of.
UNC Chapel Hill David A. O’Brien Automatic Simplification of Particle System Dynamics David O’Brien Susan Fisher Ming C. Lin Department of Computer Science.
Presented by 翁丞世  View Interpolation  Layered Depth Images  Light Fields and Lumigraphs  Environment Mattes  Video-Based.
1 Geometry for Game. Geometry Geometry –Position / vertex normals / vertex colors / texture coordinates Topology Topology –Primitive »Lines / triangles.
Computer Animation Algorithms and Techniques
Physically-Based Motion Synthesis in Computer Graphics
COMPUTER GRAPHICS CHAPTER 35 CS 482 – Fall 2017 ANIMATION
Game Design, Development, and Technology
CS-378: Game Technology Lecture #15: Physically Based Simulation
Human Figure Animation
Ray Tracing Dr. Scott Schaefer.
CS475 3D Game Development Level Of Detail Nodes (LOD)
Foundations of Visualization 10/25/2005 Notes
© University of Wisconsin, CS559 Fall 2004
Using Flow Textures to Visualize Unsteady Vector Fields
Physics-based Sound Synthesis with a Novel Friction Model
Prepared by: Engr . Syed Atir Iftikhar
UMBC Graphics for Games
(c) 2002 University of Wisconsin
WELCOME.
CSCE 441: Computer Graphics Ray Tracing
Advanced Games Development Game Physics
Computer Graphics Lecture 15.
Use of particle effects within games
Lecture 3. Virtual Worlds : Representation,Creation and Simulation ( II ) 고려대학교 그래픽스 연구실.
Presentation transcript:

Simulation Acceleration Techniques Kelly Ward Comp 259 – Spring 2002 March 20, 2002 March 20, 2002

Simulation Acceleration Real-time performance can be necessary for many applications Virtual Reality Video Games Complexity of animation environment can make it too time consuming to animate in real-time March 20, 2002

Simulation Acceleration Represent a certain animation at different resolutions, or level of detail, depending on a number of criteria Placement in scene with respect to viewer In field of view Distance from viewer Importance to scene Motion March 20, 2002

Dynamics Culling “View-dependent culling of dynamic systems in virtual environments” S. Chenney and D. Forsyth. In Proc. of ACM Symposium on Interactive 3D Graphics, 1997. In a virtual environment, cull objects that have no effect on the view while maintaining consistency of the environment March 20, 2002

Dynamics Culling Consistency Completeness Determine state object should be in when back in view Completeness Objects may come back into view on their own March 20, 2002

Conditioning Influence of initial conditions Strong Medium Weak Accurate predictions can be made, have to integrate system as if it were in view Medium Qualitative predictions can be made, apply techniques that best match the properties of the system Weak Difficult for viewer to make prediction, but still has general knowledge of system – use general behavior of system and choose new state consistent with model March 20, 2002

Bumper Cars Simulate cars driving around ellipse Try to avoid walls and other cars Results in perturbed motion around ellipse Model three different views Static view Walkthrough view Random view March 20, 2002

Bumper Cars - Dynamics Integrates standard rigid body equations Steering wheel angle Speed Friction from wheels and surface Intervals over which to change drive parameter Collisions detected using OBBTrees March 20, 2002

Bumper Cars Motion is not predictable by viewer Actions (collision response, avoidance, random noise) make perturbations uncertain to initial conditions Viewer will be able to detect average effect of perturbations over time March 20, 2002

Bumper Cars Solution: Capture distribution of spatial effect of the temporal mean of perturbations Sample spatial effect and apply to constant elliptic motion expressed as explicit function of time March 20, 2002

Analysis March 20, 2002

Real-time Animation “Simulation Levels of Detail for Real-time Animation” Deborah Carlson and Jessica Hodgins. In Graphics Interface’97, pages 1–8, June 1997. Simulate group of legged creatures using levels of detail to reduce computation cost March 20, 2002

Real-time Animation Build a virtual world where group of legged creatures have to escape a giant puck If creature collides with something, creature may recover balance or fall down Two measures of success of LODs for environment Outcome of the game must be relatively unchanged Viewer’s perception of motion must be the same March 20, 2002

Representation of Creatures Three levels of detail Rigid-body dynamics – Finest detail Hybrid kinematics/dynamics Point-mass simulation – Coarsest detail March 20, 2002

Representation of Creatures Rigid-body dynamics Simulation with three bodies and four degrees of freedom Control flight duration, body attitude (roll, pitch, yaw), and forward and sideways velocity March 20, 2002

Representation of Creatures Hybrid kinematic/dynamic model Simple dynamic model for motion of body Computes motion of leg kinematically Position of body on playing field computed using point-mass model Height, roll, pitch of body computed using a table lookup and interpolation March 20, 2002

Choosing Representation Dynamic behavior of creature Area of influence around each creature and object – where interactions are likely Creature intersects another area use highest LOD March 20, 2002

Choosing Representation Importance of creature to viewer Out of view: Use lowest LOD In view but far away: Use middle LOD In view and close to viewer: Use highest LOD March 20, 2002

Transitions Desire smooth blending of motion Allow switch only during a particular part of flight phase during running cycle Cyclic motion allows for this technique March 20, 2002

Effect of Puck Area of Influence Analysis Effect of Camera Range Effect of Puck Area of Influence March 20, 2002

Animating Prairies “Animating Prairies in Real-Time” Frank Perbet and Marie-Paule Cani I3D, 2001 Use level of detail to accelerate the animation and rendering of the blades of grass on a prairie March 20, 2002

Animating Prairies Simulations: Wind blowing through the grass A walker moving through the scene Due to so many blades of grass in one scene, too time-consuming to animate and render in real-time March 20, 2002

Grass Representation Three basic representations of grass 3D geometry – Finest detail Volumetric textures 2D textures – Coarsest detail Choose representation based on distance to viewer Need to transition smoothly between different representations March 20, 2002

3D Geometry Representation Most convincing representation – Used for grass closest to viewer Blades are represented as a chain of line-segment primitives March 20, 2002

3D Geometry Representation Effect of wind - each 3D blade of grass is sent Direction of wind Index – indicates bend of grass Different kinds of grass have different stiffness and bending properties March 20, 2002

Volumetric Textures Referred to as 2.5D representation Polygon strip mapped with a semi-transparent texture Used at mid-distance from viewer Strip is never shown to be parallel to viewer March 20, 2002

Volumetric Textures Effect of wind – similar to 3D geometry representation Use layers of vertical polygon strips to allow animation Similar motion to 3D geometry allows easier transitioning between the two March 20, 2002

2D Textures 2D texture is mapped on the terrain Represents grass at a distance from the viewer Textures generated by computing 2D images of 3D blades Wind not simulated March 20, 2002

Choosing Representation Tile terrain into squares referred to as “patches of grass” Patches that are out of the field of view are culled since they will not appear Representation chosen based on distance to viewer March 20, 2002

Transitions Seamless transitions between representations desired to alleviate disturbance to viewer Difficulty going from 3D to 2.5D to 2D and back again Different physical representation Different motion modeling from wind March 20, 2002

Transitions - 3D to 2.5D Cannot just switch or fade in-fade out Blades not likely to be in exact same positions Apply morphing technique Each representation uses same number of blades – 3D geometry maps to position on texture March 20, 2002

Transitions - 2.5D to 2D Since 2D representation is used at a distance, can dissolve between the two representations Poor results on silhouettes (outline of hills) 2.5D representation progressively grows (or un-grows) from the ground 2D texture progressively disappears (or appears) Discrepancies not as distracting to viewer March 20, 2002

Results March 20, 2002

Hair Simulation Three representations used for hair Individual Strand Groupings – Finest detail Clusters Patches – Coarsest detail March 20, 2002

Transitions Patch to Cluster to Strand groupings Same basic skeleton model – controls motion 1 patch to 3 clusters Interpolate values of new cluster skeletons Similar technique for reverse Switch based on criteria Distance from viewer Forces acting on hair Occlusion of hair March 20, 2002

Hair Simulation Front View Back View March 20, 2002

References D. Carlson and J. Hodgins. Simulation Levels of Detail for Real-Time Animation. In Proc. of Graphics Interface 1997, 1997. S. Chenney and D. Forsyth. View-dependent culling of dynamic systems in virtual environments. In Proc. of ACM Symposium on Interactive 3D Graphics, 1997. D. O’Brien, S. Fisher, and M. Lin. Automatic simplification of particle system dynamics. Computer Animation 2001. F. Perbet and M. Cani. Animating Prairies in Real-Time. Proceedings on 2001 Symposium on Interactive 3D graphics, March 2001. March 20, 2002