1 / 46
文档名称:

计算机图形学分形几何双语教学.ppt

格式:ppt   大小:3,582KB   页数:46页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

计算机图形学分形几何双语教学.ppt

上传人:石角利妹 2022/4/9 文件大小:3.50 MB

下载得到文件列表

计算机图形学分形几何双语教学.ppt

相关文档

文档介绍

文档介绍:计算机图形学分形几何双语教学
*
第1页,共46页,编辑于2022年,星期三
Chapter 8 Fractal Geometry 分形几何
*
第2页,共46页,编辑于2022年,星期三
8.… … …
1/n n 1
1=N·r1
*
第16页,共46页,编辑于2022年,星期三
⑵square (s=1)
scale number area
(r) (N) (s)
1/2 4 1
1/3 9 1
… … …
1/n n2 1
1=N·r2
*
第17页,共46页,编辑于2022年,星期三
⑶ a cube (v=1)
scale number volume
(r) (N) (s)
1/2 23 1
1/3 33 1
… … …
1/n n3 1
1=N·r3
*
第18页,共46页,编辑于2022年,星期三
r — scaling factor
N — the number of subparts
N·rD=1 D=㏒N/ ㏒(1/r)
*
第19页,共46页,编辑于2022年,星期三
*
第20页,共46页,编辑于2022年,星期三
· initiator — start with a given geometric shape
Geometric Construction of Deterministic Self-Similar Fractals
· generator — subparts of the initiator are replaced with a pattern
*
第21页,共46页,编辑于2022年,星期三
Basic idea: construction of the von koch
each segment in (1) is replaced by an exact copy of the entire figure, shrunk by a factor of 3. The same process is applied to the segments in (2) to generate those in (3).
*
第22页,共46页,编辑于2022年,星期三




600
-1200
600
(xs , ys)
Angle :
>0 counterclockwise direction
<0 clockwise direction
*
第23页,共46页,编辑于2022年,星期三
global variables:
int th; current value of
float x, y; x, y coordinates
float d; the length of each segment
d=L/mn m: 等分数
*
第24页,共46页,编辑于2022年,星期三
Void Generate – koch (n) //n : recursive depth
{ if (n=0)
{ x+=d*cos (th*)
y+