Computer Animation - PowerPoint PPT Presentation

1 / 27
About This Presentation
Title:

Computer Animation

Description:

Pen-and-ink illustration. Painterly rendering(brush strokes ... Pen-and-Ink Illustration Pipeline. Pen-and-ink illustration pipeline elements from the 3D ... – PowerPoint PPT presentation

Number of Views:22
Avg rating:3.0/5.0
Slides: 28
Provided by: csW6
Category:

less

Transcript and Presenter's Notes

Title: Computer Animation


1
Computer Animation
  • Non-Photorealistic Animation Rendering

2
Overview
  • Introduction.
  • Outlines extraction
  • Pen-and-ink illustration.
  • Painterly rendering(brush strokes
  • Impressionist, expressionist, watercolor.
  • Technical illustration.

3
Artistic
4
Animations
5
Comprehensibility
6
Techniques Classifications
  • Dimension
  • 2D (paint systems).
  • 2D/ 21/2D post-processing.
  • 3D .
  • Degree of user interaction
  • Artistic work (interaction).
  • Automatic work.

7
Outlines Extraction in Image Space
  • Let a 3D graphics package do the work.
  • Deal with the result image.
  • Calculate the edges and render them.

8
Outlines Extraction in Image SpaceDepth Map
  • Detect C0 surface discontinuities.
  • Generate a depth map (Z-Buffer).

9
Outlines Extraction in Image SpaceNormal Map
  • Detect C1 discontinuities.
  • 2nd order differential (noisy).
  • Surface normal map calculation.
  • Can be generated using a general graphics
    package
  • (R,G,B) image -gt (x,y,z) Normal.

10
Outlines Extraction in Image SpaceDepthNormal
Map (C0C1)?
11
Outlines Extraction in Image SpaceProblems
  • We lose the 3D information.

12
Outlines Extraction in Object Space
  • More involved than the image space.
  • Higher precision curves
  • Silhouettes.
  • Surface boundaries.
  • Creases.
  • Self-intersections

13
Silhouette Extraction in Object Space
  • What is a silhouette ?
  • Polygonal meshes Edges that connect back and
    front Faces.
  • Smooth surfaces (e.g. NURBS) Points xi that
    satisfy

14
Silhouette Extraction in Object SpaceSmooth
Surfaces
15
Outlines Extraction in Object SpaceComputing
Visibility
  • Split the curves where visibility potentially
    changes.
  • Ray test

16
Pen-and-Ink Illustration
  • The pen-and-ink techniques
  • Strokes
  • Tone and textures
  • Outlines

17
Pen-and-Ink Illustration Pipeline
  • Pen-and-ink illustration pipeline elements from
    the 3D graphics pipeline
  • 3D model. Textures assigned to the 3D surfaces.
  • Lighting model Phong model.
  • Visible surface algorithm (BSP-tree).
  • Shadow algorithm.

18
Pen-and-Ink Illustration Pipeline
  • Pen-and-ink illustration pipeline differences
    from the 3D pipeline
  • 2D spatial subdivision.
  • Rendering of Textures and Tone.
  • Strokes Clipping.
  • Outlining

19
Pen-and-Ink IllustrationStrokes
  • Path, P(u) 0,1 ?? ?2 .
  • Nib shape, N(p), p is the pressure.
  • Character function, Cw(u) and Cp(u) .
  • Stroke, S (P(u) Cw(u)) N(Cp(u)).

20
Painterly Rendering Brush Strokes
  • Position (Cx,Cy) (float)?
  • Length L ?l
  • Thickness R ?r
  • Orientation ??????
  • Color bilinear interpolation ((r,g,b)
    (?r,?g,?b))?Int
  • Strokes order randomize
  • Spacing distance constant

21
Painterly RenderingVideo Animations
  • Optic flow calculation.
  • Move the Strokes.
  • Delaunay triangulation.
  • Add Strokes.
  • Eliminate Strokes.
  • Order New and Old strokes.

22
Painterly RenderingBrush Strokes by Layers
  • Varying thicknessradii R1 ... Rn
  • Painting by layers
  • Reference image
  • Gaussian Filter,?f?Ri.
  • Generate strokes.
  • Random rendering.

23
Painterly RenderingLong Curved Brush Strokes
  • Stroke (B-Spline,Color,R).
  • Current B-spline control point (xi,yi).
  • Distance R normal to Gi.
  • Termination when
  • Different color.
  • Length is reached.

24
Painterly RenderingRendering Styles
  • Impressionism
  • Expressionism
  • Pointillism
  • Watercolor

25
Technical Illustration
  • Edge and lines black curves.
  • Diffuse objects shaded with warmth and coolness
    of color indicatives.
  • Shadows usually not included.
  • Metal objects shaded as if very anisotropic.

26
Technical IllustrationLines
  • Bold External lines.
  • Thin Interior lines.
  • Variation along a single line emphasize
    perspective.
  • With shading white lines suggesting
  • Highlights.

27
Technical IllustrationShading
  • Warm Colors red, orange and yellow.
  • Advance.
  • Temperate red-violets and yellow-green.
  • Cold Colors blue, violet and green.
  • Recede.
Write a Comment
User Comments (0)
About PowerShow.com