最适合 3D 网络可视化:panda3d 还是 Crystal Space 3D?
我对创建网络数据包的 3D 可视化感兴趣。几年前,这些东西的售价为数万美元,但现在我认为我可以使用开源 3D 套件在几个小时内将其组装在一起。
我环顾四周,发现两个看起来不错的孩子——一个是Panda3D,另一个是CrystalSpace。
我的要求是:
- 快速学习
- 能够从 python 或 C++ 运行
- 能够处理 50,000 个多边形。 (我想将每个数据包表示为 3D 空间中的一块小砖块。)
这种可视化不需要在浏览器中运行。
所以我正在寻求建议。我的问题:
- Panda3D 或 CrystalSpace 3D 哪个更适合我的应用程序?
- 我是否应该考虑其他引擎?
谢谢。
I am interested in creating a 3D visualization of network packets. A few years ago these things sold for tens of thousands of dollars, but now I think that I can hack one together in a few hours using an open source 3D kit.
I've looked around and have found two kids that look good --- one is Panda3D and the other is CrystalSpace.
My requirements are:
- Fast to learn
- Able to run from python or C++
- Able to work with 50,000 polygons. (I want to represent each packet as a little brick in 3D space.)
This visualization doesn't need to run in a browser.
So I'm looking for advice. My questions:
- Which is better for my application, Panda3D or CrystalSpace 3D?
- Is there another engine that I should be looking at instead?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你想在几个小时内完成一些事情,我认为你唯一可行的选择是Visual Python。对于大量基元,它比 Panda3d/Python 快得多,并且具有更简单的 API。它没有从 C++ 工作的选项,但由于它是 C++ 后端的一个非常薄的包装器,我认为您无法在放弃 Python 的情况下增加太多性能。我可以在我的系统上以 15fps 的速度计算和显示 8000 个亮/暗旋转框。
If you want to get something going in only a few hours I think your only viable option is Visual Python. It is much faster than Panda3d/Python for large quantities of primitives and has a much easier API. It does not have an option to work from C++ but since it is a very thin wrapper of a C++ back end I don't think you would be able to add too much performance dropping the Python. I can compute and display 8000 lit/shaded rotating boxes at 15fps on my system.