Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

35
1 Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006 Advanced Features

description

Advanced Features. Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006. New SmartView Features/Tools. Decimation Tessellation Rotate/Translate/Scale Whole-Object Smoothing Copy/Paste Error/Integrity Checking Model Editing. Decimation – Simplifying the Model. - PowerPoint PPT Presentation

Transcript of Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

Page 1: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

1

Edgar L. CoffeyApplied Research Associates, Inc.

November 14, 2006

Advanced Features

Page 2: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

2

New SmartView Features/Tools

• Decimation

• Tessellation

• Rotate/Translate/Scale

• Whole-Object Smoothing

• Copy/Paste

• Error/Integrity Checking

• Model Editing

Page 3: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

3

Decimation – Simplifying the Model

• 3 methods implemented– Remove common edge– Remove redundancies– Remove common point

• User directs execution– Methods are independent– Visual feedback

• Preserves original model– Always revert to original– Must commit to keep

decimation

Page 4: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

4

Decimation by Removing Common Edge

We can safely remove an edge common to two polygons if:

• The edge’s wedge angle is less than Max. Wedge Angle.

• Removing the edge doesn’t cause new surface to deviate from the old by more than the surface tolerance.

Page 5: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

5

Decimation by Removing Redundancies

We can safely remove a point connecting parallel lines if:

• Removing the point doesn’t cause new line to deviate from the old by more than the Edge Tolerance.

Page 6: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

6

Decimation by Removing Common Points

We can safely remove a point common to several polygons if:

• Removing the point doesn’t cause new surface to deviate from the old by more than the Surface Tolerance.

Page 7: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

7

Decimation Example: Crusader

Before: 6,324 polys

After: 513 polys

Page 8: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

8

Tessellation – Re-faceting the Model

• Each poly is divided into many, according to the Edge Length parameter.

• A poly’s Mesh Factor influences the fineness of the mesh.

• New mesh retains edge connectivity.

• Each poly’s mesh can be smoothed for better model integrity.

Page 9: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

9

Tessellation Example – Simple Engine Model

Before: 90 polys

After: 4,862 polys

Page 10: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

10

Tessellation Example –EA-6B

Before: 2,241 polys

After: 34,411 polys

Page 11: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

11

Tessellated EA-6B Close Up

Page 12: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

12

Tessellation of DDG-51

Page 13: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

13

Rotation, Translation and Scaling

• Transform steps:– Scale model– Rotate as specified– Transform as specified

• Make multiple copies• Use selection only• Preserve original model

– Always revert to original– Must accept to keep

Page 14: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

14

Creating a Helix Array from One Point

• Steps to create figure– Create point at (0.1,0,0).– Transform point once.

• Rotate RZ 20°• Translate Δz = 0.01 m

– Make wire between the two points.

– Transform model 100x to make first spiral

• Rotate RZ 20°• Translate Δz = 0.01 m

– Translate model once to make 2nd spiral: Δx = 0.6 m

– Translate model once to make 3rd/4th spirals. Δy = 0.6 m

– Save model (404 segments)

Page 15: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

15

Whole-Object Model Smoothing

• Smooth mesh across entire model– Selection only option– Laplace smoothing– Select iterations– Apply fraction of force– Stop when converged

• Repeatedly apply– Visual feedback

• Too much smoothing will shrink model!!!– Use fixed points– Use selections

Page 16: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

16

Smoothing Example – F-16 Model

Page 17: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

17

Copy/Paste Between Models

F16 MOM Model

F16 GTD Model

F16 GTD Pasted into F16 MOM

Page 18: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

18

SmartView Error and Integrity Checking (1)

• SmartView can check the validity of your model via a set of integrity measures.– Mesh, patches,

segments, junctions, connections.

• Upon completion, the model will be colored green/yellow/red for ok/warning/error.

Page 19: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

19

SmartView Error and Integrity Checking (2)

Page 20: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

20

Results of Integrity Checks

Page 21: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

21

Rendering of Wire Mesh Modeling Errors

Page 22: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

22

Error Dialog for Wire Mesh Models

Page 23: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

23

Editing Methods in SmartView

• Menus/Dialogs/User entry– Works in all view modes– Some actions require selections– Add, delete, modify points and polys

• Mouse commands/popup actions– Works only in edit mode– Contextual popup menus define actions– Add, delete, modify points and polys– Higher order actions depending on context

• Combine adjacent polys into one poly• Split a poly into two polys• Split an edge into two or three edges

Page 24: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

24

Adding Elements from the Menu

Apply/Revert before committing change.

Page 25: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

25

Deleting Elements from the Menu

Point/poly number automatically increments for user’s convenience.

Page 26: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

26

Editing Selection from the Menu

Page 27: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

27

Mouse Actions in Edit Mode (1)

Start

Stop

Left click and drag to opposite corner

After release

Page 28: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

28

Mouse Actions in Edit Mode (2)

Right click on unselected point

Right click on unselected poly

Page 29: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

29

Mouse Actions in Edit Mode (3)

Double-click selects and deselects points and polys

Page 30: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

30

Mouse Actions in Edit Mode (4)

• Context-Sensitive Action List– Close– Delete Selection– Fix Points (make immovable)– Unfix Points– Remove Redundant Points– Combine Polys– Split Poly– Create Poly from Points– Split Edge X2– Split Edge X3– Flip Normals– Add Point on PolyRight click on selection

Page 31: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

31

Mouse Actions in Edit Mode (5)

Shift-Left Click and Drag on Unselected Point

Page 32: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

32

Correcting a Modeling Error - Animation

Page 33: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

33

Advanced Feature Demonstration

• Multiple models– Read them into memory– Switch between models– Copy and paste between models

• Simple editing – File → Edit options– Build the 4-helix antenna array

• Decimation• Tessellation• Advanced Editing

– Edit mode editing– Mouse actions– Add/modify/delete– Surface crawls

• Error Checking– F-16 demonstration– Error/integrity parameter review

Page 34: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

34

SmartView Advanced Hands-On (2)

• Editing practice – Make the four-helix array on slide #14

• Decimation practice– Decimate CrusaderTri.pnt– In SV/examples/Decimation/Crusader

• Tessellation practice– Tessellate your decimated Crusader– Use a mesh size of 0.1 m

Page 35: Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006

35

SmartView Advanced Hands-On (2)

• “Fix” the F-16 model in f16.pnt– Just do one half (other is symmetric)– Copy f16.pnt to something else!– Use the Error mode to find problems

• Reversed normals• Disconnected polygons• Polygon areas too big

– Use Tools → Revisualize Model– Don’t forget to save often!