Modeling of Plants Josh Markwordt November 27, 2007.

Slides:



Advertisements
Similar presentations
Jason Stredwick, MSU 2004 L-Systems Lindenmayer Systems algorithmicbotany.org.
Advertisements

Motivation Hair animation used in movies, games, virtual reality, etc. Problem due to complexity –Human head has over 100,000 strands of hair –Computation.
JYC: CSM17 BioinformaticsCSM17 Week 8: Simulations (part 2): plant morphology sea shells (marine molluscs) fractals virtual reality –Lindenmayer systems.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Ch 3.8: Mechanical & Electrical Vibrations
Beams and Frames.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Some Ideas Behind Finite Element Analysis
Rotational Equilibrium and Rotational Dynamics
Lecture 2 Free Vibration of Single Degree of Freedom Systems
Chapter 16 Wave Motion.
Trigonometry, Coordinate system and Vectors Computer Graphics.
L-systems Presented by Luv Kohli COMP258 October 30, 2002 Images copyright © 1992 D. Fowler, P. Prusinkiewicz, and J. Battjes.
Mechanical Vibrations
Simulating Trees with Fractals and L-Systems Eric M. Upchurch CS 579.
Frank L. H. WolfsDepartment of Physics and Astronomy, University of Rochester Physics 121. March 18, 2008.
Manipulator Dynamics Amirkabir University of Technology Computer Engineering & Information Technology Department.
Introduction What is this ? What is this ? This project is a part of a scientific research in machine learning, whose objective is to develop a system,
Circular Motion and Other Applications of Newton’s Laws
Chapter 21 & 22 Electric Charge Coulomb’s Law This force of repulsion or attraction due to the charge properties of objects is called an electrostatic.
Engineering Mechanics: Statics
Computer graphics & visualization Collision Detection – Narrow Phase.
IlliDOL: A Framework for Exploration of L- Systems in Three Dimensions Vilas Dhar Math 198 Spring 2003.
Shape Blending Joshua Filliater December 15, 2000.
UNIVERSITI MALAYSIA PERLIS
Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
COMPUTER GRAPHICS CS 482 – FALL 2014 AUGUST 27, 2014 FIXED-FUNCTION 3D GRAPHICS MESH SPECIFICATION LIGHTING SPECIFICATION REFLECTION SHADING HIERARCHICAL.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Adapting Simulated Behaviors For New Characters Jessica K. Hodgins and Nancy S. Pollard presentation by Barış Aksan.
L-Systems and Procedural Plants CSE 3541 Matt Boggus.
College of Computer and Information Science, Northeastern UniversityOctober 13, CS U540 Computer Graphics Prof. Harriet Fell Spring 2007 Lecture.
The Artificial Life of Plants Przemyslaw Prusinkiewicz, Mark Hammel, Radom´ır Mˇech Department of Computer Science University of Calgary Calgary, Alberta,
L-Systems Lindenmayer Systems Prusinkiewicz and Lindenmayer
Lindenmayer systems Martijn van den Heuvel May 26th, May 26th, 2011.
Biomechanics Examines the internal and external forces acting on the human body and the effects produced by these forces Aids in technique analysis and.
1 10/27/ :26 UML Simplicity in Complexity. 2 10/27/ :26 UML Rewriting Systems Classic Example: Koch 1905 Initiator Generator.
Monday, Oct. 27, 2003PHYS , Fall 2003 Dr. Jaehoon Yu 1 PHYS 1443 – Section 003 Lecture #16 Monday, Oct. 27, 2002 Dr. Jaehoon Yu 1.Center of Mass.
Rotational Mechanics. Rotary Motion Rotation about internal axis (spinning) Rate of rotation can be constant or variable Use angular variables to describe.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Special Models.
‘Fire’: The Procedural Method Investigation of Procedural Trees and Fire:
Artistic Surface Rendering Using Layout Of Text Tatiana Surazhsky Gershon Elber Technion, Israel Institute of Technology.
Forces in Two Dimensions
Rotational Kinetic Energy An object rotating about some axis with an angular speed, , has rotational kinetic energy even though it may not have.
Chapter 16 Lecture One: Wave-I HW1 (problems): 16.12, 16.24, 16.27, 16.33, 16.52, 16.59, 17.6, Due.
Physics CHAPTER 8 ROTATIONAL MOTION. The Radian  The radian is a unit of angular measure  The radian can be defined as the arc length s along a circle.
Torque on a Current Loop
Ship Computer Aided Design Displacement and Weight.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
CS274 Spring 01 Lecture 7 Copyright © Mark Meyer Lecture VII Rigid Body Dynamics CS274: Computer Animation and Simulation.
제 6 주. 응용 -2: Graphics Evolving L-systems to Generate Virtual Creatures G.S. Hornby and J.B. Pollack, Computers & Graphics, vol. 25, pp. 1041~1048, 2001.
Multiplication of vectors Two different interactions (what’s the difference?)  Scalar or dot product : the calculation giving the work done by a force.
Rotational Motion – Part I AP Physics C. The radian  There are 2 types of pure unmixed motion:  Translational - linear motion  Rotational - motion.
Chapter 22 Electric Fields The Electric Field: The Electric Field is a vector field. The electric field, E, consists of a distribution of vectors,
Chapter 10 Lecture 18: Rotation of a Rigid Object about a Fixed Axis: II.
Physical Simulation of Tree Motion CS 658 BYU. Skip Right to the Branch Dynamics: Wind effect on branches Njoint = moment of the joint (ie torque applied.
Experimenting with Grammars to Generate L-Systems – in JFLAP March 31, 2011 Prof. Susan Rodger Computer Science Dept.
Grammars, L-Systems Jim Whitehead UC Santa Cruz School of Engineering courses.soe.ucsc.edu/courses/cmps265/Spring14/01 23 Apr 2014.
Presentation File: Additional materials 12Aug20111CMDAYS 2011 Aravamudhan Download Presentation.
Soh Ping Jack, Azremi Abdullah Al-Hadi, Ruzelita Ngadiran
Mechanical Vibrations
Kinematics Introduction to Motion
Vectors and Applications
ATCM 3310 Procedural Animation
Fitting Curve Models to Edges
ENE/EIE 325 Electromagnetic Fields and Waves
CHAPTER 2 BASIC CONCEPTS OF DISPLACEMENT OR STIFFNESS METHOD:
Lecture 10 Biot-Savart’s Law.
Three-Dimensional Object Representation
VIRTUAL ENVIRONMENT.
Presentation transcript:

Modeling of Plants Josh Markwordt November 27, 2007

Overview Modeling Plants –L-systems and plants –Turtle interpretation of L-systems –2D and 3D examples Simulating plant motion –Common plant representations –Plant motion based on wind –Competition between plants –Simulation level of detail with plants

Modeling Plants Development process of plants is captured in the formalism of L-systems –Aristid Lindenmayer introduced L-systems in 1968 as a framework for studying development of simple multicellular organisms –Later applied to investigate higher plants and plant organs –Geometric interpretations of L-systems allowed realistic graphical visualizations of plants

Modeling Plants: L-systems L-systems make use of rewriting – defining complex objects by successively replacing parts of a simple initial object using a set of rewriting rules or productions Other examples of rewriting: –Koch (and later Mandelbrot’s) snowflake curve –Grammars to describe the syntactic features of natural languages (rewriting notation Backus-Naur Form) –Conway’s Game of Life

L-system Example In grammars, production rules are applied sequentially, whereas in L-systems they are applied in parallel and simultaneously replace all letters in a given word For example: –a  ab means the letter a is to be replaced with ab –b  a means the letter b is to be replaced with a

Turtle Interpretations of L-systems Prusinkiewicz focused on an interpretation based on a LOGO-style turtle A state of the turtle is defined as a triplet (x, y, α) –Cartesian coordinates (x, y) represent the turtle’s position –Angle α, called the heading, is interpreted as the direction in which the turtle is facing Given the step size d and the angle increment δ, the turtle can respond to commands Can be extended to 3D

Turtle Symbols for L-systems The following symbols control turtle orientation in space: –+ Turn left by angle δ, using rotation matrix R U (δ). –− Turn right by angle δ, using rotation matrix R U (−δ). –& Pitch down by angle δ, using rotation matrix R L (δ). –^ Pitch up by angle δ, using rotation matrix R L (−δ). –\ Roll left by angle δ, using rotation matrix R H (δ). –/ Roll right by angle δ, using rotation matrix R H (−δ). –| Turn around, using rotation matrix R U (180◦). Additional symbols to allow for axial branching: –[ Push the current state of the turtle onto a pushdown stack. The information saved on the stack contains the turtle’s position and orientation, and possibly other attributes such as the color and width of lines being drawn. –] Pop a state from the stack and make it the current state of the turtle. No line is drawn, although in general the position of the turtle changes.

2D Examples

3D Example Production p4 specifies the leaf as a filled polygon with six edges. Its boundary is formed from the edges f enclosed between the braces { and } The symbols ! and are used to decrement the diameter of segments and increment the current index to the color table

More Examples

Simulating Plant Motion Simulating plant motion believably is a combination of understanding –How to physically represent the structure of a plant –The forces which act on that plant (both external and internal)

Simulating Plant Movement Plants that grow on stalks (wheat, sunflowers, etc) can be modeled by the equation Where is the rotational stiffness of this oscillator K is the rotational stiffness due to stem elasticity C is a dissipation term When stem is pulled away from its vertical equilibrium it is subjected to two counteracting forces: one resulting from gravity, the other from stem elasticity

Simulating Plant Movement Continuous crop canopy model Provided d is small compared to the characteristic length of variation of  The dynamic equation for the evolution of the angle  which has the form of a wave equation for an equivalent continuous medium

Simulating Plant Movement Branch axis conceptualized as an inextensible elastic rod of length L Natural parameters denote the arc-length distance of a point P from the base of the rod Given vectors H(0), L(0) and U(0) specifying the initial reference frame at s=0, the rate of rotation  determines the reference frame HLU at any point on the rod as the solution to

Simulating Plant Movement K is the external force per unit length, acting on the rod at P The accumulated force F and the moment of force M caused by the rod segment [s,L] acting on the rod at P

Simulating Plant Movement Since the orientation of the frame at the proximal end is known, computation proceeds outward to calculate the orientation of the frame HLU at each point of the rod. (analogous formulae for L and U) Since the boundary values at the distal end of the rod are known, computation proceeds inward for distribution of the external forces and moments along the rod.

Forces Affecting Plant Motion Wind Competition with other plants for resources Some others that will not be covered in detail: –Primary and secondary (radial) growth –Tropism: a turning movement in response to an environmental stimulus

Tree Motion Due to Wind Discretize trees into a set of N branches Deviation from the branch segment is described by a cubic curve whose shape depends on the six displacements Grouped displacements into a 6N-dimensional vector u

Tree Motion Due to Wind Evolution of the displacements can be condensed into the following dynamic equation M is the mass matrix C is the damping matrix (assumed to be proportional to the mass matrix via a damping coefficient  ) K is the stiffness matrix The force f accounts for the external loading due to wind

Tree Motion Due to Wind Force vector constructed from the loads f k on each individual branch caused by a wind field v(x,t) Pressure p k (t,s) acting on a single branch k is proportional to the square of the magnitude of the velocity (often assumed to be a linear relationship for small displacements): The density of the air, , is approximately equal to 1.2 kg/m 2 C D denotes the lateral drag coefficient r k (s) is the thickness along the branch P k is an operator which projects the velocity onto the plane normal to the direction of the branch

Competition for Resources Field of Neighbor Model can be used to describe competion for light and nutrients Each plant has circular zone of influence a and b are constants and depend on the intensity of the resources underground and intensity of light above ground If the plant is in a fertile environment, a and b will be small and the zone will be small Otherwise the zone will be large and competition will occur

Competition for Resources The possible growth rate of a single plant without considering the competition of it’s neighbor is denoted by MGR is the maximum growth rate of the plant R max is the maximum size of the plant Where C equals the competition factor: Where  is the competition factor in interval [0,1] and can be determined for different systems of competition (light, nutrients, etc)

Simulation Level of Detail Natural use of branching structure of plants to aid in simulation level of detail Parent with terminal child are combined into a single new (terminal) segment

Simulation Level of Detail Parent with multiple terminal children, those children are replaced by a single terminal child

Simulation Level of Detail Substitution segments precomputed (certain degree of error allowed) Simplification is made to simulation structure to decrease the complexity of motion – the tree can still be rendered with the same number of polygons

Results Videos

References Alsweis, M. Extended Competition Rules for Interacting Plants. The 15 th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision 2007.Extended Competition Rules for Interacting Plants. Beaudoin, J., Keyser, J. Simulation Levels of Detail for Plant Motion. Symposium on Computer Animation, pp Simulation Levels of Detail for Plant Motion. Di Giacomo, T., Capo, S., Faure, F.: An Interactive Forest. Proc. of Eurographics Workshop on Computer Animation and Simulation (2001), pp An Interactive Forest. Doare, O., Moulia, B., Langre, E. de. Effect of Plant Interaction on Wind-Induced Crop Motion Journal of Biomechanical Engineering April 2004 Vol 126, Issue 2, pp Effect of Plant Interaction on Wind-Induced Crop Motion Li, W., Guo, W., Feng, G., Meng, Y., Li, M. Broad-leaf Virtual Plant. IEEE International Conference on Industrial Technology 2006, pp Broad-leaf Virtual Plant.

References (cont.) Martin Fuhrer, Henrik Wann Jensen, Przemyslaw Prusinkiewicz: Modeling Hairy Plants. In Proceedings of Pacific Graphics 2004, pp Modeling Hairy Plants. Prusinkiewicz, Przemyslaw; Lindenmayer, Aristid The Algorithmic Beauty of Plants. Springer-Verlag, 1990.The Algorithmic Beauty of Plants. Prusinkiewicz, Przemyslaw. L-systems and Beyond. SIGGRAPH 2003 Course Notes.L-systems and Beyond. Stam, J.: Stochastic Dynamics: Simulating the Effects of Turbulence on Flexible Structures. Proc. of Eurographics (1997), vol. 16, no. 3, pp. C159-C164.Stochastic Dynamics: Simulating the Effects of Turbulence on Flexible Structures.