- Likes 12
- Views 14

Like

Download this presentation #### Variational PowerPoint Presentation, PPT - DocSlides

Click below link (As may be) to get this presentation.
Download Note - The PPT/PDF document "Variational PowerPoint Presentation, PPT..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

**Direct Link:**- Link:http://www.docslides.com/variational-1131949
**Embed code:**

Slide1

Variational geometric modelingwith black box constraintsand DAGs

Paper by: Gilles Gouaty, Lincong Fang, Dominique Michelucci, Marc Daniel, Jean-Philippe Pernot, Romain Raffin, Sandrine Lanquetin, Marc NeveucA presentation by: Boris van Sosin

1

Slide2Introduction and motivation

Modeling with CAD systems is a multi-level process

ProductComponentStructure & surface detailsGeometric primitives

Used by product designers

Used by CAD systems

2

Slide3Introduction and motivation

Parametric modeling:Vector of parameters: Shape: Designer modifies by changing .

Â

3

Slide4Introduction and motivation

Variational modeling:Designer specifies shape function and constraints: Solver finds which satisfies constraints.

Â

4

Slide5Introduction and motivation

Variational modeling:Often the design needs to minimize some criterion.E.g. cost, mass, physical stress, surface energyâ¦Often, .

Â

5

s.t.:

Â

Slide6Introduction and motivation

Main tool:DAG representationLeaves are variables or constantsSimple operators:+,-,*,/, power, root, etc.More Complex operators:BÃ©zier/B-spline control points, subdivision surface parameters, etc.

+

*

^

Const

2

Var y

Var x

6

Slide7Related work

Variational modeling introduced in: âVariational geometry in computer-aided designâ, V. C. Lin, D. C. Gossard, R. A. Light, SIGGRAPH '81 Proceedings of the 8th annual conference on Computer graphics and interactive techniques, 1981Feature based modeling introduced in: âExpert form feature modelling shellâ, J.J. Shah. M. T. Rogers, Computer-Aided Design, 1988âModifying the shape of NURBS surfaces with geometric constraintsâ, S.M. Hu, Y.F. Li, T. Ju, X. Zhu, Computer-Aided Design, 2001

7

Slide8Numerical Optimization

Numerically solving constraint problems / optimization problemsRecall: single variable, scalar function case.Observation: optimization problems are local extremum finding problems.Can be solved as zero problems of .Newtonâs Method on :

Â

8

Slide9Numerical Optimization

Numerically solving constraint problems / optimization problemsMultivariate case: is a scalar function of a vector variable .Derivative gradient vectorInverse second derivative inverse Hessian matrixNewtonâs Method:For finding extrema of , find such that . where: is the inverse Hessian, and is a step-size constant.

Â

9

Slide10Numerical Optimization

Quasi-Newton methods are used when is difficult to compute.Hessian is approximated by matrix .Update step is has an update step: Examples:DFP (DavidonâFletcherâPowell)BFGS (BroydenâFletcherâGoldfarbâShanno)

Â

10

Slide11Numerical Optimization

Pattern-search methods are used when even gradient is unavailable.A discretized gradient descent approach.Evaluate function at a finite set of pointsin a pre-determined pattern.If the minimum/maximum is not at the center,set new center to minimum/maximum.Otherwise, shrink pattern by half.âOptimization by Direct Search: New Perspectives on SomeClassical and Modern Methodsâ, T.G. Kolda, R.M. Lewis, V. Torczon,SIAM Review, 2003

Image source:

https://en.wikipedia.org/wiki/File:Direct_search_BROYDEN.gif

11

Slide12The DAG Representation

Advantages:More general than simple BÃ©zier/B-spline representation.Functions such as etc. are easy to represent.Efficient to re-evaluate if only some parameters are changed.Derivatives are computed by chain rule.Where they exist.Composition is trivial to compute.Disadvantages:Interval analysis.Limitations:Closest point on curve/surface to a given point.The âifâ (or ternary) operator.

Â

+

*

^

Const

2

Var y

Var x

12

Slide13From DAGs to Procedures

Solution: allow any procedure to be a âblack-boxâ node in a DAG.Properties:More high level operators.Can still know on which variables a node depends.Composition is still trivial to compute.Efficient evaluation by compiling procedures.Disadvantages:No symbolic evaluation, only floating-point.No closed-form formula representation.No derivative computation.Can be approximated by finite differences.Definitely no interval analysis.

13

Slide14Solving With Black-Box Constraints

Problem formulation:Most generally:s.t.where is a vector of variables, is a scalar function, is a vector function of constraints.

Â

14

Slide15Solving With Black-Box Constraints

Problem formulation:Shortcuts: s.t.If there is no : unconstrained optimization use BFGS.If only approximate solution is needed:minimize , for a very large constant .If no : minimize .

Â

15

Slide16Solving With Black-Box Constraints

Problem formulation:s.t. Solved as Lagrange Multiplier problem:Local minima of , with constraints are:

Â

16

Slide17Solving With Black-Box Constraints

Constrained optimization:s.t.Solved as Lagrange Multiplier problem:Solved as unconstrained optimization:where: Derivatives approximated with finite differences.

Â

17

Slide18Solving With Black-Box Constraints

Solving:where: Finds only local minimaResult depends on initial guess.Design process assumptions:Product design is an iterative process. from the previous design iteration used as initial guess.If no initial guess is provided, meta-heuristics are used:simulated annealing, genetic algorithms, swarm optimization, etc.

Â

18

Slide19Solving With Black-Box Constraints

Solving:where: No initial guess for Solved by homotopy-inspired method.Continuous deformation while preserving topology.âSolving geometric constraints by homotopyâ, HervÃ© Lamure, Dominique Michelucci, SMA '95 ProceedingsDefine a continuum of problems: s.t. for .

Â

19

Slide20Solving With Black-Box Constraints

Solving by homotopy-like method:s.t. for .. is the original problem.Choose: initial guess. . Lagrange multipliers satisfy these constraints. or so that minimizes .Lagrange multiplier problem:

Â

20

Slide21Solving With Black-Box Constraints

Solving by homotopy-like method:s.t. for .. is the original problem.Choose: initial guess. . Lagrange multipliers satisfy these constraints. or so that minimizes Iterative step:Advance by a small increment.Formulate problem and solve (e.g. with BFGS) with previous as initial guess.

Â

21

Slide22Examples of Use

1. Surface passing through point.Initial surface: bi-quadraticB-spline,with 7x7 uniformly-spacedcontrol point,and open-ended uniform KVs.First design iteration: constrain to pass through point .Problem formulation: Border control points assumed to be constant variables.

Â

22

Slide23Examples of Use

1. Surface passing through point.First design iteration: constrain to pass through point .Problem formulation:

Â

23

Slide24Examples of Use

1. Surface passing through point.First design iteration: constrain to pass through point .Problem formulation: Result:

Â

24

Slide25Examples of Use

1. Surface passing through point.

Second design iteration: constrain to pass through .Problem formulation: (ditto for ).Two new variables: variables.Use previous design iteration asinitial guess.

Â

25

Slide26Examples of Use

1. Surface passing through point.Second design iteration: constrain to pass through .Problem formulation: (ditto for )Two new variables: variables.Use previous design iteration as initial guess.Result: discrete energy reduced by ~20%.

Â

26

Slide27Examples of Use

2. Contact between two parametric surfaces:Two cylinder-like objects, each composed of six patchesFour cylinder body patches + two top/bottom patchesAll patches are bi-quadratic B-spline surfaceswith 5x5 control points.G1 continuity is forced along cylinder edges and G0 betweencylinder and top/bottom.

27

Slide28Examples of Use

2. Contact between two parametric surfaces:

Contact area between the two objects is assumed tobe inside a single cylinder patch.Represented as 17 discrete contact-point constraints inparametric space.Constraint system:Additional variables: control points, size and locationof contact circleâ¦Additional constraints: G0 and G1 continuity.Not listed explicitly in the paper.

Â

28

Slide29Examples of Use

2. Contact between two parametric surfaces:Result:Discretization of contactarea canât guaranteenon-intersection ofthe surfaces.

29

Slide30Examples of Use

3. Contact between parametric surface and subdivision surface :Subdivision surfaces do not support , .Instead, contact is forced by: is very difficult to implement withoutâblack-boxâ nodes.Also requires G0 and G1 continuity constraints., could be used inprevious example.

Â

30

Slide31Examples of Use

4. Deforming a plane to create a bump/hollowStart from a bi-quadratic B-spline plane with 17x17 inner control point.Target surface must pass through a targetcurve above the plane, and a target outlinecurve.Outline curve is discretized into 30 points, andtarget curve into 11 points.

Â

31

Slide32Examples of Use

4. Deforming a plane to create a bump/hollowConstraints: for outline points. for target points.Variables: control point variables, UV coordinate variables (possible error in paper),Total: 213 constraints in 949 variables.

Â

32

Slide33Examples of Use

4. Deforming a plane to create a bump/hollow

Experimental results:Initially, outline curve constraints are satisfied, butnot target curve constraints.In first iterations, target curve constraints are improved,while outline constraints are deteriorated.At about 50 iterations, all constraints tend towards zero.Stopped at 300 iterations.Considered by authors to be a good resultfor initial draft.

33

Slide34Optimizations & Design Considerations

DAGs allow partial re-evaluation of expressions.Needs system for tracking and managing changes in variables.Timestamps for all nodes.Vocabulary of operators:Arithmetic: +,-,*,/,^,,, ,â¦Vector to/from scalar componentsâ¦Parametric curve/surface creation/evaluation.Other: ClosestPt, ClosestNormal for parametric and subdivision surfaces,if-then-elseâ¦Tradeoff:High-level operations can be compiled into low-level computer code.Fine-grained operators are better optimized with partial evaluation.

Â

34

Slide35Optimizations & Design Considerations

DAGs allow partial re-evaluation of expressions.Needs system for tracking and managing changes in variables.Timestamps for all nodes.Vocabulary of operators:Arithmetic: +,-,*,/,^,,, ,â¦Vector to/from scalar componentsâ¦Parametric curve/surface creation/evaluation.Other: ClosestPt, ClosestNormal for parametric and subdivision surfaces,if-then-elseâ¦Tradeoff:High-level operations can be compiled into low-level computer code.Fine-grained operators are better optimized with partial evaluation.

Â

35

Slide36Optimizations & Design Considerations

Labels on âblack boxâ nodes:Make them not entirely âblack boxâ.Label properties such as: continuity and differentiability, convexity, linearity, etc.How can the solver take advantage of such information?Open problem.Failures, infinite loops, timeouts:Can occur in procedures (âblack boxâ nodes).Open problem.Is meaningful handling possible?

36

Slide37Optimizations & Design Considerations

Persistent naming:Designer may want to preserve features.Example: the depression in example 4.User may want to move/rotate depression, but not lose it.Feature without âpersistenceâ may deform, get disconnected ordisappear.Open problem.Interoperability:Results can be exported as mesh / spline / subdivision surface models.No simple operator history representation.Example: Cylinder -> apply deformation -> move to contact with a boxâ¦Open problem.

37

Slide38Thank you!

38

Next Slides

Advertisement

Recommended
#### How Current Grape Supply and Demand Affects You

#### Case Study example – 12 marks (+3 SPaG)

#### Service Team presentation

#### Λοβεκτομη

#### Ditch the Worksheet:

#### The Finnish Education For All

#### Progress

#### Mercedes-Benz “Intelligent Drive”:

#### FTTH status (21 countries analyzed, brief reviews from

Binding Receipt PowerPoint Presenations Bund PowerPoint Presenations Business Purpose Rule PowerPoint Presenations Caveat Subscriptor PowerPoint Presenations Certificate Of Product Origin PowerPoint Presenations Charitable Donation PowerPoint Presenations Chicago Convention PowerPoint Presenations Coden PowerPoint Presenations Color PowerPoint Presenations Copper PowerPoint Presenations Cross-hedging PowerPoint Presenations Inner Drive PowerPoint Presenations Support Applications PowerPoint Presenations Lung Cancer PowerPoint Presenations Computer Engineering PowerPoint Presenations Induced Abortion PowerPoint Presenations Aldehyde Alcohol PowerPoint Presenations Antibiotic Sensitivity Test PowerPoint Presenations Time Travel PowerPoint Presenations Defense Information Systems Agency PowerPoint Presenations