C ++中的动画 [英] Animation in C++

查看:134
本文介绍了C ++中的动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在C ++中绘制动画的方法是什么? GDI +? OpenGL?你会推荐一个类模式,特别是得到绘图和重绘吗?

What are ways to draw animations in C++? GDI+? OpenGL? Would you recommend a class pattern in particular to get the drawing and redrawing done?

你知道有动画的任何开源项目,所以我可以看一下代码吗?

Do you know of any open source project where animations are made so I can take a peek at the code?

如果你想编写几何动画,你会在哪里开始?你知道任何好的图书馆吗?发布教程链接和任何其他有趣的信息...

Where would you start if you wanted to code geometrical animations? Do you know of any good libraries? Post links to tutorials and any other interesting information...

推荐答案

QT QGraphicsScene

QT QGraphicsScene

它是专门为编写2D游戏而设计的,非常支持动画。

QT是一个非常成熟的跨平台工具包,也具有开源的风格。

It was specifically designed to make writing 2D games easy and effortless, with great support for animation.
QT is a very mature cross platform toolkit which also have an open source flavor.

这篇关于C ++中的动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆