121 |
in all cases, the irregular shape of the viewport matches the shape of an |
in all cases, the irregular shape of the viewport matches the shape of an |
122 |
actual irregular object |
actual irregular object |
123 |
|
|
|
OpenGL allows non-rectangular viewports through the stencil buffer |
|
|
|
|
124 |
--- |
--- |
125 |
|
|
126 |
In diagrams and engineering drawings, tearing... |
In diagrams and engineering drawings, tearing... |
166 |
|
|
167 |
Saito, Takahashi -- *the* reference (Image-space algorithm) - Computer Graphics Vol24 no4 %\cite{saito90comprehensible} |
Saito, Takahashi -- *the* reference (Image-space algorithm) - Computer Graphics Vol24 no4 %\cite{saito90comprehensible} |
168 |
|
|
169 |
CARTOONS, SPEECH BUBBLES and FRAMES!! |
Examples from illustration and technical drawing/design: |
170 |
NEWSPAPERS, TORN ARTICLES |
silhouette and feature line rendering\cite{saito90comprehensible}, |
171 |
|
cool to warm and metallic shading\cite{gooch98nonphotorealistic}, |
172 |
|
fillets\cite{lukka02fillets}. |
173 |
|
|
174 |
|
% CARTOONS, SPEECH BUBBLES and FRAMES!! |
175 |
|
% NEWSPAPERS, TORN ARTICLES |
176 |
|
|
177 |
Contribution of this article |
Contribution of this article |
178 |
|
|
356 |
|
|
357 |
\section{Hardware-accelerated implementation} |
\section{Hardware-accelerated implementation} |
358 |
|
|
359 |
|
OpenGL allows non-rectangular viewports through the stencil buffer |
360 |
|
|
361 |
There are two basic alternatives for drawing the shape: either |
There are two basic alternatives for drawing the shape: either |
362 |
by using geometry to draw the jagged edge segment by segment, |
by using geometry to draw the jagged edge segment by segment, |
363 |
or by using a texture to draw a longer stretch at one time. |
or by using a texture to draw a longer stretch at one time. |