Ogre particle Editor

Source: Internet
Author: User

Recently, we need to use the particle system to make some special effects. Without the help of Art personnel, we can imagine the difficulty of making these effects. In distress, the particle system used by torchlight was found. The particle universe consists of particle universe editor and particle universe plugin. The latest version is 1.5.1. The official purchase link is http://www.fxpression.com/buy.html. the price is only, which is very convenient. We recommend that you purchase. If you want to try it out, you can find versions 1.3 and 1.4 online.

The participant universe plugin is intended for programmers. You can compile appropriate plug-ins Based on the Visual Studio and ogre versions. InProgramIn use, you can seamlessly use the particle effect edited by the particle universe editor. The programming environments I use are Visual Studio 2008 and ogre 1.7.4, and the participants are 1.3. The usage is as follows:

(1) Compile the participation universe plug-in.

Open the project file in particle universe plugin → build, modify the path of the included file and library file, and make it contain the include file and Lib file of ogre. After compilation, the system will generate the maid. dll and the maid. Lib. Particle universeCodeThe write is very clean and there is no error or warning during compilation.

(2) set the participation universe plug-in.

Put the maid. dll and the maid. Lib into the working path and library file path of the target project respectively. Modify the Plugins. cfg file and add

Plugin = maid

(3) Add the particle universe resource file.

Place the media folder in the particle universe editor to the resource path of the target project. Modify the resources. cfg file of the target project and add the resources. cfg file in the particle universe Editor folder.

(4) Add a particle in the program.

Include header files

 
# Include "maid. H"

Then add the following functions in functions similar to createscene:

 
Particle Universe: Maid * pmanager = MAID: Maid (); particle Universe: FIG * psys = pmanager-> createparticlesystem ("mysys", "example/linestreak ", mscenemgr); mscenemgr-> getrootscenenode ()-> attachobject (psys); psys-> Start ();

Run the program and you can see the following results.

possible problem: http://blog.csdn.net/nuiuyi/article/details/6665904

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.