221 |
|
|
222 |
\subsection{A shape with the correct type of motion} |
\subsection{A shape with the correct type of motion} |
223 |
|
|
224 |
|
Surface defined by $(x, y, f(x,y))$ stored in a ``displacement map'' texture. |
225 |
|
The jagged version of an edge in the $z=0$ plane is obtained by first |
226 |
|
intersecting another plane going through the edge with the surface |
227 |
|
and then ``projecting'' the intersection to the $z=0$ plane. |
228 |
|
XXX: projecting so that the desired ``shape width'' is obtained. |
229 |
|
|
230 |
|
If the cutting plane is normal to $z=0$ plane, the edge is attached. |
231 |
|
Otherwise, the edge may be sprinkled. |
232 |
|
|
233 |
|
--- |
234 |
|
|
235 |
Drawing a shape with the correct properties is relatively |
Drawing a shape with the correct properties is relatively |
236 |
simple: drawing a single polygon with $\alpha=0$ at $x=0$ and |
simple: drawing a single polygon with $\alpha=0$ at $x=0$ and |
237 |
$\alpha=1$ at $x=1$, using ALPHA\_TEST with the cutoff set close to one, |
$\alpha=1$ at $x=1$, using ALPHA\_TEST with the cutoff set close to one, |