computer-generated medical, technical, and scientific illustration

48

Upload: donnel

Post on 13-Jan-2016

23 views

Category:

Documents


0 download

DESCRIPTION

Computer-Generated Medical, Technical, and Scientific Illustration. SIGGRAPH 2005 Course #31 Half-Day, Tuesday, 2 August, 8:30 am - 12:15 pm Level: Intermediate. Co-Organizers David S. Ebert Purdue University Mario Costa Sousa University of Calgary. Lecturers - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Computer-Generated Medical, Technical, and Scientific Illustration
Page 2: Computer-Generated Medical, Technical, and Scientific Illustration

Computer-Generated Medical, Technical, and Scientific IllustrationComputer-Generated Medical, Technical, and Scientific Illustration

SIGGRAPH 2005

Course #31

Half-Day, Tuesday, 2 August, 8:30 am - 12:15 pmLevel: Intermediate

Page 3: Computer-Generated Medical, Technical, and Scientific Illustration

Computer-Generated Medical, Technical, and Scientific IllustrationComputer-Generated Medical, Technical, and Scientific Illustration

Co-Organizers

• David S. EbertPurdue University

• Mario Costa SousaUniversity of Calgary

Lecturers

• Amy GoochNorthwestern University

• Don StredneyOhio Supercomputer Center

Page 4: Computer-Generated Medical, Technical, and Scientific Illustration

Computer-Generated Medical, Technical, and Scientific IllustrationComputer-Generated Medical, Technical, and Scientific Illustration

• NPR Systems for Technical and Science Subjects Mario Costa Sousa, 50 min (08:30 - 09:15)

• Interactive Medical Volume Illustration David S. Ebert, 60 min, (9:15 - 10:15)

• BREAK (10:15 - 10:30)

• Illustration: Lighting and Material Properties Amy Gooch, 50 min (10:30 - 11:20)

• An Illustrator's Perspective on Computer-generated Illustration TechniquesDon Stredney, 55 min, (11:20 - 12:15)

Page 5: Computer-Generated Medical, Technical, and Scientific Illustration

NPR Systems for Technical and Science Subjects NPR Systems for Technical and Science Subjects

Mario Costa Sousa

University of Calgary

Page 6: Computer-Generated Medical, Technical, and Scientific Illustration

Precise Ink Drawing SystemPrecise Ink Drawing System

Mario Costa SousaFaramarz Samavati

Torin Taerum

University of Calgary

Page 7: Computer-Generated Medical, Technical, and Scientific Illustration

Shape analysis

Measures/Regions

Drawing directions

Light silhouettes

Region refinement

Stroke stylization

Rendering

3D model

User

Automatic

Interactive

Precise Ink Drawing System[Sousa et al 2003, 2004, [Sousa et al 2003, 2004, Pakdel and Samavati 2004]Pakdel and Samavati 2004] Precise Ink Drawing System[Sousa et al 2003, 2004, [Sousa et al 2003, 2004, Pakdel and Samavati 2004]Pakdel and Samavati 2004]

Page 8: Computer-Generated Medical, Technical, and Scientific Illustration

Precise Ink Drawing SystemPrecise Ink Drawing System

• [Sousa et al. 2003] Sousa, M., Foster, K., Wyvill, B., and Samavati, F. 2003. Precise ink drawing of 3d models. Computer Graphics Forum (Proc. of Eurographics ’03) 22, 3, 369–379.

• [Sousa et al 2004] Sousa, M., Samavati, F., and Brunn, M. 2004. Depicting shape features with directional strokes and spotlighting. In Proc. of Computer Graphics International ’04, 214–221.

• [Pakdel and Samavati 2004] H. R. Pakdel and F. F. Samavati, Incremental Adaptive Loop Subdivision,  ICCSA2004.  Lecture Notes in Computer Science 3045, pp. 237-246, 2004.

Page 9: Computer-Generated Medical, Technical, and Scientific Illustration

Shape analysis

Measures/Regions

Drawing directions

Light silhouettes

Region refinement

Stroke stylization

Rendering

3D model

User

Automatic

Interactive

Precise Ink Drawing System[[Sousa et al 2003Sousa et al 2003, 2004, , 2004, Pakdel and Samavati 2004]Pakdel and Samavati 2004] Precise Ink Drawing System[[Sousa et al 2003Sousa et al 2003, 2004, , 2004, Pakdel and Samavati 2004]Pakdel and Samavati 2004]

Page 10: Computer-Generated Medical, Technical, and Scientific Illustration

ApproachApproach

Gargoyle, 207K Model source: Rich Pito, Model source: Rich Pito, University of Pennsylvania GRASP Lab

Mesh

Page 11: Computer-Generated Medical, Technical, and Scientific Illustration

Gargoyle, 207K Preprocess

MeshEdge Buffer

Page 12: Computer-Generated Medical, Technical, and Scientific Illustration

Gargoyle, 207K Preprocess

Shape Measures:

• Dihedral Angle • Slope Steepness• Slope Aspect• Mean Curvature

MeshEdge Buffer

a

b

a

Page 13: Computer-Generated Medical, Technical, and Scientific Illustration

Gargoyle, 207K Preprocess 10 s

MeshEdge Buffer with Shape Measures

Page 14: Computer-Generated Medical, Technical, and Scientific Illustration

Gargoyle, 207K Preprocess 10 s 1 fpsRun-Time

MeshEdge Buffer with Shape Measures

Automatic WidthInteractive Pen MarksInk Distribution Effects

Result

Page 15: Computer-Generated Medical, Technical, and Scientific Illustration
Page 16: Computer-Generated Medical, Technical, and Scientific Illustration
Page 17: Computer-Generated Medical, Technical, and Scientific Illustration

Shape analysis

Measures/Regions

Drawing directions

Light silhouettes

Region refinement

Stroke stylization

Rendering

3D model

User

Automatic

Interactive

Precise Ink Drawing System[Sousa et al 2003, 2004, [Sousa et al 2003, 2004, Pakdel and Samavati 2004Pakdel and Samavati 2004]] Precise Ink Drawing System[Sousa et al 2003, 2004, [Sousa et al 2003, 2004, Pakdel and Samavati 2004Pakdel and Samavati 2004]]

Page 18: Computer-Generated Medical, Technical, and Scientific Illustration

Adaptive SubdivisionAdaptive Subdivision

• Do we really need to subdivide flat areas?

• Growth factor of faces?

• Flat area : Low curvature area

Page 19: Computer-Generated Medical, Technical, and Scientific Illustration

Interest based selected area Interest based selected area

• For example: silhouette

Page 20: Computer-Generated Medical, Technical, and Scientific Illustration

Adaptive subdivision (Loop)Adaptive subdivision (Loop)

• Just subdivide and split some triangles

• Cracks !

• Solution: insert new edges (T-junctions)

A. Amresh, G. Farin, and A. Razdan. Adaptive subdivision schemes for triangular meshes. Hierarchical and Geometric Methods in Scientific Visualization, 2003.

Page 21: Computer-Generated Medical, Technical, and Scientific Illustration

Repeat for several times!Repeat for several times!

• Some “extremely” extra-ordinary vertices ( O-Vertices)

• Abrupt change of the resolution

Page 22: Computer-Generated Medical, Technical, and Scientific Illustration

Repeat for several times!Repeat for several times!

Page 23: Computer-Generated Medical, Technical, and Scientific Illustration

Ripple effectRipple effect

Page 24: Computer-Generated Medical, Technical, and Scientific Illustration

Balanced mesh: Red-Green TriangulationBalanced mesh: Red-Green Triangulation

• Green face: a face with one T-junctions

• Red face: a face with more than one T-Junction

• Bisect for green

• Quadrisect for red

• Complicated scheme

R. E. Bank, A. H. Sherman, and A. Weiser. Refinement algorithms and data structures for regular local mesh refinement. Scientific Computing, volume 1, pages 3-17, 1983.

Page 25: Computer-Generated Medical, Technical, and Scientific Illustration

Balanced mesh: Red-Green TriangulationBalanced mesh: Red-Green Triangulation

Page 26: Computer-Generated Medical, Technical, and Scientific Illustration

Repair of the geometry: restricted meshRepair of the geometry: restricted mesh

To have the same shape as the regular, odd and even vertices must be in the same subdivision depth as their neighbors.

Page 27: Computer-Generated Medical, Technical, and Scientific Illustration

Red-Green + Restricted mesh methodRed-Green + Restricted mesh method

Page 28: Computer-Generated Medical, Technical, and Scientific Illustration

Red-Green + Restricted mesh methodRed-Green + Restricted mesh method

Page 29: Computer-Generated Medical, Technical, and Scientific Illustration

Red-Green + Restricted mesh methodRed-Green + Restricted mesh method

Page 30: Computer-Generated Medical, Technical, and Scientific Illustration

Red-Green + Restricted mesh methodRed-Green + Restricted mesh method

Page 31: Computer-Generated Medical, Technical, and Scientific Illustration

Our approach: Incremental Adaptive Loop SubdivisionOur approach: Incremental Adaptive Loop Subdivision

• [Pakdel and Samavati 2004]

• Begin with a wider neighbourhood of the the selected area

• Use simple bisection method outside the extended area

Page 32: Computer-Generated Medical, Technical, and Scientific Illustration

Incremental change of the resolutionIncremental change of the resolution

Anti-aliased result

Page 33: Computer-Generated Medical, Technical, and Scientific Illustration

ComparisonComparison

Page 34: Computer-Generated Medical, Technical, and Scientific Illustration

Wider extensionsWider extensions

• Smoother transition from coarse to fine

Page 35: Computer-Generated Medical, Technical, and Scientific Illustration

Example: sharp featuresExample: sharp features

Use incremental subdivision just for creases

Page 36: Computer-Generated Medical, Technical, and Scientific Illustration

ExampleExample

Regular simple bisection red-green/restricted incremental

Page 37: Computer-Generated Medical, Technical, and Scientific Illustration

ExampleExample

Page 38: Computer-Generated Medical, Technical, and Scientific Illustration

Shape analysis

Measures/Regions

Drawing directions

Light silhouettes

Region refinement

Stroke stylization

Rendering

3D model

User

Automatic

Interactive

Precise Ink Drawing System[[Sousa et al 2003Sousa et al 2003, , 20042004, , Pakdel and Samavati 2004Pakdel and Samavati 2004]] Precise Ink Drawing System[[Sousa et al 2003Sousa et al 2003, , 20042004, , Pakdel and Samavati 2004Pakdel and Samavati 2004]]

Page 39: Computer-Generated Medical, Technical, and Scientific Illustration

The basic idea of our approach is illustrated. Users are able to refine the areas that they feel are important while leaving other areas unchanged.

Page 40: Computer-Generated Medical, Technical, and Scientific Illustration

Drawing steps session for a heart model (1619 triangles). Starting with slope steepness over the original mesh (1), the user selects threshold values for slope steepness (purple) (2), the system computes overall area to be refined (green) (3) and target triangles are subdivided with edges rendered as individual strokes (4).

(1) (2) (3) (4)

Page 41: Computer-Generated Medical, Technical, and Scientific Illustration

Other regions are then thresholded (5, 6), with two subsequent subdivisions and rendering (7, 8).

(5) (6) (7) (8)

Page 42: Computer-Generated Medical, Technical, and Scientific Illustration

Original mesh Final mesh

Page 43: Computer-Generated Medical, Technical, and Scientific Illustration

Preprocess

Stroke Directional FieldsStroke Directional Fields

Method 1: Method 1: principal directions principal directions of curvatureof curvature

D. H. Eberly3D Game Engine Design : 3D Game Engine Design : A Practical ApproachA Practical Approachto Real-Time Computer Graphicsto Real-Time Computer GraphicsMorgan Kaufmann, 2000.

Page 44: Computer-Generated Medical, Technical, and Scientific Illustration

Preprocess

Stroke Directional FieldsStroke Directional Fields

Method 2: Method 2: simple tangent simple tangent space directionsspace directions

Page 45: Computer-Generated Medical, Technical, and Scientific Illustration

(a) (b)

Page 46: Computer-Generated Medical, Technical, and Scientific Illustration

(c)

Page 47: Computer-Generated Medical, Technical, and Scientific Illustration
Page 48: Computer-Generated Medical, Technical, and Scientific Illustration

ConclusionsConclusions

• Progressive refinement of 3D meshes of any given resolution at particular shape measures thresholds

• Good rendering rates

• Visual quality

• Frame coherence

• Artistic freedom

• Few parameters