/[gzz]/gzz/Documentation/Manuscripts/Irregu/irregu.tex
ViewVC logotype

Diff of /gzz/Documentation/Manuscripts/Irregu/irregu.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by tjl, Tue Nov 12 13:43:26 2002 UTC revision 1.30 by jvk, Tue Nov 12 14:48:59 2002 UTC
# Line 268  Edge shapes: attached and sprinkled and Line 268  Edge shapes: attached and sprinkled and
268    
269  \subsection{Algorithm ``How?''}  \subsection{Algorithm ``How?''}
270    
271  Surface defined by $(x, y, f(x,y))$.  The jagged shape is defined by a surface $(x, y, f(x,y))$,
272  The jagged version of an edge in the $z=0$ plane is obtained by first  where $-1 \le f(x,y) \le 1$ and $(x,y,0)$ is paper location.
273  intersecting another plane going through the edge with the surface  The shape of an edge torn along a line is obtained by intersecting
274  and then ``projecting'' the intersection to the $z=0$ plane.  the surface with a plane cutting through the tearing line.
275  XXX: projecting so that the desired ``shape width'' is obtained.  The intersection is then rotated around the tearing line until
276    it is horizontal and stretched so that $z = -1$ and $z = 1$ lines
277    of the cutting plane correspond to the desired maximum positive
278    and negative displacements of the edge.
279    
280  If the cutting plane is normal to $z=0$ plane, the edge is attached.  If the cutting plane is vertical, the shape of the torn edge is attached.
281  Otherwise, the edge may be sprinkled.  If the angle between $z = 0$ plane and the cutting plane is
282    small enough, the plane will cut off maxima of the surface,
283    producing a sprinkeld shape.
284    
285  \section{Hardware-accelerated implementation}  \section{Hardware-accelerated implementation}
286    

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26