Mathematical modelling and computer animation

12
Mathematical modelling Mathematical modelling and computer animation and computer animation Animation of chocolate flow on complex surface Martin Madaras

description

Mathematical modelling and computer animation. Animation of chocolate flow on complex surface. Martin Madaras. Intro. Fountain model Real flow Flow simulation Fluid mesh Rendering. Fountain model. 3D Studio Max Low-res for simulation, High-res for rendering. Real flow. - PowerPoint PPT Presentation

Transcript of Mathematical modelling and computer animation

Page 1: Mathematical  modelling  and computer animation

Mathematical modelling and Mathematical modelling and computer animationcomputer animation

Animation of chocolate flow on complex surface

Martin Madaras

Page 2: Mathematical  modelling  and computer animation

IntroIntro

Fountain modelReal flowFlow simulationFluid meshRendering

Page 3: Mathematical  modelling  and computer animation

Fountain modelFountain model 3D Studio Max Low-res for simulation, High-res for rendering

Page 4: Mathematical  modelling  and computer animation

Real flowReal flow Next Limit, authors of renderer Maxwell (using

metropolis light transport algorithm for global illuminance computation), more correct than other renderers

Disadvantages : Very long rendering time, preview can be made at the moment, but is very noisy

XFlow and RealFlow, RealFlow is used in entertainment industry, XFlow in science and technology

RealFlow is standalone app, for simulation only (fluid, gas, rigid bodies)

Rendering must be made in other programs 3DS Max, Blender,...

Page 5: Mathematical  modelling  and computer animation

Fluid meshFluid mesh

Page 6: Mathematical  modelling  and computer animation

Flow simulation 1Flow simulation 1 World in program RealFlow is simuluted with Deamons,

which affect behavior of material (gravitation, noisefield, vortex…)

There are also Kill Deamons, which can delete particles when they satisfy some conditions (particles are out of camera frustrum, velocity is too high, particle has no neighbours in some range)

Geometry can be imported, all faces should be triangles (for better computation)

Chocolate has high viscosity and surface tension, these parameters affect time of computation (number of particles had to be lowered)

CPU : 4core q6600, time necessary for simulation of 1100 frames was 11 hours

Page 7: Mathematical  modelling  and computer animation

Flow simulation 2Flow simulation 2 2 phases of simulation. In first is simulation made on

particles (number based on emiter settings)

In second, mesh is created over particles ( Blob Meshes)

Afterwards, mesh can be exported for every frame and imported into another program via plugin. Mesh behaves as normal object

Flow simulation computation is very expensive

Page 8: Mathematical  modelling  and computer animation

Import via next limit Import via next limit pluginplugin

Page 9: Mathematical  modelling  and computer animation

Lighting and cameraLighting and camera

Camera path is ellipsoid spiral spline

Rendered with VRay render, Indirect illumination calcualtion

Lighting made via HDRI map of interior

Page 10: Mathematical  modelling  and computer animation
Page 11: Mathematical  modelling  and computer animation

Rendering and Rendering and postprocessingpostprocessing

Fountain model was surrouned by cylinder panoramatic photo of chocolate shop. Panoramatic photo was blured for better look

Frames joined in open source software Virtual dub and exported into avi, coded with H.264 divx codec

Page 12: Mathematical  modelling  and computer animation

ImagesImages