OpenGL的:细胞分裂效应 [英] OpenGL : Cell division effect

查看:167
本文介绍了OpenGL的:细胞分裂效应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要的(生物)细胞分裂过程模型。我已经能够创建一个三维细胞模型和(使用GLM库)加载模型。但是,我不知道如何使它分裂,我不知道从哪里开始。

I want to model the (biological) cell division process. I have been able to create a 3D cell model and load the model (using glm library). However, I do not know how to make it divide and I don't know where to start.

任何一个是否知道如何使事情在OpenGL复制的效果? (这是伟大的,如果我可以用过剩和GLM为该)。也许你可以只告诉我如何做一个球体重复。

Does any one know how to make the effect that things replicate in OpenGL? (It is great if I can use glut and glm for that). Maybe you could just show me how to make a sphere replicate.

推荐答案

我觉得你在做什么寻找被称为元粒子或的元球的。我认为,通过调整thresold功能,您可以获取细胞分效果,但并不保证 - 通常元球看起来更像是水银和用于创建水流出粒子

I think what you're looking for is called meta-particles or meta-balls. I think that by adjusting thresold function you can get cell-divide effect, but this isn't guaranteed - metaballs normally look more like quicksilver and are used to create water out of particles.

他们很难在3D对于一个新手来实现 - 你需要能够使三角形网格进行数学定义的表面(的移动立方体算法)和结果不能保证是完全现实的。

They're hard to implement in 3d for a novice - you'll need to be able to make triangular mesh out of mathematically-defined surface (marching cubes algorithm), and result isn't guaranteed to be fully realistic.

我建议别的尝试一些或者使用一些便宜的方式 - 在彼此顶部绘制两个攻透明球体,然后移开它们或类似的东西。

I suggest to try something else or use some cheaper way - draw two seme-transparent spheres on top of each other then move them apart or something like that.

当然,一定的方式来获得期望的结果是使用建模软件包(如搅拌器)和​​熟练的艺术家,但在你的应用程序中显示模拟的结果将是困难的,因为对象的拓扑结构将改变每一帧,再加上拍效果令人满意结果需要时间和技巧。

Of course, certain way to get desired result is to use modeling package (like blender) and skilled artist, but displaying modeled result in your application will be difficult, because object topology will be changing every frame, plus making satisfactory result will take time and skill.

这篇关于OpenGL的:细胞分裂效应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆