Board logo

标题: 三维IFS [打印本页]

作者: changxde    时间: 2012-12-29 15:32     标题: 三维IFS

三维IFS树.gsp (25.11 KB)

附件: 三维IFS树.gsp (2012-12-29 15:32, 25.11 KB) / 下载次数 3971
http://forums.netpad.net.cn/attachment.php?aid=19242&k=71ab82b672d4cc4a16dd684f06d9ee7c&t=1792538493&sid=tfNeh8
作者: changxde    时间: 2012-12-29 19:16

本想用方老师inRm3D 做这个,但我试了一下,未果,最后还是用gsp。
作者: changxde    时间: 2012-12-29 19:20

3.JPG

camera position(0.91,0.5,-0.7) direction(-0.78,0,0.62) vertical(0,1,0) fov(50);
light color(0,2,0) position(1,1,-3);
light color(2,2,0) position(3,-1,-1);
ambient(1,1,1,0.1);
background(0,0,0,0);
f1 := scale(0.1,0.2,0.1);
f2 := translate(0,1,0) rotate(0,1,0,144) scale(0.9) translate(0,-1,0);
f3 := translate(0,0.1,0) scale(0.3) rotate(0,0,1,60);
build s = (f1+f2+f3)s;

这是 IFS Builder 3d 软件的代码如何解读?

图片附件: 3.JPG (2012-12-29 19:20, 16.71 KB) / 下载次数 2874
http://forums.netpad.net.cn/attachment.php?aid=19244&k=209cfce2493e5b43978ac503defb0dd6&t=1792538493&sid=tfNeh8


作者: xiaongxp    时间: 2012-12-30 10:46

1# changxde
等了很久才打开,我这电脑显卡对3D不给力。
作者: changxde    时间: 2012-12-30 14:17

ifs4.gif
四面体分形.gsp (19.94 KB)

图片附件: ifs4.gif (2012-12-30 14:17, 71.96 KB) / 下载次数 2815
http://forums.netpad.net.cn/attachment.php?aid=19249&k=cf7765038f893a1e9dfcd6a40e0b75ec&t=1792538493&sid=tfNeh8



附件: [类似谢氏三角] 四面体分形.gsp (2012-12-30 14:17, 19.94 KB) / 下载次数 3746
http://forums.netpad.net.cn/attachment.php?aid=19250&k=886f30152c4e1c9c5c8bfe5b5ad84de0&t=1792538493&sid=tfNeh8
作者: changxde    时间: 2012-12-31 18:47

3.gif
3D-XX-IFS分形.gsp (16.37 KB)

图片附件: 3.gif (2012-12-31 18:47, 122.01 KB) / 下载次数 2816
http://forums.netpad.net.cn/attachment.php?aid=19262&k=def9d5009c164f687a1f16c237324aab&t=1792538493&sid=tfNeh8



附件: 3D-XX-IFS分形.gsp (2012-12-31 18:47, 16.37 KB) / 下载次数 3994
http://forums.netpad.net.cn/attachment.php?aid=19263&k=59dcf1fc4155894d084fae96132496c1&t=1792538493&sid=tfNeh8




欢迎光临 inRm3D: 画板论坛 (http://forums.netpad.net.cn/) Powered by Discuz! 7.0.0