1) First i have added the Particle Folder from the OgreSdk( Contains Smoke.particle)
2)Added the Smoke.material And smoke.png and smokecolors.ong
3) After this i have added the Plugin = Plugin_ParticleFX in the plugins.cfg
Here is my code
Code: Select all
# Defines plugins to load
# Define plugin folder
PluginFolder=./
# Define plugins
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Code: Select all
# Resource locations to be added to the 'bootstrap' path
# This also contains the minimum you need to use the Ogre example framework
[Bootstrap]
Zip=media/packs/SdkTrays.zip
# Resource locations to be added to the default path
[General]
FileSystem=media/models
FileSystem=media/particle
FileSystem=media/materials/scripts
FileSystem=media/materials/textures
FileSystem=media/RTShaderLib
FileSystem=media/RTShaderLib/materials
Zip=media/packs/cubemap.zip
Zip=media/packs/cubemapsJS.zip
Zip=media/packs/skybox.zip
Code: Select all
mPivotNode = OgreFramework::getSingletonPtr()->m_pSceneMgr->getRootSceneNode()->createChildSceneNode(); // create a pivot node
// create a child node and attach an ogre head and some smoke to it
Ogre::SceneNode* headNode = mPivotNode->createChildSceneNode(Ogre::Vector3(100, 0, 0));
headNode->attachObject(OgreFramework::getSingletonPtr()->m_pSceneMgr->createEntity("Head", "ogrehead.mesh"));
headNode->attachObject(OgreFramework::getSingletonPtr()->m_pSceneMgr->createParticleSystem("Smoke", "Examples/Smoke"));
An exception has occurred: OGRE EXCEPTION(2:InvalidParametersException): Cannot find requested emitter type. in ParticleSystemManager::_createEmitter at /Users/davidrogers/Documents/Ogre/ogre-v1-7/OgreMain/src/OgreParticleSystemManager.cpp (line 353)
Code: Select all
8) getting crash at
(void)renderOneFrame:(id)sender
{
if(!OgreFramework::getSingletonPtr()->isOgreToBeShutDown() &&
Ogre::Root::getSingletonPtr() && Ogre::Root::getSingleton().isInitialised())
{
if(OgreFramework::getSingletonPtr()->m_pRenderWnd->isActive())
{
[quote][b]mStartTime = OgreFramework::getSingletonPtr()->m_pTimer->getMillisecondsCPU();
Please Help me , it is very urgent for me , i cant able to find the solution for this , Plzzzz







