开发者

Animation from a C++ program

I have a C++ program in Linux which operates on and gives as the result the trajectories of some simple geometric ob开发者_运维知识库jects in three or two dimensions. I need to visualize the movement of these simple entities and have a video file as an output. How do I do that, what libraries/software do I need for this?


A simple library for 2D would be openFrameworks. It's fast to setup and use. To make your video, you could output the objects on the screen and capture the output with a program like Fraps.
As for 3D, there are is afaik no simple Frameworks that let you get started really fast. One possibility would be Ogre3D, which is relatively easy to use. The other would be, of course, OpenGL but it takes quite some time to get used to a pure graphics library. As for the video again, capture it with e.g. Fraps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜