沿着圆弧插入相机运动

发布于 2024-10-05 07:39:20 字数 142 浏览 0 评论 0原文

在我的场景中,我有一个通过 3D 空间中的位置和目标定义的相机。

给定中心 C 和两个点 Pold 和 PNew,两者距离中心 R 的距离,我如何在圆弧上以任意数量的步长插值相机位置?

我的目标是在位于中心点的对象周围执行平滑的视图动画。

In my scene, i have a camera defined through a position and a target in 3d space.

Given the center C and two points Pold and PNew, both at a distance of R from the center, how can i interpolate the cameras position in arbitrary amount of steps on an arc?

My goal to is to perform a smooth animation of the view around an object located at the center point.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酷遇一生 2024-10-12 07:39:20

这称为球面线性插值,您可以在此处找到所需的一切。

It's called spherical linear interpolation, and all you need you can find here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文