# FlockModifier
The Flock Modifier is a modifier object for the good old standard particle system in Cinema 4D. It allows to easily apply the behavior of flocks, swarms or schools to the particles.
The modifier uses a distributed behavioral model, as described by Craig Reynolds in his 1987 SIGGRAPH paper "Flocks, Herds, and Schools: A Distributed Behavioral Model". Several of the classic "Reynolds Rules" are implemented. Each particle will...
* ...keep a minimum distance to its neighbors
* ...try to stay in the center of the flock
* ...chase a target
* ...match the velocity and travel direction of its flockmates
* ...obey a certain minimum / maximum speed limit
* ...avoid collision with geometry
* ...fly level / avoid steep rising or falling
* ...apply a certain randomness to its movement
This plugin demonstrates the following C4D API aspects:
* Particle modifier plugins, derived from `class ObjectData`
* Working with the C4D standard particle system (which is not as lame as it sounds) using `ObjectData::ModifyParticle()`
* Ray intersections with `class GeRayCollider`
* Simple viewport drawing
* Aligning matrices to trajectories and directions
没有合适的资源?快使用搜索试试~ 我知道了~
一个 Cinema 4D 插件,使用分布式行为模型为 C4D 标准粒子系统实现植绒/蜂群模拟_C++_代码_下载
共33个文件
str:8个
h:6个
cpp:4个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 118 浏览量
2022-06-20
22:34:40
上传
评论
收藏 723KB ZIP 举报
温馨提示
lock Modifier 是 Cinema 4D 中老式标准粒子系统的修改器对象。它允许轻松地将羊群、群体或学校的行为应用于粒子。 该修饰符使用分布式行为模型,正如 Craig Reynolds 在其 1987 年 SIGGRAPH 论文“Flocks, Herds, and Schools: A Distributed Behavioral Model”中所描述的那样。实施了几个经典的“雷诺规则”。每个粒子都会... ...与邻居保持最小距离 ...尽量留在羊群的中心 ...追逐一个目标 ...匹配其群友的速度和行进方向 ...遵守某个最低/最高速度限制 ...避免与几何体发生碰撞 ...飞行水平/避免陡峭的上升或下降 ...对其运动施加一定的随机性 该插件演示了以下 C4D API 方面: 粒子修改器插件,源自class ObjectData 使用 C4D 标准粒子系统(它不像听起来那么蹩脚)使用ObjectData::ModifyParticle() 射线与class GeRayCollider 简单的视口绘图 将矩阵与轨迹和方向对齐
资源推荐
资源详情
资源评论
收起资源包目录
FlockModifier-master.zip (33个子文件)
FlockModifier-master
example
FlockModifier_Example3.c4d 733KB
FlockModifier_Example.c4d 254KB
FlockModifier_Example2.c4d 164KB
docs
index.html 11KB
flockmodifier.jpg 138KB
res
description
oflock.h 1KB
oflockrepeller.h 180B
Oflock.res 2KB
Oflocktarget.res 346B
oflocktarget.h 212B
Oflockrepeller.res 291B
strings_de-DE
c4d_strings.str 115B
description
Oflock.str 2KB
Oflockrepeller.str 176B
Oflocktarget.str 245B
Oflock.tif 39KB
strings_en-US
c4d_strings.str 119B
description
Oflock.str 2KB
Oflockrepeller.str 184B
Oflocktarget.str 246B
Oflocktarget.tif 40KB
Oflockrepeller.tif 40KB
c4d_symbols.h 147B
LICENSE 34KB
.gitignore 291B
project
projectdefinition.txt 289B
README.md 1KB
source
helpers.h 3KB
object
oflockmodifier.cpp 17KB
oflocktarget.cpp 3KB
oflockrepeller.cpp 2KB
main.cpp 465B
main.h 168B
共 33 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功