A Few Good Lines: Suggestive Drawing of 3D Models
A Few Good Lines: Suggestive Drawing of 3D Models
Models
Mario Costa Sousa
Przemyslaw Prusinkiewicz
Abstract
We present a method for rendering 3D models in the traditional linedrawing style used in
artistic and scientific illustrations. The goal is to suggest the 3D shape of the object using a
small number of lines drawn with carefully chosen line qualities. The system combines
several known techniques into a simple yet effective nonphotorealistic line renderer. Feature
edges related to the outline and interior of a given 3D mesh are extracted, segmented, and
smoothed, yielding chains of lines with varying path, length, thickness, gaps and enclosures.
The paper includes sample renderings obtained for a variety of models.
Reference
Mario Costa Sousa and Przemyslaw Prusinkiewicz. A few good lines: Suggestive drawing of 3D models.
Proceedings of Eurographics 2003: Computer Graphics Forum 22 (3), pp. 381390.
Przemyslaw Prusinkiewicz
Abstract
We present a method for rendering 3D models in the traditional line-drawing style used in artistic and scientific
illustrations. The goal is to suggest the 3D shape of the objects using a small number of lines drawn with carefully
chosen line qualities. The system combines several known techniques into a simple yet effective non-photorealistic
line renderer. Feature edges related to the outline and interior of a given 3D mesh are extracted, segmented, and
smoothed, yielding chains of lines with varying path, length, thickness, gaps, and enclosures. The paper includes
sample renderings obtained for a variety of models.
1. Introduction
Humans interpret line drawings remarkably well, being able
to perceive and understand 3D object structures from very
sparse collections of lines 1 . This is the main reason for the
expressive power of line drawings that are used by artists and
scientific illustrators to effectively represent the form of 3D
objects. Such drawings are termed pure line drawings if they
consist entirely of lines that define the edges of shapes and
use no tones 2, 3 (figs. 1, 2, 3.)
In this paper, we present an automated method for direct
non-photorealistic rendering of 3D triangle meshes as line
drawings. Our system reproduces the artistic principle of
suggestion or indication, in which lines are used with economy, and the expressive power of illustrations results from
engaging the imagination of the viewer rather than revealing all details of the subject. We focus on the loose drawing
style 4 , in which lines are made with gestures that convey a
spontaneous rather than a carefully constructed look.
To recreate this style in NPR, we consider three elements
of illustrators thinking 2, 3, 4, 5 :
Shape feature selection, or where to place the lines? Before
starting to draw, illustrators thoroughly study the subject to
be rendered, focusing on the geometric forms that give the
subject its overall shape. They consider both the lines that
define the outline of the object (silhouettes and boundaries)
and features that define the interior volumes and surfaces,
such as creases, ridges, and valleys.
c The Eurographics Association and Blackwell Publishers 2003. Published by Blackwell
Publishers, 108 Cowley Road, Oxford OX4 1JF, UK and 350 Main Street, Malden, MA
02148, USA.
Line economy control, or how many lines to place? Illustrators control the amount of lines to be placed by following
the principle that less in a drawing is not the same as less
of a drawing 3 . Extraneous details are visually eliminated,
reducing the subject to simple lines depicting key shape features.
Linear phrasing, or how to draw the lines? A significant
challenge for the illustrator is to achieve a 3D sense in a
drawing, given that a line is by nature a 2D trace of an
lines with lines that are not completely closed, but nevertheless give a fair idea of the intended shape. Enclosures
are typically defined by combining the connectives shown
in Figure 4(a). They may include gaps in otherwise continuous linear sequences (fig. 2, in particular the drawings of
the plants and woman), and sequences in which the gaps are
longer than the visible segments.
(a)
(b)
(c)
(d)
(e)
(f)
(g)
(h)
Figure 2: Examples of real pen-and-ink pure line drawings: flowers 7 , a French horn 6 , and a woman 4
The term phrase comes from a musical analogy: just as the musician phrases the shape of the melodic material, so too does the
illustrator who phrases the lines 3 . The medium of choice is usually
pen-and-ink with flexible nibs, where all sorts of qualities may be
suggested at different parts of the lines track.
2. Previous work
This paper falls into one of the main areas of NPR, namely
the creation of line drawings. More specifically, it deals with
the automatic rendering of geometric models using a small
number of stylized feature lines. The importance of such rendering was initially pointed out by Winkenbach and Salesin 9
and Strothotte et al. 10 . Below, we review object-space methods in which, as in our method, the NPR pipeline directly
accesses the geometry of the 3D objects, as opposed to postprocessing 2D images. We consider these methods from five
points of view.
(1) Line economy control. Strothotte et al. 10 presented a
system that allows the user to interactively control the level
of detail in selected areas of the rendered image, by increasing or decreasing the number of strokes. The system
c The Eurographics Association and Blackwell Publishers 2003.
Cap and pit edges are situated in convex and concave regions of surfaces, respectively (fig. 5) . In our system, cap
edges have both vertices situated in convex areas, and pit
edges have both vertices in concave areas.
Turk 27
Figure 5: Results of the two methods for extracting cap and pit
edges, implemented in our system. Top row: the extraction of caps
(blue) and pits (red) typically results in the formation of feature
regions. They consist of triangles with all three edges being feature
edges. Bottom row: the networks of cap and pit edges.
Curvature Estimation
Curvature estimation of a triangulated mesh is a non-trivial
problem 29 . Furthermore, it is not obvious what type of curvature is most appropriate for extracting regions relevant to
our application. We experimented with two methods: the first
method, proposed by Turk 27 , finds approximate maximum
curvature; the second method, by Nomura and Hamada 28 ,
selects concave and convex regions using a method related
to the calculation of mean curvature. Examples of regions
selected using both methods are shown in fig. 5. Both methods led to useful practical results.
3.2. Building chains of feature edges
The edge classification process results in many disconnected
feature edges. We now link them together to create chains
of line segments with the same features. To this end, we
build five graphs G, one for each type of feature edges. These
graphs can be undirected or directed; in the latter case, we
A problem with extracting silhouette curves from polygon
meshes is that the resulting curves may be jagged, because
the meshes are just approximations of the underlying continuous surfaces. Although methods to address this problem exist
(e.g. 13, 16, 18, 30 ), we have not implemented them, because we observed that the silhouette artifacts do not compromise the quality of
our results.
B UILD -A LL -C HAINS(G)
1 set o f chains EMPTY
2 while true
3
do sources FindSources(G)
4
if sources = EMPTY
5
then return set o f chains
6
while sources 6= EMPTY
7
do vs PickRandomSource(sources)
8
C BuildSingleChain(vs , G)
9
insert C in set o f chains
10
for all vertices vi sources
11
do if vi .outdegree = 0
12
then remove vi f rom sources
B UILD -S INGLE -C HAIN(vs , G)
1 chain EMPTY ; vi vs ; insert vi in chain
2 while true
3
do (v j , ek ) PickRandomPath(vi , G)
4
if v j = EMPTY
5
then return chain
6
insert v j in chain
7
update indegree and outdegree o f vi and v j
8
f lag edge ek as visited
9
vi v j
In line 3 of the second algorithm, PickRandomPath() returns
(v j , ek ) (EMPTY, EMPTY ) if vi .outdegree = 0, which
means that a complete chain has been built (i.e. we have
reached a sink vertex); otherwise it returns any pair (v j , ek )
where ek has not yet been visited. In line 7, for directed
graph, we subtract one unit from the outdegree of vi and one
unit from the indegree of v j . For undirected graphs, we subtract one unit from both the indegree and the outdegree of vi
and v j .
c The Eurographics Association and Blackwell Publishers 2003.
graph. Boxes surround the vertices that are part of the chain.
3.5. Rendering
(a)
(b)
(c)
(c)
Figure 8: Line weighting (subsec. 3.3) and smoothing (subsec. 3.4) processes: (a) chains C of feature edges (in red) used in subsequent extrude
operations. The pairs ( C, C ) (represented in 2D in (b)) define 3D ribbons across the mesh (c). (d) Curve fitting smoothes the 3D ribbons,
creating the visual effects of ink fluidity and linear connectives/enclosure.
rendering time was below one second (see Table 1 for details). The results show that our approach produces images
similar to line drawings executed by hand, as found in artistic
and scientific illustrations. To evaluate the system we chose
representative pure line drawings (such as the ones from Figure 2) and used our system to duplicate the effect. Our evaluation is thus conducted by observing how close to the original drawings the computer-generated ones are.
Model
#edges
s+b
s+b+c
all 27
all 28
Mans head
Venus
Galleon
Bunny
Beethoven
Cow
Fireweed
Sunflower
Hyacinth
Castle
Car
2,043
2,127
7,047
7,473
7,663
8,706
13,421
14,784
17,141
19,675
24,969
1
< 1
1
3
3
2
13
22
20
20
19
1
< 1
3
4
5
4
19
31
31
32
42
1
< 1
6
5
9
9
31
39
56
59
95
1
< 1
6
4
9
11
30
39
47
60
95
our system. User selects features for display, adjusts their thresholds and controls the stroke attributes of weight and curve order. In
this particular example, we start with the Beethoven mesh, add silhouettes, and gradually increase the number of crease, cap and pit
strokes placed in the model.
(a) Gd
Gd
Gd
Gu
Gu
:
:
:
:
nc
lc
nc
lc
f1
142
163
27
273
(b) Gu
f2
178
141
167
142
f 3m1
350
438
280
451
f 4m1
250
264
186
275
f 3m2
340
386
244
395
and curve order control (fig. 11, left). This is the reason why
directed graphs are more appropriate to reproduce a loose
drawing style, with larger distributions of gaps and connectives relations along the lines. Undirected graphs result in a
tighter drawing where lines seem to be more specifically
placed with fewer gaps along them, especially at the silhouettes (fig. 11, right).
Stroke path variations. We use a randomized approach for
the chains source and path selection. This results in a large
variation of path configurations, but does not have a significant impact on the overall quality of the final renderings.
For example, consider the images shown in Figure 12, which
were obtained using the same dihedral threshold angle for
extracting creases. Although the extracted paths are different (especially in the hair), all three images make a similar
overall impression.
Figure 13 shows how our systems can be used for botanical illustration. Notice how a few strokes with proper weight
suggest complex arrangements of plant elements, including different petal shapes and levels of branching. This figure also shows how different perceptions of shape can be
achieved by rendering feature edges individually and in
combination.
The final set of images (fig. 14) illustrates the operation of
our system for four different models. In the galleon, observe
how strokes suggest the overall shape of the hull. Crease and
cap strokes suggest folds on the sail. In the cow, enclosures
suggest key features of the head, the concave junction of
c The Eurographics Association and Blackwell Publishers 2003.
front leg with body, the roundness of the belly, and concave
regions at the back. In the castle, notice the cluster of lines
suggesting the arches, the single lines for the walls, and a
few lines suggesting the pointed roof of the tower. Finally,
in the car, notice the suggestion of the shape of the wheels,
the hood, and the foot stand by the door.
5. Conclusions and future work
This paper presents a 3D NPR method that automatically
reproduces traditional pure line drawings. The simple combination of chaining, weighting, and smoothing applied to
outline and interior feature edges of an input mesh reproduces the effects of ink fluidity, line weighting, connectives
and enclosure, and leads to results adding three-dimensional
shape suggestion using selected feature lines. This conforms
to the main characteristics of loose line drawing style using
traditional linear phrasing techniques. The illustrative power
of the resulting images depends on the interplay between the
depicted lines and the imagination of the observer.
Future improvements include extending our system with
other algorithms for shape feature analysis (including alternative curvature estimation methods). It would also be
useful to have automatic selection of threshold values assigned in different regions of the model to allow, for instance, better control of the level of detail (in terms of line
quantities and styles) in selected regions of the model. Another interesting path to explore is the reproduction of additional connectives/enclosure effects following the patterns
found in traditional drawings used in artistic and scientific
illustrations. The criteria we use to judge the quality of the
non-photorealistic rendering is solely based on observations
of how close to the original drawings are to the computergenerated ones. It is important to conduct more formal evaluations and user studies to provide quality pure line drawing
tools for illustrators in art and science.
Figure 13: Results for botanical illustrations: fireweed model shown in full view (left) and four drawing steps (top) showing (from left to
right) silhouettes, boundaries, silhouettes + boundaries, and silhouettes + creases + caps. Bottom: sunflower and hyacinth.
Acknowledgements
We would like to thank Martin Fuhrer for his help generating plant models, and Brian Wyvill, Patricia Rebolo Medici,
Desmond Rochfort, Alan Dunning, and Peter MacMurchy
for the useful discussions and advice. We also thank the
anonymous reviewers for their careful and valuable comments and suggestions. This research was supported in part
by Discovery Grants from the Natural Sciences and Engineering Research Council of Canada.
References
1.
5.
6.
7.
8.
K. West, How to draw plants: the techniques of botanical illustration. The Herbert Press Limited, London, (1983).
9.
G. Winkenbach and D. H. Salesin, Computer-generated penand-ink illustration, in Proc. of SIGGRAPH 94, pp. 91100,
(1994).
10.
2.
3.
P. Rawson, Drawing.
(1987).
11.
4.
L. Markosian, M. Kowalski, S. Trychin, L. Bourdev, D. Goldstein, and J. Hughes, Real-time nonphotorealistic rendering,
in Proc. of SIGGRAPH 97, pp. 415420, (1997).
12.
Figure 14: Examples of drawings generated using our system: a galleon, a cow, a car, and a castle.
P. Sander, X. Gu, S. Gortler, H. Hoppe, and J. Snyder., Silhouette clipping, in Proc. of SIGGRAPH 00, pp. 327334,
(2000).
19.
A. Girshick, V. Interrante, S. Haker, and T. Lemoine, Line direction matters: an argument for the use of principal directions
in 3d line drawings, in Proc. of NPAR 00, pp. 4352, (2000).
20.
C. Rossl, L. Kobbelt, and H. Seidel, Line art rendering of triangulated surfaces using discrete lines of curvature, in Proc.
of WSCG 00, pp. 168175, (2000).
16.
21.
17.
13.
14.
15.
M. Kaplan, B. Gooch, and E. Cohen, Interactive artistic rendering, in Proc. of NPAR 00, pp. 6774, (2000).
23.
24.
T. Isenberg, N. Halper, and T. Strothotte, Stylizing silhouettes at interactive rates: From silhouette edges to silhouette
strokes, in Proc. of EuroGraphics 02, pp. 249258, (2002).
25.
26.
27.
G. Turk, Re-tiling polygonal surfaces, in Proc. of SIGGRAPH 92, pp. 5564, (1992).
28.
29.
30.
W. Correa, R. Jensen, C. Thayer, and A. Finkelstein, Texture mapping for cel animation, in Proc. of SIGGRAPH 98,
pp. 435446, (1998).
31.
32.
33.