SniperBinaire
25-05-2010 19:02:52
The problem is quite simple :
Using Sun in the Hdx file loaded makes me crash at the loading of the scene
Here is how I setup Hydrax :
I have no error message, just the "Send to microsoft your infomations" window
Here's the end of the log :
The sad thing is that i can only run hydrax without sun, godrays,etc...
Any idea ?
Using Sun in the Hdx file loaded makes me crash at the loading of the scene
Here is how I setup Hydrax :
// Set up Hydrax
Hydrax::Hydrax *mHydrax = new Hydrax::Hydrax(sys0.mgr,sys0.cam,sys0.vp);
Hydrax::Module::ProjectedGrid *mModule = new Hydrax::Module::ProjectedGrid(mHydrax,new Hydrax::Noise::Perlin(),Ogre::Plane(Ogre::Vector3::UNIT_Y, Ogre::Real(0.0f)),Hydrax::MaterialManager::NM_VERTEX, Hydrax::Module::ProjectedGrid::Options());
mHydrax->setModule(static_cast<Hydrax::Module::Module*>(mModule));
mHydrax->loadCfg("Namuh.hdx"); mHydrax->create();
mHydrax->getMaterialManager()->addDepthTechnique(static_cast<Ogre::MaterialPtr>(Ogre::MaterialManager::getSingleton().getByName("Map"))->createTechnique());
I have no error message, just the "Send to microsoft your infomations" window
Here's the end of the log :
[...]
19:43:49: Finished parsing scripts for resource group SkyX
19:43:49: TerrainSceneManager: Registered a new PageSource for type Heightmap
19:43:49: TerrainSceneManager: Activated PageSource Heightmap
19:43:50: Texture: Tex.png: Loading 1 faces(PF_R8G8B8,2048x2048x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,2048x2048x1.
19:43:50: D3D9 : Loading 2D Texture, image name : 'ground_ps_is_97.dds' with 5 mip map levels
19:43:50: [Hydrax] Hydrax created.
19:43:50: [Hydrax] Namuh.hdx loaded.
The sad thing is that i can only run hydrax without sun, godrays,etc...
Any idea ?