Games101计算机图形学笔记L22 Animation Cont.

L22 Animation Cont.

Games101计算机图形学笔记L22 Animation Cont.
Games101计算机图形学笔记L22 Animation Cont.
假设有一个速度场,知道位置就知道速度
Games101计算机图形学笔记L22 Animation Cont.
Games101计算机图形学笔记L22 Animation Cont.
用上一帧的估计下一帧的。
问题:不准且不稳定
Games101计算机图形学笔记L22 Animation Cont.
步长越小越准确

Games101计算机图形学笔记L22 Animation Cont.
在螺旋速度场中不论步长多小物体都会飞出速度场
Games101计算机图形学笔记L22 Animation Cont.
不准确且不稳定
Games101计算机图形学笔记L22 Animation Cont.
Games101计算机图形学笔记L22 Animation Cont.
中点法
Games101计算机图形学笔记L22 Animation Cont.
用第一次欧拉的中点的速度重新计算一下欧拉方法,相当于用了两次欧拉方法
Games101计算机图形学笔记L22 Animation Cont.
自适应步长方法
Games101计算机图形学笔记L22 Animation Cont.
用一半的步长尝试一下,若结果相差太大就使用一半的步长
隐式欧拉方法
Games101计算机图形学笔记L22 Animation Cont.
使用下一时刻的速度与加速度
Games101计算机图形学笔记L22 Animation Cont.
难解但是能提供稳定性
Games101计算机图形学笔记L22 Animation Cont.
Games101计算机图形学笔记L22 Animation Cont.
Games101计算机图形学笔记L22 Animation Cont.
刚体的模拟
Games101计算机图形学笔记L22 Animation Cont.
流体模拟
Games101计算机图形学笔记L22 Animation Cont.
Games101计算机图形学笔记L22 Animation Cont.
假设流体由刚体小球组成
让任一点小球的密度相同
Games101计算机图形学笔记L22 Animation Cont.
模拟的两种主要方法:
质点法(拉格朗日方法)
欧拉方法(网格法)
Games101计算机图形学笔记L22 Animation Cont.
物质点方法,前两种方法的结合。

学习规划:实时渲染:real-time rendering配合opengl的书