Lab 11 - Fluid effect. Learning objectives of this chapter include: create pond, fluid attributes, pond wake, emission turbulence, shader attributes, match object, interactive, simulation quality, make collision, initialstate, keyframe emission, keyframe object, raytraced water,...
Trang 1Maya Dynamics Basics
Lab 11 : Fluid Effect
Author: Khieu Van Bang
Email: tribang.nd@gmail.com
Trang 2 Overview Fluid Effect
What is Fluid Effect ?
What does fluid effects support ?
Working with Fluid Pond
Learning contents: Create Pond; Fluid Attributes; Pond Wake; Emission Turbulence; Shader Attributes; Match Object; Interactive; Simulation Quality; Make Collision; InitialState; Keyframe Emission; Keyframe Object; Raytraced Water,
Working with Fluid Ocean
Learning contents: Create Ocean; Customize Ocean; Control Render; Floating Objects; Adjust Attribute; Motor Boats; Ocean Wake; Emitter from Object,
Working with Visor Library
Learn how to use templates.
Create a virtual lab.
Trang 31) OVERVIEW FLUID EFFECT
Fluid Effect
Trang 4What is Fluid Effect ?
OVERVIEW FLUID EFFECT
Is a technology for realistically simulating and rendering fluid motion Fluid Effects lets you create a wide variety of 2D and 3D atmospheric, pyrotechnic, space, and liquid effects.
o You can use the Fluid Effectssolvers to simulate these effects, or you can use fluid animated textures for more unique, distinguishing effects.
o Fluid Effects also includes an ocean shader for creating realistic open water You can float objects on the ocean surface and have those objects react to the motion of the water.
o You can create the following types of effects with Fluid Effects:
Trang 5Types Fluid Effect
Dynamic fluid effects
Oceans and Ponds
Non-dynamic fluid effects
OVERVIEW FLUID EFFECT
Behave according to the natural laws of fluid dynamics, a branch of physics that uses mathematical equations to calculate how things flow Maya simulates fluid motion by solving the Navier-Stokes fluid dynamics equations at each time step.
3D fluids inherently require extra data to define them, which can make them very large This extra data can slow a dynamic simulation exponentially because more calculations (solving) must be performed at every step of the simulation For a less memory intensive effect, you can use a 2D fluid (with less data), or you can create a non-dynamicfluid.
Create Ocean and Pond fluids to simulate large realistic water surfaces, such as stormy oceans with foam and swimming pools Oceans are NURBS planes with ocean shaders assigned to them Ponds are 2D fluids that use a spring mesh solver and a height field.
Trang 6What does fluid effects support ?
Naver Stokes based Fluids
Trang 7Maya Fire
Trang 8OVERVIEW FLUID EFFECT Maya Ocean
2D height field – no crashing waves
Can attach ‘bouyant’ objects
Trang 9OVERVIEW FLUID EFFECT Maya Pond
2D height field
o No splashing
Mass-spring system
Bouys, Boats, Wakes
Can run in real-time
Trang 102) WORKING WITH FLUID POND
Fluid Effect
Trang 112) PRACTICAL SITUATIONS – FLUID POND
Trang 122) PRACTICAL SITUATIONS – FLUID POND
Trang 13PRACTICAL SITUATIONS - FLUID POND
2.1) Create Pond
Trang 142) PRACTICAL SITUATIONS – FLUID POND
Trang 15PRACTICAL SITUATIONS - FLUID POND
2.2) Create Wake
Trang 162) PRACTICAL SITUATIONS – FLUID POND
Trang 17PRACTICAL SITUATIONS - FLUID POND
2.3) EmissionTurbulence
Trang 182) PRACTICAL SITUATIONS – FLUID POND
Trang 19PRACTICAL SITUATIONS - FLUID POND
2.4) Shader Attributes
Trang 20PRACTICAL SITUATIONS - FLUID POND
2.4) Shader Attributes
Trang 212) PRACTICAL SITUATIONS – FLUID POND
Trang 22PRACTICAL SITUATIONS - FLUID POND
2.5) Match Object
Trang 232) PRACTICAL SITUATIONS – FLUID POND
Trang 24PRACTICAL SITUATIONS - FLUID POND
2.6) Interactive
Trang 252) PRACTICAL SITUATIONS – FLUID POND
Trang 262.7) Simulation Quality
PRACTICAL SITUATIONS - FLUID POND
Trang 272) PRACTICAL SITUATIONS – FLUID POND
Trang 28PRACTICAL SITUATIONS - FLUID POND
2.8) Make Collision
Trang 292) PRACTICAL SITUATIONS – FLUID POND
Trang 30PRACTICAL SITUATIONS - FLUID POND
2.9) InitialState
1
2
Trang 31PRACTICAL SITUATIONS - FLUID POND
2.9) InitialState
3
4
Trang 322) PRACTICAL SITUATIONS – FLUID POND
Trang 332.10) Keyframe Emission
PRACTICAL SITUATIONS - FLUID POND
Trang 342) PRACTICAL SITUATIONS – FLUID POND
Trang 35PRACTICAL SITUATIONS - FLUID POND
2.11) Keyframe Object
Trang 362) PRACTICAL SITUATIONS – FLUID POND
Trang 372.12) Raytraced Water
PRACTICAL SITUATIONS - FLUID POND
Trang 382.12) Raytraced Water
PRACTICAL SITUATIONS - FLUID POND
Trang 392.12) Raytraced Water
PRACTICAL SITUATIONS - FLUID POND
Trang 402) PRACTICAL SITUATIONS – FLUID POND
Trang 41PRACTICAL SITUATIONS - FLUID POND
2.13) Caching Fluid
Trang 422) PRACTICAL SITUATIONS – FLUID POND
Trang 43PRACTICAL SITUATIONS - FLUID POND
2.14) Smoothing Pond
Trang 44PRACTICAL SITUATIONS - FLUID POND
2.14) Smoothing Pond
Trang 45How to create it ?
PRACTICAL SITUATIONS - FLUID POND
Trang 46How to create it ?
PRACTICAL SITUATIONS - FLUID POND
Trang 473) WORKING WITH FLUID OCEAN
Fluid Effect
Trang 483) PRACTICAL SITUATIONS - OCEAN
Trang 493) PRACTICAL SITUATIONS - OCEAN
Trang 50PRACTICAL SITUATIONS - FLUID OCEAN
3.1) Create Ocean
Trang 513) PRACTICAL SITUATIONS- OCEAN
Trang 523.2) Preview Plane
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 533.2) Preview Plane
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 543.2) Preview Plane
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 553) PRACTICAL SITUATIONS- OCEAN
Trang 563.3) Floating objects
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 573) PRACTICAL SITUATIONS - OCEAN
Trang 583.4) Adjust Attribute
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 593.4) Adjust Attribute
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 603) PRACTICAL SITUATIONS - OCEAN
Trang 613.5) Motor Boats
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 623) PRACTICAL SITUATIONS - OCEAN
Trang 633.6) Ocean Wake
PRACTICAL SITUATIONS - FLUID OCEAN
Trang 644) WORKING WITH VISOR LIBRARY
Fluid Effect
Trang 65PRACTICAL SITUATIONS - FLUID OCEAN What is Visor Library ?
To open the Visor:
o In main menu bar: Editors > General Editors >
Visor.
o In scene view: Panels > Panel > Visor.
Trang 66Using Visor:
Step 1: Open Visor.
Step 2: Select type effect template.
Step 3: Drag and drop to screen view.
Step 4: Edit template.
WORKING WITH VISOR LIBRARY
Trang 68Example 1 : Create fire for a virtual lab.
WORKING WITH VISOR LIBRARY
Trang 69How to create it ?
WORKING WITH VISOR LIBRARY
Trang 70You can create it
WORKING WITH VISOR LIBRARY
Trang 71Thanks!