Lab 3 Particle Systems

Total Page:16

File Type:pdf, Size:1020Kb

Lab 3 Particle Systems 1/18/2011 Course Materials Course webpage: http://www.scss.tcd.ie/John.Dingliana/cs7055 Lecture Slides Labs Readings from the course Submission and feedback through WebCT CS7057 – Real-time Physics 01 - Introduction Relevant References Learning Outcomes Outline and describe the architecture and components Baraff, Witkin and Kass “Physically based Animation Course notes” – Siggraph 2001 of a physics-based motion pipeline that would be Most of the Labs are http://www.pixar.com/companyinfo/research/pbm2001/ based on these notes employed in a typical game. Mueller, James, Theurey, Stam “Real-time Physics” – Siggraph Explain basic rigid body dynamics and the mechanics of 2008 deformable systems. http://www.matthiasmueller.info/realtimephysics/index.html Analyze and compare different approaches for collision • Ian Millington – “Game Physics Engine Development” detection and collision response of rigid and deformable • Kenny Erleben - “Physics based objects. animation” • David H.Eberley“Game Physics Engine Build a real-time rigid body simulation system for Development” convex polyhedra. Assessment Physically Based Modelling 100% based on coursework Cs7057 Final A form of Procedural ~60% labs and ~40% final assignment Mark [100%] Modelling, Lab assessment: Synthesize motions of Weekly demos 60% Labs Final Project Final Cumulative submission 40% [~60%] [~40%] inanimate objects due to Youtube Video external forces Approx. 4 page written report Cumulative Weekly Mark Source code Submission Motivations: Realism / (60% of labs) (40% of labs) Details of final project will be provided plausibility, Useful later in the year Automation, Interaction Supplemental [if required] will be by exam All work is expected to be done individually, where other help or sources are used these Jenga App © 2010, NaturalMotion should be duly referenced. Students are expected to familiarise with college’s Image From: http://appadvice.com/appnn/2010/12/review-jenga/ regulations on plagiarism 1 1/18/2011 State of the Art (commercial) DMM LucasArts’ Star Wars – The Force Unleashed [2008] featured 3 different state-of-the art technologies in Physics in industry Havok Physics : for gameplay rigid body dynamics physics NaturalMotion Euphoria for physically responsive non-player character behaviour Pixelux DMM for deformable and destructable effects physics Tech Trailer: http://www.gametrailers.com/video/unleashing-the-star-wars/29964 Real-time Physics State of the Art Some well known physics Engines There is a vast amount of research literature in Physically Based Animation that deals with highly complex effects that is not yet fully exploited in commercial applications Also common in 3D modelling/animation tools: 3DS Deformable Objects © Ron Fedkiw Fluid animaton © Cem Yuksel Character Physics ©Michael Neff MAX (havok reactor), Blender (bullet) and simulation Application Areas Classes of Game Physics Interactive Surgical simulation; Virtual reality; Assembly planning computer preoperative design prototyping animation planning Computational Effects Physics Gameplay Physics Scientific robotics; Video games Education • Live Secondary Animations • Fully interactive visualization manipulation • One-way Interaction • Affects the user • e.g. Particle effects, cloth Pre-computed Physics Off-line Physics • Canned Physics • e.g. Cinematics / • Secondary Animations e.g. cutscenes Cloth, water, some • Pre-calculated character animations Game • Pre-rendered Physics 2 1/18/2011 Effects Physics Basic Physics Stages Collision Response: Collision apply forces Detection: and impulses check for intersections l Equations of Motion: model the motion of the object Havok FX Demo © 2005 Havok Physics State Variables and Constants Collision Detection Position Mass m v Velocity Acceleration / Forces p F Orientation Moments of Inertia Spatial Centre of Mass Occupancy Angular Velocity Torque M v Plasticity Elasticity p Density Viscosity F Opacity Texture Friction ... Collision Detection and Intersection testing check if an object intersects another – a common operation in computer graphics Collision Detection Problem: Complexity Sphere-sphere Sphere-plane Polygon-polygon Triangle-Triangle A diverse problem (lots of special cases) but not extremely difficult to solve e.g. Lots of Intersection Source Code Available Here: http://www.geometrictools.com/LibFoundation/Intersection/Intersection.html Current graphical data sets are generally more detailed Possible solution: Use a simplified than we wish to deal with for collision detection. representation. (Even this is generally overkill for game physics) 3 1/18/2011 Collision Proxies Collision Proxies Havok Example: Finer Rag-doll collision proxy for character used in effects physics interactions with objects in scene... All physics objects are approximations of the display mesh A much coarser bounding ellipsoid proxy used for navigation (yellow blob below) Halflife (Mod), 1998 Counterstrike (Mod), 1999 e.g. Hit boxes commonly used in games (left, middle) ... sometimes they do (right) approximate the actual mesh. Hopefully people don’t http://www.havok.com/misc/physicsEfficiency-2007.pdf notice the approximation.... Dynamics Proxies Two Phase Collision Detection Quite often no amount of simplification is enough – scenes require more and more objects, users more demanding of accuracy. Solution: cull some trivial cases (how we do this will be discussed in more detail later in the module) Narrow phase •Per-object : coarse culling of non-colliding cases •Pair-wise between objects •Per-feature •Narrow-in on collision – calculate finer features e.g. collision manifold, penetration depth Broad phase Bounding Volumes Bounding Volume Hierarchies Use a coarse over approximation of the object i.e. A bounding volume (conservative Hierarchical, multi-resolution reps of objects. This enables Progressive Culling: overestimate) that is geometrically much simpler than the object. Only do more detailed Check coarsest level and only check children if this collides.... Repeat until we intersection tests if bounding volume intersects. get to finest level then do triangle checks Levels of an AABB Tree Hierarchy Image used without permission from Real-time Collision Detection – by Christer Ericson 4 1/18/2011 Collision Response Deformable Objects Once objects are found to be colliding collision process applies forces/impulses to stop them intersecting to create plausible physically based reactions. Key Concerns in Interactive Physics: Robustness: response must assure system remains stable in all possible states Plausibility: response to collision must be believable Efficiency: physics processing must be fast enough to enable real-time Resting frame rates Impulses Constraints Friction contact Fluid Dynamics Tentative Lecture Plan Intro Rigid Body - Unconstrained Motion Lab 1: Rigid Body State & Unconstrained motion Collision Detection Broad-phase Lab1 marking & Lab 2: Broadphase Collision Detection Narrow-phase: BVH Narrow-phase: Feature Based Lab2 marking & Lab 3: Narrow Phase & Contact Modelling Narrow-phase: Simplex Based Contact Modelling Extra Lab3b Collision response Multiple-contact resolution Lab 3 Marking and Lab 4: Collision Response Timewarp, Conservative Friction and Constraints Lab 4 Marking Advancement, Back-tracking Reading Week Lab: Final Project Specs Deformable Bodies - 1 Deformable Bodies - 2 Fluid simulation Position-based Dynamics Faux physics Lab: Final Project Update Lab: Final Project Update Physics Engine Reviews Carol: Physically based character Carol: Physically based character Carol: Physically based character animation animation animation Lab: Final Project Demos Lab: Final Project Demos Physics Roundup Planned Assessment Weekly Labs 1. Rigid-body state: ~10%, ~5hrs 2. Broad-phase Collision Detection: ~15%, ~5hrs 3. Narrow-phase Collision Detection: ~20%, ~10hrs 4. Collision Response: ~15%, 5hrs Marking scheme: Weekly marking – minimum goals Cumulative submission – rigid body engine Youtube Video Report Source code (not marked) Final Project: ~40%, 30hrs 5.
Recommended publications
  • Agx Multiphysics Download
    Agx multiphysics download click here to download A patch release of AgX Dynamics is now available for download for all of our licensed customers. This version include some minor. AGX Dynamics is a professional multi-purpose physics engine for simulators, Virtual parallel high performance hybrid equation solvers and novel multi- physics models. Why choose AGX Dynamics? Download AGX product brochure. This video shows a simulation of a wheel loader interacting with a dynamic tree model. High fidelity. AGX Multiphysics is a proprietary real-time physics engine developed by Algoryx Simulation AB Create a book · Download as PDF · Printable version. AgX Multiphysics Toolkit · Age Of Empires III The Asian Dynasties Expansion. Convert trail version Free Download, product key, keygen, Activator com extended. free full download agx multiphysics toolkit from AYS search www.doorway.ru have many downloads related to agx multiphysics toolkit which are hosted on sites like. With AGXUnity, it is possible to incorporate a real physics engine into a well Download from the prebuilt-packages sub-directory in the repository www.doorway.rug: multiphysics. A www.doorway.ru app that runs a physics engine and lets clients download physics data in real Clone or download AgX Multiphysics compiled with Lua support. Agx multiphysics toolkit. Developed physics the was made dynamics multiphysics simulation. Runtime library for AgX MultiPhysics Library. How to repair file. Original file to replace broken file www.doorway.ru Download. Current version: Some short videos that may help starting with AGX-III. Example 1: Finding a possible Pareto front for the Balaban Index in the Missing: multiphysics.
    [Show full text]
  • Physics Editor Mac Crack Appl
    1 / 2 Physics Editor Mac Crack Appl This is a list of software packages that implement the finite element method for solving partial differential equations. Software, Features, Developer, Version, Released, License, Price, Platform. Agros2D, Multiplatform open source application for the solution of physical ... Yves Renard, Julien Pommier, 5.0, 2015-07, LGPL, Free, Unix, Mac OS X, .... For those who prefer to run Origin as an application on your Mac desktop without a reboot of the Mac OS, we suggest the following virtualization software:.. While having the same core (Unigine Engine), there are 3 SDK editions for ... Turnkey interactive 3D app development; Consulting; Software development; 3D .... Top Design Engineering Software: The 50 Best Design Tools and Apps for ... design with the intelligence of 3D direct modeling,” for Windows, Linux, and Mac users. ... COMSOL is a platform for physics-based modeling and simulation that serves as ... and tools for electrical, mechanical, fluid flow, and chemical applications .... Experience the world's most realistic and professional digital art & painting software for Mac and Windows, featuring ... Your original serial number will be required. ... Easy-access panels let you instantly adjust how paint is applied to the brush and how the paint ... 4 physical cores/8 logical cores or higher (recommended).. A dynamic soft-body physics vehicle simulator capable of doing just about anything. ... Popular user-defined tags for this product: Simulation .... Easy-to-Use, Powerful Tools for 3D Animation, GPU Rendering, VFX and Motion Design. ... Trapcode Suite 16 With New Physics, Magic Bullet Suite 14 With New Color Workflows Now ... Maxon Cinema 4D Immediately Available for M1-Powered Macs image ..
    [Show full text]
  • Dynamic Simulation of Manipulation & Assembly Actions
    Syddansk Universitet Dynamic Simulation of Manipulation & Assembly Actions Thulesen, Thomas Nicky Publication date: 2016 Document version Peer reviewed version Document license Unspecified Citation for pulished version (APA): Thulesen, T. N. (2016). Dynamic Simulation of Manipulation & Assembly Actions. Syddansk Universitet. Det Tekniske Fakultet. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal ? Take down policy If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Download date: 09. Sep. 2018 Dynamic Simulation of Manipulation & Assembly Actions Thomas Nicky Thulesen The Maersk Mc-Kinney Moller Institute Faculty of Engineering University of Southern Denmark PhD Dissertation Odense, November 2015 c Copyright 2015 by Thomas Nicky Thulesen All rights reserved. The Maersk Mc-Kinney Moller Institute Faculty of Engineering University of Southern Denmark Campusvej 55 5230 Odense M, Denmark Phone +45 6550 3541 www.mmmi.sdu.dk Abstract To grasp and assemble objects is something that is known as a difficult task to do reliably in a robot system.
    [Show full text]
  • Systematic Literature Review of Realistic Simulators Applied in Educational Robotics Context
    sensors Systematic Review Systematic Literature Review of Realistic Simulators Applied in Educational Robotics Context Caio Camargo 1, José Gonçalves 1,2,3 , Miguel Á. Conde 4,* , Francisco J. Rodríguez-Sedano 4, Paulo Costa 3,5 and Francisco J. García-Peñalvo 6 1 Instituto Politécnico de Bragança, 5300-253 Bragança, Portugal; [email protected] (C.C.); [email protected] (J.G.) 2 CeDRI—Research Centre in Digitalization and Intelligent Robotics, 5300-253 Bragança, Portugal 3 INESC TEC—Institute for Systems and Computer Engineering, 4200-465 Porto, Portugal; [email protected] 4 Robotics Group, Engineering School, University of León, Campus de Vegazana s/n, 24071 León, Spain; [email protected] 5 Universidade do Porto, 4200-465 Porto, Portugal 6 GRIAL Research Group, Computer Science Department, University of Salamanca, 37008 Salamanca, Spain; [email protected] * Correspondence: [email protected] Abstract: This paper presents a systematic literature review (SLR) about realistic simulators that can be applied in an educational robotics context. These simulators must include the simulation of actuators and sensors, the ability to simulate robots and their environment. During this systematic review of the literature, 559 articles were extracted from six different databases using the Population, Intervention, Comparison, Outcomes, Context (PICOC) method. After the selection process, 50 selected articles were included in this review. Several simulators were found and their features were also Citation: Camargo, C.; Gonçalves, J.; analyzed. As a result of this process, four realistic simulators were applied in the review’s referred Conde, M.Á.; Rodríguez-Sedano, F.J.; context for two main reasons. The first reason is that these simulators have high fidelity in the robots’ Costa, P.; García-Peñalvo, F.J.
    [Show full text]
  • Copyrighted Material
    92801bindex.qxd 5/14/08 2:06 PM Page 367 Index Note to the Reader: Throughout this index boldfaced page numbers indicate primary discussions of a topic. Italicized page numbers indicate illustrations. A animated obstacles, 242–245, 243–246 animators, 5 Absolute time setting, 72 Append Branch setting, 343 acceleration in Newtonian physics, 65–67 Apply Bone Heat Weights To Vertex Groups actions in BGE, 282–284, 283 option, 150 Active Ipo, 266 Approximate ambient option, 183, 183 Actor parameters, 289, 295–296, 296 Arbaro software, 348 actuators, 279–280, 280, 283, 283, 285, 289 arm branching in L-Systems, 330, 330 Add option for hair particles, 188–189 Armature Bones tab, 55 Add Driver option Armature modifier, 149–150 shape keys, 52 Armature tab, 54 springs, 57 367 armatures ■ Add New option ragdoll physics, 310–313, 311, 313, INDEX groups, 160 317–319, 318–321 materials, 41 rigid body simulation, 289, 290 nodes, 8 soft bodies, 110–111 particle systems, 61, 80, 88 springs, 54–57, 113, 115 textures, 11, 34, 43 T-shirt, 149–150 Add Shape Key option, 50 Array modifier Adhesion Weight setting, 352 shape keys, 50, 51, 53 Aero value, 111–112 soft bodies, 124, 124 Air Damp setting, 156 spring mesh modeling, 49 Alias Wavefront OBJ option, 347 Avoid constraint, 101, 103 Alpha setting AvVel constraint, 101 fire and smoke effects, 80, 82–86, 89, 93 axes hair texture, 173–175, 174 acceleration, 66 ivy, 356 ngPlant, 342 milk, 250 Axis visualization, 68, 69 stress-mapped textures, 135–136 transparency, 14–15 COPYRIGHTED MATERIAL Amb Occ tab, 183 B ambient
    [Show full text]
  • Gpu-Accelerated Applications Gpu‑Accelerated Applications
    GPU-ACCELERATED APPLICATIONS GPU-ACCELERATED APPLICATIONS Accelerated computing has revolutionized a broad range of industries with over six hundred applications optimized for GPUs to help you accelerate your work. CONTENTS 1 Computational Finance 62 Research: Higher Education and Supercomputing NUMERICAL ANALYTICS 2 Climate, Weather and Ocean Modeling PHYSICS 2 Data Science and Analytics SCIENTIFIC VISUALIZATION 5 Artificial Intelligence 68 Safety and Security DEEP LEARNING AND MACHINE LEARNING 71 Tools and Management 13 Federal, Defense and Intelligence 79 Agriculture 14 Design for Manufacturing/Construction: 79 Business Process Optimization CAD/CAE/CAM CFD (MFG) CFD (RESEARCH DEVELOPMENTS) COMPUTATIONAL STRUCTURAL MECHANICS DESIGN AND VISUALIZATION ELECTRONIC DESIGN AUTOMATION INDUSTRIAL INSPECTION Test Drive the 29 Media and Entertainment ANIMATION, MODELING AND RENDERING World’s Fastest COLOR CORRECTION AND GRAIN MANAGEMENT COMPOSITING, FINISHING AND EFFECTS Accelerator – Free! (VIDEO) EDITING Take the GPU Test Drive, a free and (IMAGE & PHOTO) EDITING easy way to experience accelerated ENCODING AND DIGITAL DISTRIBUTION computing on GPUs. You can run ON-AIR GRAPHICS your own application or try one of ON-SET, REVIEW AND STEREO TOOLS the preloaded ones, all running on a WEATHER GRAPHICS remote cluster. Try it today. www.nvidia.com/gputestdrive 44 Medical Imaging 47 Oil and Gas 48 Life Sciences BIOINFORMATICS MICROSCOPY MOLECULAR DYNAMICS QUANTUM CHEMISTRY (MOLECULAR) VISUALIZATION AND DOCKING Computational Finance APPLICATION NAME COMPANYNAME PRODUCT DESCRIPTION SUPPORTED FEATURES GPU SCALING Accelerated Elsen Secure, accessible, and accelerated • Web-like API with Native bindings for Multi-GPU Computing Engine back-testing, scenario analysis, Python, R, Scala, C Single Node risk analytics and real-time trading • Custom models and data streams designed for easy integration and rapid development.
    [Show full text]
  • Dynamic Simulation of Manipulation & Assembly Actions
    University of Southern Denmark Dynamic Simulation of Manipulation & Assembly Actions Thulesen, Thomas Nicky Publication date: 2016 Document version: Accepted manuscript Document license: Unspecified Citation for pulished version (APA): Thulesen, T. N. (2016). Dynamic Simulation of Manipulation & Assembly Actions. Syddansk Universitet. Det Tekniske Fakultet. Go to publication entry in University of Southern Denmark's Research Portal Terms of use This work is brought to you by the University of Southern Denmark. Unless otherwise specified it has been shared according to the terms for self-archiving. If no other license is stated, these terms apply: • You may download this work for personal use only. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying this open access version If you believe that this document breaches copyright please contact us providing details and we will investigate your claim. Please direct all enquiries to [email protected] Download date: 05. Oct. 2021 Dynamic Simulation of Manipulation & Assembly Actions Thomas Nicky Thulesen The Maersk Mc-Kinney Moller Institute Faculty of Engineering University of Southern Denmark PhD Dissertation Odense, November 2015 c Copyright 2015 by Thomas Nicky Thulesen All rights reserved. The Maersk Mc-Kinney Moller Institute Faculty of Engineering University of Southern Denmark Campusvej 55 5230 Odense M, Denmark Phone +45 6550 3541 www.mmmi.sdu.dk Abstract To grasp and assemble objects is something that is known as a difficult task to do reliably in a robot system. Yet humans are able to quickly learn how to manipulate and assemble objects based on previous experience.
    [Show full text]
  • Introducing Blender Hair
    92801ffirs.qxd 5/14/08 9:58 AM Page iv Acquisitions Editor: Mariann Barsolo Development Editor: Kathryn Duggan Technical Editor: Roland Hess Production Editor: Elizabeth Ginns Britten Copy Editor: Sharon Wilkey Production Manager: Tim Tate Vice President and Executive Group Publisher: Richard Swadley Vice President and Executive Publisher: Joseph B. Wikert Vice President and Publisher: Neil Edde Project Manager, I: Laura Moss-Hollister Media Associate Producer: Kit Malone Media Quality Assurance: Josh Frank Compositor and Book Designer: Kate Kaminski, Happenstance Type-O-Rama Proofreader: C.M. Jones Indexer: Ted Laux Cover Designer: Ryan Sneed Cover Images: Milos Zajíc (school corridor) Mike Pan (strawberries and milk) Luma Studios (ClubSilo racing game) Tony Mullen (pop bottle and boxes tumbling) © Blender Foundation | peach.blender.org (cartoon animals) Copyright © 2008 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-19280-1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions.
    [Show full text]
  • Physically Based Animation Intro
    10/1/2009 John Dingliana • Graphics Vision Visualization Group • Computer Science Department CS7057 Real-time Physics • Lloyd 041 ::: [email protected] Course Overview • My areas of interest: – Level-of-detail in real-time Physically Based Animation – Visualization – Interaction – Non-photorealistic Animation and Rendering Graphics Vision and Visualisation (gv2) GV2 Graphics Lab • GV2 research group: • Some Research Areas of – Image synthesis group relevance to this 1993 (graphics) course: – Computer vision and – Physically based robotics group 1983 animation – Crowd animation – Perception of graphics and animation – Urban simulation – Fluid animation Sensics Pi- Sight HMD – Motion capture Course Pre-requisites Assessment • CS7033 Real-time Animation • 100% by coursework • Recommended: • Aggregate mark of 40% is required to pass – C++, C# or equivalent • – Computer Graphics (3D Graphics) Coursework: – Regular small lab assignments • Some experience in OpenGL or 3D Graphics Library • Bi-weekly • Undergraduate maths (some basics reviewed) – One major assignment (linked with CS7033) • Both parts of the course • Supplemental is by EXAM (for PGDip only) 1 10/1/2009 MODULE Web Page Aims • Course Notes + Updates • Outline and describe the architecture and components of a motion pipeline that would be employed in a typical game. – http://www.scss.tcd.ie/John.Dingliana/cs7057/ • Explain basic rigid body dynamics and the mechanics of – Access to notes will requires log in with Compsci deformable systems. username + password • Analyze and compare different approaches for collision detection and collision response of rigid and deformable objects. • Employ existing Physics libraries to create real-time physics based simulations of rigid and deformable bodies • Be able to build a real-time rigid body simulation system for convex polyhedra.
    [Show full text]