Dynamics in Maya. Gary Monheit Alias Wavefront PHYSICALLY BASED MODELING SH1 SIGGRAPH 97 COURSE NOTES

Similar documents
9 Dynamics. Getting Started with Maya 491

CSE 682: Animation. Winter Jeff Walsh, Stephen Warton, Brandon Rockwell, Dustin Hoffman

BACHELOR OF ARTS IN 3D ANIMATION AND VISUAL EFFECTS Term-End Theory Examination December, 2015 BNM-001 : ANIMATION PRODUCTION PIPELINE

Lec 10 MEL for Dynamics

Scale Rate by Object Size: Only available when the current Emitter Type is Surface, Curve, or Volume. If you turn on this attribute, the

Announcements. Ray tracer is due in five days you should have started by now or you re going to have a bad week. Missing file posted on the web page

Dynamics and Particle Effects, Part 1 By Audri Phillips

Index FEATURES LIST 2

NVIDIA. Interacting with Particle Simulation in Maya using CUDA & Maximus. Wil Braithwaite NVIDIA Applied Engineering Digital Film

How to create a network diagram?

Chapter 19- Object Physics

Index FEATURES LIST 2

Modeling. Anuj Agrawal Dan Bibyk Joe Pompeani Hans Winterhalter

CGDD 4113 Final Review. Chapter 7: Maya Shading and Texturing

MODELING AND HIERARCHY

Topics in Computer Animation

Cloth Simulation on the GPU. Cyril Zeller NVIDIA Corporation

GMH 2 Documentation 2 INSTALLING RUNNING GMH 2.6 OVERVIEW STRUCTURE GMH2 MANUAL SURFACE EDIT TAB...

Art? 2 Computer Graphics 2 The Stages of Production 4 The CG Production Workflow 8 Core Concepts 10 Basic Film Concepts 21 Summary 26

CS4621/5621 Fall Particle Systems and Compute Shaders

Integrating Physics into a Modern Game Engine. Object Collision. Various types of collision for an object:

Actions and Graphs in Blender - Week 8

REALFLOW 2012: COMPLETE OVERVIEW OF FEATURES

Simulation: Particle Systems

In this tutorial, you will create a scene with sandman dispersing in sand, as shown in in the image below.

Computer Animation. Algorithms and Techniques. z< MORGAN KAUFMANN PUBLISHERS. Rick Parent Ohio State University AN IMPRINT OF ELSEVIER SCIENCE

Animation. Itinerary. What is Animation? What is Animation? Animation Methods. Modeling vs. Animation Computer Graphics Lecture 22

Animation. Itinerary Computer Graphics Lecture 22


Flames in Particle Flow

FLUID PARTICLE SIMULATION

Soft Body. 9.7 Physics - Soft Body

Cloth Simulation. Tanja Munz. Master of Science Computer Animation and Visual Effects. CGI Techniques Report

MEL Scripting. Bonus Chapter 1. Using a MEL Command

Last Time? Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

SimTenero Particle Physics

Object representation

Agenda. Introduction Curve implementation. Particle System. - Requirements -What are all those vectors? -Where should I put things?

Cloth Simulations. 9.2 Physics - Cloth Simulations

Chapter 14 Particle Systems & Interactions

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Designing the look and feel for Smoke and Neon powers The creation of a new toolset and pipeline for I:SS Pros and cons from our new workflow and

Mass-Spring Systems. Last Time?

Computer Animation. Animation A broad Brush. Keyframing. Keyframing

John Hsu Nate Koenig ROSCon 2012

INTRODUCTION WHAT IS REALWAVE?

Design of a dynamic simulation system for VR applications

Simulation in Computer Graphics. Introduction. Matthias Teschner. Computer Science Department University of Freiburg

Dynamical Simulation 1: Particle Systems and ODEs

Introduction to Computer Graphics. Animation (2) May 26, 2016 Kenshi Takayama

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

The jello cube. Undeformed cube. Deformed cube

Key 3D Modeling Terms Beginners Need To Master

1 INTRoduCTIon to BLENDER 1. 3 PREPARATIon 19

2.11 Particle Systems

Attention to Detail! Creating Next Generation Content For Radeon X1800 and beyond

Chapter 3: Computer Animation Reminder: Descriptive animation. Procedural animation : Examples. Towards methods that generate motion?

Animation Essentially a question of flipping between many still images, fast enough

Game Development for

Turn your movie file into the homework folder on the server called Lights, Camera, Action.

Navier-Stokes & Flow Simulation

The Jello Cube Assignment 1, CSCI 520. Jernej Barbic, USC

Recommended Prior Courses: CTAN 462, Visual Effects, or CTAN 452, Introduction to 3D Computer Animation

2.7 Cloth Animation. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter 2 123

Lesson 01 Polygon Basics 17. Lesson 02 Modeling a Body 27. Lesson 03 Modeling a Head 63. Lesson 04 Polygon Texturing 87. Lesson 05 NURBS Basics 117

CS 352: Computer Graphics. Hierarchical Graphics, Modeling, And Animation

Tutorial: Accessing Maya tools

Beginners Guide Maya. To be used next to Learning Maya 5 Foundation. 15 juni 2005 Clara Coepijn Raoul Franker

Appendix E. Particle Tube Flow - Houdini helpcard

Rendering diffuse objects using particle systems inside voxelized surface geometry. Thorsten Juckel Steffi Beckhaus

PHYSICALLY BASED ANIMATION

Shape of Things to Come: Next-Gen Physics Deep Dive

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

Particle Systems. Sample Particle System. What is a particle system? Types of Particle Systems. Stateless Particle System

SIMULATION OF ELASTIC SOFT TISSUE DEFORMATION IN ORTHODONTICS BY MASS-SPRING SYSTEM

TUTORIAL 7: Molecular Challenges

CS 231. Deformation simulation (and faces)

Physically Based Modeling

CGS 3034 Lecture 2 Ball Bounce

Physically based modelling Computer Graphics I February 27, 2003

Particle Systems. Lecture 8 Taku Komura

Graphical Editors used at CSC/Nada earlier. Main competitors. What is Maya? What is Maya? An Introduction to Maya. Maya

Mia Round Corners Node


A Fast and Stable Approach for Restoration of Warped Document Images

Animator Friendly Rigging Part 2b

Assignment 1: Mass-Spring System

Dissolving Models with Particle Flow and Animated Opacity Map

Autodesk Maya 2018 BASICS GUIDE

CS148: Maya Lecture. October 9th, 2017 David Hyde

Chapter 11. Caustics and Global Illumination

Modeling the Virtual World

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Ray Casting of Trimmed NURBS Surfaces on the GPU

Cloth Hair. and. soft bodies

Quick Shader 0.1 Beta

The Application Stage. The Game Loop, Resource Management and Renderer Design

Computer Animation. Conventional Animation

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil

Sliding Split Tube Telescope

Transcription:

Dynamics in Maya Gary Monheit Alias Wavefront SH1

Dynamics in Maya Overall Requirements Architecture and Features Animations SH2

Overall Requirements Why Dynamics? Problems with traditional animation techniques Kinds of dynamics problems Requirements for software architecture SH3

Why Dynamics? SH4

Problems with traditional animation Hard to keyframe Rendered polygons don t give desired effects Amorphous effects hard to achieve Lacks high level control, simulation Lacks procedural control SH5

Kinds of dynamics problems Particles Contain a set of points in global space with attributes Affected by dynamic solver Created at either object creation time or by emitters Handle birth and death Support a variety of rendering techniques Soft Bodies Geometry with points updated by a particle object Superset of all particle features Rigid Bodies Geometry with fixed topology and points Affected by collisions, constraints, and external forces SH6

Requirements for software architecture Integrated Extensible Reusable Tweakable Support Relationships SH7

Integrated Maya as scene object architecture Nodes Attributes Connections Keyframing Any scalar attributes 3D motion of non dynamic objects Keyframe editors are familiar to animators Layered procedural animation Output from dynamics can be input to other nodes Outputs from other nodes can be input to dynamics Rendering Rendered within Maya or exported to other renderer Software rendering (volumetric) Hardware rendering (opengl) SH8

Extensible Maya embedded language (Mel) Parameter driven: attributes ASCII scene file format SH9

Reusable Layered scenes with geometry and effects Create your own clipfx with Mel SH10

Tweakable Attributes are modifiable Keyframes Expressions Connect to other nodes Add user defined attributes SH11

Relationships Object to object relationships Attribute to attribute relationships SH12

Dynamics in Maya Overall Requirements Architecture and Features Animations SH13

Architecture & Features Maya Architecture Dynamic Architecture Rendering Expressions Integrated Dynamics SH14

Maya Architecture (part 1) Nodes Attributes Connections SH15

Maya Architecture (part 2) Transforms and Shapes DAG: Directed Acyclic Graph The "object" is really the transform plus the shape(s) SH16

Dynamics Architecture Particles Fields Emitters Collision Models Particle Collision Events Controllers Connectables and Connections Soft Bodies Springs Rigid Bodies SH17

Particles A particle object is a particle system Per particle (array) attributes vs. scalar attributes User defined attributes Particles act independently No particle to particle collisions What affects particles? Fields Springs Attribute values Expressions (one line or multi line) Dynamics controller attributes SH18

Fields Positional fields Geometry fields. Example: sphere owns radial field Types of fields Air Drag Gravity Newton Radial Turbulence Uniform Vortex SH19

Emitters Emitters Creates new particles into a particle object Hose vs. water. Emitter is the hose. Positional emitter The transform defines the position, orientation Parented, keyframed, in IK chain,... Geometry emitter Geometry owns the emitter Point vs. surface Particle, NURBS, polygon, lattice, curve... SH20

Collision Models Elasticity Friction Collision trace depth SH21

Particle Collision Events In the event that a particle collides: Emit Split Die Optionally call a Mel proc each time the event occurs SH22

Connectables and Connections Dynamics object Dynamics objects: Particles Soft bodies Rigid bodies connect flags Connectable object Connectable object owns one or more of any combination of: Fields Emitters Collision models What kind of object can be a connectable: Polygon, NURBS, lattice, curve,... SH23

Examples of connections Description Conn Type Connection Sphere emits particles emission particles > sphere Particles fall under field particles > gravity gravity Particles bounce on collision particles > surface surface Particles owning radial field soft cube > particles field repel a soft cube Point emitter emits emission soft mesh > pt emitter soft mesh SH24

Controllers Manage dynamic objects that may interact Interface to a differential equations solver Necessary so that all dynamics objects get updated in sync Hold global attributes for dynamics SH25

Goals Goals are geometry, particles, or soft bodies referenced in a particle object Create a force for each particle to move toward a point on the goal Particles or soft bodies can have multiple goals Does not require the same number of points as target Individual goal weight 0 to 1 Attribute goalpp 0 to 1 (per particle) Dynamics weight 0 to 1 for the forces generated by fields and collisions SH26

Springs Classical mechanics spring Hook s Law Stiffness and damping Start force weight, end force weight 0 to 1 Amount of the force of the spring that gets applied to either start or end point (0, 1) or (1, 0) simulates nailing one end of the spring SH27

Soft bodies Soft is a command, not a node For the user, soft bodies are geometry whose points are updated by a particle object Internally, soft bodies are the particle object Geometry converted or duplicated in a soft body Springs generated by min max distance or by walk length Oversampling (small solver step size) stabilize springs SH28

Rigid Bodies Nodes Rigid body Constraints Nail Pin Hinge Spring Barrier Transformations updated by a solver that applies forces Internal constraints added implicitly (by contact) or explicitly (by constraint objects) SH29

Rigid Body Features Contact forces handled for resting and sliding objects Static and dynamic friction Active rigid body collision detection dynamic response Passive rigid body collision detection independent control by keyframes, expressions, other nodes Cache motion Collision layers used to reduce complexity Choice of 3 kinds of solvers SH30

Rendering Render Types Hardware Rendering in OpenGL Software Rendering SH31

Render Types Point Multi point Streak (lines) Multi streak Sprites (textures) Sphere Geometry Numeric (for debugging) Tube (Software) Cloud (Software) Blobby Surface (Software) SH32

Software rendering Volumetric rendering Blobby surface render type uses any shader Tube and Cloud render types use specific particle cloud shader Future: hair shader SH33

Expressions Mel Language Attribute Expressions Particle Expressions SH34

Mel Language Maya Embedded Language Unified language for file format, command engine, and expressions Like C Like shell SH35

Attribute Expressions Lazy evaluation evaluate when needed Multi line expressions Multiple input and output attributes SH36

Particle Expressions Particle expressions executed per particle Multi line expressions are like small programs Any attribute accessible for setting and getting values Run time vs. creation rules Built in functions for math, system, I/O, arrays Data types: int, float, string, vector int[], float[], string[], vector[] Maya commands can be called from expressions Example: // Creation rule for setting color: dynexpression c at rgbpp s "rgbpp = sphrand(1);" colorcloud; // Runtime rule for setting color: dynexpression r at rgbpp s "if( age >.5 ) rgbpp += <<0,0,rand(.1)>>;" colorcloud; SH37

Integrated Dynamics Dynamics and transforms Rigid Bodies active and passive Soft Body, curves, and IK chain Soft Body and deformers Soft Body, Rigid Body, and goals Particle collision events... SH38

Dynamics in Maya Overall Requirements Architecture and Features Animations SH39

Future Work Maya 2.0 SH40