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) / 下载次数 3728
http://forums.netpad.net.cn/attachment.php?aid=19242&k=594dd8febc99d806f795efe0cec499e6&t=1779820004&sid=34gSuU
作者: 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) / 下载次数 2655
http://forums.netpad.net.cn/attachment.php?aid=19244&k=57a4dc411d6ad38b8164893a1ee9ff28&t=1779820004&sid=34gSuU


作者: 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) / 下载次数 2608
http://forums.netpad.net.cn/attachment.php?aid=19249&k=877189a05690663730f2eb979d26eb98&t=1779820004&sid=34gSuU



附件: [类似谢氏三角] 四面体分形.gsp (2012-12-30 14:17, 19.94 KB) / 下载次数 3499
http://forums.netpad.net.cn/attachment.php?aid=19250&k=a1ce888328dcc9d2a4929371b998ce04&t=1779820004&sid=34gSuU
作者: 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) / 下载次数 2586
http://forums.netpad.net.cn/attachment.php?aid=19262&k=c03af3bca3bf92c0b59dabfe78891e52&t=1779820004&sid=34gSuU



附件: 3D-XX-IFS分形.gsp (2012-12-31 18:47, 16.37 KB) / 下载次数 3751
http://forums.netpad.net.cn/attachment.php?aid=19263&k=13dad15cad0ee42fc01ec9d50845c0a4&t=1779820004&sid=34gSuU




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