找回密码
 注册
搜索
查看: 34533|回复: 32

[个人作品] 回复,关于DLA生形

[复制链接]
发表于 2011-5-22 03:41:19 | 显示全部楼层 |阅读模式
本帖最后由 panhao1 于 2011-5-23 00:42 编辑 123.jpg 121.jpg 这是一个标准的隐式曲面的东西 首先我试了下元球~ processing做的
1.jpg
2.jpg
3.jpg
 楼主| 发表于 2011-5-22 03:42:27 | 显示全部楼层
本帖最后由 panhao1 于 2011-5-22 03:55 编辑 仔细一看并不是很像 所以换了一个 参考代码给大家 4.jpg 5.jpg /** * AnimatedNoise demo showing how to utilize the IsoSurface class to efficiently * visualise volumetric data, in this case using animated 4D SimplexNoise. The demo also * shows how to save the generated mesh as binary STL file (or alternatively in * OBJ format) for later use in other 3D tools/digital fabrication. * * I've planned further classes for the toxi.geom.volume package to easier draw * and manipulate volumetric data. * * Controls: * Click mouse button to toggle rendering style between shaded/wireframe. * Press 's' to save generated mesh as STL file */ /* * Copyright (c) 2010 Karsten Schmidt * * This demo & library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * http://creativecommons.org/licenses/LGPL/2.1/ * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ import toxi.geom.*; import toxi.geom.mesh.*; import toxi.volume.*; import toxi.math.noise.*; import processing.opengl.*; int DIMX=64; int DIMY=64; int DIMZ=64; float ISO_THRESHOLD = 0.1; float NS=0.03; Vec3D SCALE=new Vec3D(1,1,1).scaleSelf(300); boolean isWireframe=false; float currScale=1; VolumetricSpace volume=new VolumetricSpace(SCALE,DIMX,DIMY,DIMZ); IsoSurface surface=new IsoSurface(volume); TriangleMesh mesh; void setup() { size(1024,576,OPENGL); } void draw() { float[] volumeData=volume.getData(); // fill volume with noise for(int z=0,index=0; z
回复

使用道具 举报

发表于 2011-5-22 07:57:06 | 显示全部楼层
谢谢回复。。。至于网站问题。目前f#r¥e@e!g*ate用不了,找不到了。求f#r¥e@e!g*ate
回复

使用道具 举报

发表于 2011-5-22 10:01:42 | 显示全部楼层
随机隐式曲面。。。。
回复

使用道具 举报

发表于 2011-5-22 12:07:42 | 显示全部楼层
牛人{:3_46:}{:3_46:}
回复

使用道具 举报

发表于 2011-5-22 12:29:30 | 显示全部楼层
很不错啊,太强啦
回复

使用道具 举报

发表于 2011-5-22 14:44:22 | 显示全部楼层
看不懂。。。哈哈。
回复

使用道具 举报

发表于 2011-5-23 09:22:30 | 显示全部楼层
努力学习中。。。。。。
回复

使用道具 举报

发表于 2011-5-23 10:25:21 | 显示全部楼层
这个很屌,楼主是学什么的,怎么看的懂这么多代码?
回复

使用道具 举报

发表于 2011-5-23 11:29:47 | 显示全部楼层
so interesting
回复

使用道具 举报

发表于 2011-5-23 13:02:48 | 显示全部楼层
厉害厉害...
回复

使用道具 举报

发表于 2011-5-23 17:19:51 | 显示全部楼层
很给力
回复

使用道具 举报

 楼主| 发表于 2011-5-23 19:55:03 | 显示全部楼层
13# holonking 师(思)父终于上线了 我们学校艺术设计系竟然开了processing的课
回复

使用道具 举报

发表于 2011-5-28 16:56:23 | 显示全部楼层
kanbumingbaie
回复

使用道具 举报

发表于 2011-6-13 18:19:03 | 显示全部楼层
这个很给力啊!
回复

使用道具 举报

发表于 2011-6-13 19:07:51 | 显示全部楼层
好东西。。。
回复

使用道具 举报

发表于 2011-6-13 19:55:56 | 显示全部楼层
很不错啊,太强啦
回复

使用道具 举报

发表于 2011-6-15 15:27:43 | 显示全部楼层
这是脚本啊 强了
回复

使用道具 举报

发表于 2011-9-13 09:08:51 | 显示全部楼层
这个距离不是一点点
回复

使用道具 举报

发表于 2011-10-4 10:27:35 | 显示全部楼层
太强了,不知道什么时候可以写出这么厉害的脚本啊~
回复

使用道具 举报

NCFZ微信公众号

手机版|小黑屋|NCF参数化建筑论坛 ( 浙ICP备2020044100号-2 ) 辽公网安备21021102000973号

GMT+8, 2026-11-23 18:16 , Processed in 0.049192 second(s), 28 queries , Gzip On.

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表