The goal of this tutorial is to introduce you to some of the features of Qt Quick 2 for implementing animations and graphic effects. Mainly, this tutorial provides an overview of how to use the Particles module in Qt Quick 2 as well as ShaderEffects for advanced graphic effects.
The tutorial is split into three main chapters. In the first chapter, you will be introduced to the Particles module. We will provide some basic setup code illustrating the use of the main types. The second chapter provides a quick overview of how to use Shader programs within QML through a simple example. The last chapter will focus on implementing a demo application step-by-step using Animations, Particles, and Shaders.
A .zip file that contains the full code source of the tutorial’s examples is provided:
Source code [http://releases.qt-project.org/learning/developerguides/qteffects/particles_src.zip]
The guide is available in the following formats:
- PDF [http://releases.qt-project.org/learning/developerguides/qteffects/ParticlesTutorial.pdf]
- ePub [http://releases.qt-project.org/learning/developerguides/qteffects/ParticlesTutorial.epub] for ebook readers.
- Qt Help [http://releases.qt-project.org/learning/developerguides/qteffects/ParticlesTutorial.qch] for Qt Assistant and Qt Creator.
Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). All rights reserved.
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-ShareAlike 2.5.
The full license document is available from http://creativecommons.org/licenses/by-sa/2.5/legalcode .
Qt and the Qt logo is a registered trade mark of Digia plc and/or its subsidiaries and is used pursuant to a license from Digia plc and/or its subsidiaries. All other trademarks are property of their respective owners.
What’s Next?
Next chapter provides an overview of the Particles module in Qt Quick 2 with simple examples that will cover the most basic types.