Problem with Hydrax 0.5 ! Need help ....

compvis

30-05-2009 02:44:44

Hi,

I successfully compile the Hydrax 0.5, Ogre 1.6.2 with Visual Studio 2008. In my project code, I only copy from Hydrax 0.5 . But my result its not like Hydrax demo. My render image:



My problem is inside red area of image i show. Border of Island is a line on water. Pls tell me how i can fix this problem ?

Thank you so much !



My code:
InitOcean function:


E_CODES Core::InitOcean()
{
//Xoá toàn bộ cảnh nếu trước đó đã Render
mScene->clearScene();
//Ánh sáng nền
mScene->setAmbientLight(ColourValue(1,1,1));
//Bầu trời
mScene->setSkyBox(true,mNumSkyBoxes[mCurrentSkyBox],99999*3,true);
//Camera
mCam->setFarClipDistance(99999*6);
mCam->setPosition(312.902,206.419,1524.02);
mCam->setOrientation(Quaternion(0.998,-0.0121,-0.0608,-0.00074));

//Ánh sáng
Light* mLight = mScene->createLight("Light0");
mLight->setPosition(mSunPos[mCurrentSkyBox]);
mLight->setDiffuseColour(1, 1, 1);
mLight->setSpecularColour(mSunColors[mCurrentSkyBox].x,
mSunColors[mCurrentSkyBox].y,
mSunColors[mCurrentSkyBox].z);

//Khởi tạo cảnh bờ biển
mSea = new Hydrax::Hydrax(mScene,mCam,mRender->getViewport(0));
if (!mSea)
{
return E_OCEAN;
}
Hydrax::Module::ProjectedGrid* module = new Hydrax::Module::ProjectedGrid(
mSea,
new Hydrax::Noise::Perlin,
Plane(K_VECTOR(0,1,0),K_VECTOR(0,0,0)),
Hydrax::MaterialManager::NM_VERTEX,
Hydrax::Module::ProjectedGrid::Options()
);

mSea->setModule(static_cast<Hydrax::Module::Module*>(module));
mSea->loadCfg("Beach!.hdx");
mSea->create();
mScene->setWorldGeometry("Island.cfg");
mSea->setDepthLimit(500);

mSea->getMaterialManager()->addDepthTechnique(
static_cast<Ogre::MaterialPtr>(Ogre::MaterialManager::getSingleton().getByName("Island"))
->createTechnique());

//Tạo các cây dừa
createPalms(mScene);

return SUCCESS;
}


Ocean update:

K_VALUE Core::frameStarted(const Ogre::FrameEvent &evt)
{
// Kểm tra độ cao của Camera
Ogre::RaySceneQuery *raySceneQuery = mScene->createRayQuery(Ogre::Ray(mCam->getPosition() + Vector3(0,1000000,0), Vector3::NEGATIVE_UNIT_Y));
Ogre::RaySceneQueryResult& qryResult = raySceneQuery->execute();
Ogre::RaySceneQueryResult::iterator i = qryResult.begin();
if (i != qryResult.end() && i->worldFragment)
{
if (mCam->getPosition().y < i->worldFragment->singleIntersection.y + 30)
{
mCam->setPosition(mCam->getPosition().x, i->worldFragment->singleIntersection.y + 30, mCam->getPosition().z);
}
}

delete raySceneQuery;

mSea->update(evt.timeSinceLastFrame);

if(mMouse)
mMouse->capture();
mKeys->capture();
}

Xavyiy

30-05-2009 09:38:44

@compvis
Seems that your .hdr Hydrax config file is not loaded as expected, can you post your ogre log?

Xavi

compvis

01-06-2009 02:22:32

@compvis
Seems that your .hdr Hydrax config file is not loaded as expected, can you post your ogre log?

Xavi


Thank you for reply,
In my prject, i load "Beach!.hdx" from "Hydrax-Editor-v0.5" with media's. In my log, my program didn't load caustics..
my log is:


08:29:32: Creating resource group General
08:29:32: Creating resource group Internal
08:29:32: Creating resource group Autodetect
08:29:32: SceneManagerFactory for type 'DefaultSceneManager' registered.
08:29:32: Registering ResourceManager for type Material
08:29:32: Registering ResourceManager for type Mesh
08:29:32: Registering ResourceManager for type Skeleton
08:29:32: MovableObjectFactory for type 'ParticleSystem' registered.
08:29:32: OverlayElementFactory for type Panel registered.
08:29:32: OverlayElementFactory for type BorderPanel registered.
08:29:32: OverlayElementFactory for type TextArea registered.
08:29:32: Registering ResourceManager for type Font
08:29:32: ArchiveFactory for archive type FileSystem registered.
08:29:32: ArchiveFactory for archive type Zip registered.
08:29:32: FreeImage version: 3.10.0
08:29:32: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
08:29:32: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
08:29:32: DDS codec registering
08:29:32: Registering ResourceManager for type HighLevelGpuProgram
08:29:32: Registering ResourceManager for type Compositor
08:29:32: MovableObjectFactory for type 'Entity' registered.
08:29:32: MovableObjectFactory for type 'Light' registered.
08:29:32: MovableObjectFactory for type 'BillboardSet' registered.
08:29:32: MovableObjectFactory for type 'ManualObject' registered.
08:29:32: MovableObjectFactory for type 'BillboardChain' registered.
08:29:32: MovableObjectFactory for type 'RibbonTrail' registered.
08:29:32: *-*-* OGRE Initialising
08:29:32: *-*-* Version 1.6.2 (Shoggoth)
08:29:32: Loading library KlinkOpenGL.dll
08:29:32: Installing plugin: GL RenderSystem
08:29:32: OpenGL Rendering Subsystem created.
08:29:33: Plugin successfully installed
08:29:33: Loading library KlinkDirect3D9.dll
08:29:33: Installing plugin: D3D9 RenderSystem
08:29:33: D3D9 : Direct3D9 Rendering Subsystem created.
08:29:33: D3D9: Driver Detection Starts
08:29:33: D3D9: Driver Detection Ends
08:29:33: Plugin successfully installed
08:29:33: CPU Identifier & Features
08:29:33: -------------------------
08:29:33: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz
08:29:33: * SSE: yes
08:29:33: * SSE2: yes
08:29:33: * SSE3: yes
08:29:33: * MMX: yes
08:29:33: * MMXEXT: yes
08:29:33: * 3DNOW: no
08:29:33: * 3DNOWEXT: no
08:29:33: * CMOV: yes
08:29:33: * TSC: yes
08:29:33: * FPU: yes
08:29:33: * PRO: yes
08:29:33: * HT: no
08:29:33: -------------------------
08:29:33: D3D9 : Subsystem Initialising
08:29:33: ***************************************
08:29:33: *** D3D9 : Subsystem Initialised OK ***
08:29:33: ***************************************
08:29:33: Loading library KlinkParticleFX
08:29:33: Installing plugin: ParticleFX
08:29:33: Particle Emitter Type 'Point' registered
08:29:33: Particle Emitter Type 'Box' registered
08:29:33: Particle Emitter Type 'Ellipsoid' registered
08:29:33: Particle Emitter Type 'Cylinder' registered
08:29:33: Particle Emitter Type 'Ring' registered
08:29:33: Particle Emitter Type 'HollowEllipsoid' registered
08:29:33: Particle Affector Type 'LinearForce' registered
08:29:33: Particle Affector Type 'ColourFader' registered
08:29:33: Particle Affector Type 'ColourFader2' registered
08:29:33: Particle Affector Type 'ColourImage' registered
08:29:33: Particle Affector Type 'ColourInterpolator' registered
08:29:33: Particle Affector Type 'Scaler' registered
08:29:33: Particle Affector Type 'Rotator' registered
08:29:33: Particle Affector Type 'DirectionRandomiser' registered
08:29:33: Particle Affector Type 'DeflectorPlane' registered
08:29:33: Plugin successfully installed
08:29:33: Loading library KlinkBsp
08:29:33: Installing plugin: BSP Scene Manager
08:29:33: SceneManagerFactory for type 'BspSceneManager' registered.
08:29:33: Registering ResourceManager for type BspLevel
08:29:33: Plugin successfully installed
08:29:33: Loading library KlinkOctree
08:29:33: Installing plugin: Octree & Terrain Scene Manager
08:29:33: SceneManagerFactory for type 'OctreeSceneManager' registered.
08:29:33: SceneManagerFactory for type 'TerrainSceneManager' registered.
08:29:33: Plugin successfully installed
08:29:33: Loading library KlinkCg
08:29:33: Installing plugin: Cg Program Manager
08:29:34: Plugin successfully installed
08:29:34: Creating resource group Bootstrap
08:29:34: Added resource location 'media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
08:29:34: Creating resource group Fighter
08:29:34: Added resource location 'Fighter' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Overlay' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Images' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Materials' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Fonts' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Missiles' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Gui' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Hourglass' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/phoenix_aim54c' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/configs' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/imagesets' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/layouts' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/looknfeel' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/schemes' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/phoenix_aim54c' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Terrain' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Terrain/Media' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Ocean' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Ocean/materials/programs' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Ocean/materials/scripts' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Ocean/materials/textures' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Ocean/models' of type 'FileSystem' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Ocean/packs/SkyBoxes.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Y.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/M67.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Gun.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Battleship.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Tank.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Trees.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Fuse.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/ship.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Harp.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Tomahawk.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Grabiel.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/Raketa.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'Fighter/Models/phoenix.zip' of type 'Zip' to resource group 'Fighter'
08:29:34: Added resource location 'media' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/fonts' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/materials/programs' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/materials/scripts' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/materials/textures' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/models' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/overlays' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/particle' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/gui' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location '../Media/' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location '../Media/MyGUI_Media' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location '../Media/MyGUI_Media/Themes' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location '../Media/MyGUI_Media/User' of type 'FileSystem' to resource group 'General'
08:29:34: Added resource location 'media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
08:29:34: Added resource location 'media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
08:29:34: Added resource location 'media/packs/dragon.zip' of type 'Zip' to resource group 'General'
08:29:34: Added resource location 'media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
08:29:34: Added resource location 'media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
08:29:34: Added resource location 'media/packs/skybox.zip' of type 'Zip' to resource group 'General'
08:29:34: Creating resource group Klinkocean
08:29:34: Added resource location 'Fighter/Ocean/Hydrax' of type 'FileSystem' to resource group 'Klinkocean'
08:29:34: D3D9RenderSystem::_createRenderWindow "Shooting...", 1440x900 fullscreen miscParams: FSAA=0 fullscreen=true resolution=1440x900 vsync=false
08:29:34: D3D9 : Created D3D9 Rendering Window 'Shooting...' : 1440x900, 32bpp
08:29:35: Registering ResourceManager for type Texture
08:29:35: Registering ResourceManager for type GpuProgram
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT16_R
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT32_R
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT16_GR
08:29:35: D3D9: Vertex texture format supported - PF_FLOAT32_GR
08:29:35: RenderSystem capabilities
08:29:35: -------------------------
08:29:35: RenderSystem Name: Direct3D9 Rendering Subsystem
08:29:35: GPU Vendor: nvidia
08:29:35: Device Name: NVIDIA GeForce 9800 GTX/9800 GTX+
08:29:35: Driver Version: 6.14.11.7798
08:29:35: * Fixed function pipeline: yes
08:29:35: * Hardware generation of mipmaps: yes
08:29:35: * Texture blending: yes
08:29:35: * Anisotropic texture filtering: yes
08:29:35: * Dot product texture operation: yes
08:29:35: * Cube mapping: yes
08:29:35: * Hardware stencil buffer: yes
08:29:35: - Stencil depth: 8
08:29:35: - Two sided stencil support: yes
08:29:35: - Wrap stencil values: yes
08:29:35: * Hardware vertex / index buffers: yes
08:29:35: * Vertex programs: yes
08:29:35: * Fragment programs: yes
08:29:35: * Geometry programs: no
08:29:35: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
08:29:35: * Texture Compression: yes
08:29:35: - DXT: yes
08:29:35: - VTC: no
08:29:35: * Scissor Rectangle: yes
08:29:35: * Hardware Occlusion Query: yes
08:29:35: * User clip planes: yes
08:29:35: * VET_UBYTE4 vertex element type: yes
08:29:35: * Infinite far plane projection: yes
08:29:35: * Hardware render-to-texture: yes
08:29:35: * Floating point textures: yes
08:29:35: * Non-power-of-two textures: yes
08:29:35: * Volume textures: yes
08:29:35: * Multiple Render Targets: 4
08:29:35: - With different bit depths: yes
08:29:35: * Point Sprites: yes
08:29:35: * Extended point parameters: yes
08:29:35: * Max Point Size: 8192
08:29:35: * Vertex texture fetch: yes
08:29:35: - Max vertex textures: 4
08:29:35: - Vertex textures shared: no
08:29:35: * Render to Vertex Buffer : no
08:29:35: * DirectX per stage constants: yes
08:29:35: ResourceBackgroundQueue - threading disabled
08:29:35: Particle Renderer Type 'billboard' registered
08:29:35: SceneManagerFactory for type 'BspSceneManager' registered.
08:29:35: Registering ResourceManager for type BspLevel
08:29:35: SceneManagerFactory for type 'OctreeSceneManager' registered.
08:29:35: SceneManagerFactory for type 'TerrainSceneManager' registered.
08:29:35: TerrainSceneManager: Registered a new PageSource for type Heightmap
08:29:36: *-*-* KlinkSound3d Initialization
08:29:36: MovableObjectFactory for type 'KlinkSound3d_Sound' registered.
08:29:36: MovableObjectFactory for type 'KlinkSound3d_Listener' registered.
08:29:36: *-*-* Creating OpenAL
08:29:36: OpenAL Version: 1.1
08:29:36: Available Devices
08:29:36: -----------------
08:29:36: * Generic Software
08:29:36: Choosing: Generic Software
08:29:36: Supported Formats
08:29:36: -----------------
08:29:36: * AL_FORMAT_MONO16, Monophonic Sound
08:29:36: * AL_FORMAT_STEREO16, Stereo Sound
08:29:36: * AL_FORMAT_QUAD16, 4 Channel Sound
08:29:36: * AL_FORMAT_51CHN16, 5.1 Surround Sound
08:29:36: * AL_FORMAT_61CHN16, 6.1 Surround Sound
08:29:36: * AL_FORMAT_71CHN16, 7.1 Surround Sound
08:29:36: EAX 2.0 Detected
08:29:36: EFX Extension Found
08:29:36: Parsing scripts for resource group Autodetect
08:29:36: Finished parsing scripts for resource group Autodetect
08:29:36: Parsing scripts for resource group Bootstrap
08:29:36: Parsing script OgreCore.material
08:29:36: Parsing script OgreProfiler.material
08:29:36: Parsing script Ogre.fontdef
08:29:36: Parsing script OgreDebugPanel.overlay
08:29:36: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
08:29:36: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
08:29:36: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
08:29:36: Font BlueHighwayusing texture size 512x512
08:29:36: Info: Freetype returned null for character 127 in font BlueHighway
08:29:36: Info: Freetype returned null for character 128 in font BlueHighway
08:29:36: Info: Freetype returned null for character 129 in font BlueHighway
08:29:36: Info: Freetype returned null for character 130 in font BlueHighway
08:29:36: Info: Freetype returned null for character 131 in font BlueHighway
08:29:36: Info: Freetype returned null for character 132 in font BlueHighway
08:29:36: Info: Freetype returned null for character 133 in font BlueHighway
08:29:36: Info: Freetype returned null for character 134 in font BlueHighway
08:29:36: Info: Freetype returned null for character 135 in font BlueHighway
08:29:36: Info: Freetype returned null for character 136 in font BlueHighway
08:29:36: Info: Freetype returned null for character 137 in font BlueHighway
08:29:36: Info: Freetype returned null for character 138 in font BlueHighway
08:29:36: Info: Freetype returned null for character 139 in font BlueHighway
08:29:36: Info: Freetype returned null for character 140 in font BlueHighway
08:29:36: Info: Freetype returned null for character 141 in font BlueHighway
08:29:36: Info: Freetype returned null for character 142 in font BlueHighway
08:29:36: Info: Freetype returned null for character 143 in font BlueHighway
08:29:36: Info: Freetype returned null for character 144 in font BlueHighway
08:29:36: Info: Freetype returned null for character 145 in font BlueHighway
08:29:36: Info: Freetype returned null for character 146 in font BlueHighway
08:29:36: Info: Freetype returned null for character 147 in font BlueHighway
08:29:36: Info: Freetype returned null for character 148 in font BlueHighway
08:29:36: Info: Freetype returned null for character 149 in font BlueHighway
08:29:36: Info: Freetype returned null for character 150 in font BlueHighway
08:29:36: Info: Freetype returned null for character 151 in font BlueHighway
08:29:36: Info: Freetype returned null for character 152 in font BlueHighway
08:29:36: Info: Freetype returned null for character 153 in font BlueHighway
08:29:36: Info: Freetype returned null for character 154 in font BlueHighway
08:29:36: Info: Freetype returned null for character 155 in font BlueHighway
08:29:36: Info: Freetype returned null for character 156 in font BlueHighway
08:29:36: Info: Freetype returned null for character 157 in font BlueHighway
08:29:36: Info: Freetype returned null for character 158 in font BlueHighway
08:29:36: Info: Freetype returned null for character 159 in font BlueHighway
08:29:36: Info: Freetype returned null for character 160 in font BlueHighway
08:29:36: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
08:29:36: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
08:29:36: Parsing script OgreLoadingPanel.overlay
08:29:36: Finished parsing scripts for resource group Bootstrap
08:29:36: Parsing scripts for resource group Fighter
08:29:36: Parsing script Fighter.material
08:29:36: Parsing script Cylinder05.mesh.material
08:29:36: Parsing script Cylinder06.mesh.material
08:29:36: Parsing script Cylinder08.mesh.material
08:29:36: Parsing script Cylinder108.mesh.material
08:29:36: Parsing script Cylinder12.mesh.material
08:29:36: Parsing script Cylinder218.mesh.material
08:29:36: Parsing script Line01.mesh.material
08:29:36: Parsing script Line02.mesh.material
08:29:36: Parsing script Line25.mesh.material
08:29:36: Parsing script Line26.mesh.material
08:29:36: Parsing script Line27.mesh.material
08:29:36: Parsing script Line28.mesh.material
08:29:36: Parsing script Line29.mesh.material
08:29:36: Parsing script Line30.mesh.material
08:29:36: Parsing script Gui.material
08:29:37: Parsing script Island.material
08:29:37: Parsing script Palm.material
08:29:37: Parsing script SkyBox.material
08:29:37: Parsing script y.material
08:29:37: Parsing script m67.material
08:29:37: Parsing script Gun.mesh.material
08:29:37: Compiler error: fewer parameters expected in Gun.mesh.material(14): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Gun.mesh.material(110): texture_alias must have at most 1 argument
08:29:37: Parsing script Battleship.material
08:29:37: Compiler error: fewer parameters expected in Battleship.material(13): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Battleship.material(93): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Battleship.material(128): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Battleship.material(148): texture_alias must have at most 1 argument
08:29:37: Parsing script Tank.material
08:29:37: Compiler error: fewer parameters expected in Tank.material(150): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Tank.material(188): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Tank.material(240): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Tank.material(412): texture_alias must have at most 1 argument
08:29:37: Parsing script Tree.material
08:29:37: Parsing script Weeping.material
08:29:37: Parsing script Banyan.material
08:29:37: Parsing script Bigyucca.material
08:29:37: Parsing script Scotch.material
08:29:37: Parsing script Westwind.material
08:29:37: Parsing script Ship.material
08:29:37: Compiler error: fewer parameters expected in Ship.material(13): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(35): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(123): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(145): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(248): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(602): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(623): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(646): texture_alias must have at most 1 argument
08:29:37: Compiler error: fewer parameters expected in Ship.material(697): texture_alias must have at most 1 argument
08:29:37: Parsing script Harpoon.material
08:29:37: Parsing script Tomahawk.material
08:29:37: Parsing script Grabiel.mesh.material
08:29:37: Compiler error: fewer parameters expected in Grabiel.mesh.material(92): texture_alias must have at most 1 argument
08:29:37: Parsing script Raketa.material
08:29:37: Parsing script Phoenix.material
08:29:37: Parsing script Fighter.fontdef
08:29:37: Parsing script Gabriel.overlay
08:29:37: Texture: OverlayBgr.png: Loading 1 faces(PF_R8G8B8,400x400x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,400x400x1.
08:29:37: Texture: gabriel.jpg: Loading 1 faces(PF_R8G8B8,124x66x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,124x66x1.
08:29:37: Parsing script Harpoon.overlay
08:29:37: Font FighterFontusing texture size 4096x4096
08:29:37: Info: Freetype returned null for character 32 in font FighterFont
08:29:37: Info: Freetype returned null for character 160 in font FighterFont
08:29:37: Texture: FighterFontTexture: Loading 1 faces(PF_BYTE_LA,4096x4096x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,4096x4096x1.
08:29:37: Texture: tomahawk.jpg: Loading 1 faces(PF_R8G8B8,124x66x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,124x66x1.
08:29:37: Parsing script Loading.overlay
08:29:37: Texture: Progress.png: Loading 1 faces(PF_R8G8B8,400x69x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,400x69x1.
08:29:37: Parsing script Tomahawk.overlay
08:29:37: Finished parsing scripts for resource group Fighter
08:29:37: Parsing scripts for resource group General
08:29:37: Parsing script Examples.program
08:29:37: Parsing script StdQuad_vp.program
08:29:38: Parsing script deferred.glsl.program
08:29:38: Parsing script deferred.hlsl.program
08:29:38: Parsing script deferred.program
08:29:38: Parsing script deferred_post_ambient.program
08:29:38: Parsing script deferred_post_debug.glsl.program
08:29:38: Parsing script deferred_post_debug.hlsl.program
08:29:38: Parsing script deferred_post_debug.program
08:29:38: Parsing script deferred_post_minilight.glsl.program
08:29:38: Parsing script deferred_post_minilight.hlsl.program
08:29:38: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
08:29:38: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
08:29:38: Parsing script deferred_post_minilight.program
08:29:38: Parsing script deferred_post_multipass.glsl.program
08:29:38: Parsing script deferred_post_multipass.hlsl.program
08:29:38: Parsing script deferred_post_onepass.glsl.program
08:29:38: Parsing script deferred_post_onepass.hlsl.program
08:29:38: Parsing script deferred_post_vs.program
08:29:38: Parsing script ASCII.material
08:29:38: Parsing script ASMSwizzle.material
08:29:38: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
08:29:38: Parsing script BlackAndWhite.material
08:29:38: Parsing script Bloom.material
08:29:38: Parsing script Bloom2.material
08:29:38: Parsing script CGSwizzle.material
08:29:38: Parsing script DepthShadowmap.material
08:29:38: Parsing script Dither.material
08:29:39: Parsing script DOF.material
08:29:39: Parsing script Embossed.material
08:29:39: Parsing script Example-DynTex.material
08:29:39: Parsing script Example-Water.material
08:29:39: Parsing script Example.material
08:29:39: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
08:29:39: Compiler error: invalid parameters in Example.material(762): setting of constant failed
08:29:39: Parsing script Examples-Advanced.material
08:29:39: Parsing script facial.material
08:29:39: Parsing script Glass.material
08:29:39: Parsing script GLSLSwizzle.material
08:29:39: Parsing script Halftone.material
08:29:39: Parsing script hdr.material
08:29:39: Parsing script HeatVision.material
08:29:39: Parsing script Hurt.material
08:29:39: Parsing script instancing.material
08:29:39: Parsing script Invert.material
08:29:39: Parsing script IsoSurf.material
08:29:39: Parsing script Laplace.material
08:29:39: Parsing script MotionBlur.material
08:29:39: Parsing script MRTtest.material
08:29:39: Parsing script NightVision.material
08:29:39: Parsing script Ocean.material
08:29:39: Parsing script OffsetMapping.material
08:29:39: Parsing script Ogre.material
08:29:39: Parsing script OldMovie.material
08:29:39: Parsing script OldTV.material
08:29:39: Parsing script ParticleGS.material
08:29:39: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
08:29:39: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
08:29:39: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
08:29:39: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
08:29:39: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
08:29:39: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
08:29:39: Parsing script Posterize.material
08:29:39: Parsing script pssm.material
08:29:39: Parsing script RadialBlur.material
08:29:39: Parsing script RZR-002.material
08:29:39: Parsing script SharpenEdges.material
08:29:39: Parsing script smoke.material
08:29:39: Parsing script Tiling.material
08:29:39: Parsing script VarianceShadowmap.material
08:29:39: Parsing script deferred.material
08:29:39: Parsing script deferreddemo.material
08:29:39: Parsing script deferred_post_ambient.material
08:29:39: Parsing script deferred_post_debug.material
08:29:39: Parsing script deferred_post_minilight.material
08:29:39: Parsing script deferred_post_multipass.material
08:29:39: Parsing script deferred_post_onepass.material
08:29:39: Parsing script ROOM.material
08:29:39: Parsing script RomanBath.material
08:29:39: Parsing script emitted_emitter.particle
08:29:39: Parsing script Example-Water.particle
08:29:39: Parsing script Example.particle
08:29:39: Parsing script smoke.particle
08:29:39: Parsing script Examples.compositor
08:29:39: Parsing script deferred.compositor
08:29:39: Parsing script sample.fontdef
08:29:39: Parsing script Compositor.overlay
08:29:39: Parsing script DP3.overlay
08:29:40: Parsing script Example-CubeMapping.overlay
08:29:40: Parsing script Example-DynTex.overlay
08:29:40: Parsing script Example-Water.overlay
08:29:40: Parsing script Shadows.overlay
08:29:40: Finished parsing scripts for resource group General
08:29:40: Parsing scripts for resource group Internal
08:29:40: Finished parsing scripts for resource group Internal
08:29:40: Parsing scripts for resource group Klinkocean
08:29:40: Finished parsing scripts for resource group Klinkocean
08:29:40: Added resource location '../../Media/MyGUI_Media/Themes' of type 'FileSystem' to resource group 'General'
08:29:40: Texture: core.png: Loading 1 faces(PF_A8R8G8B8,1024x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x256x1.
08:29:40: Texture: core_pointer.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
08:29:40: OGRE EXCEPTION(1000:KlinkNetException): ****** KlinkNetException ****** There were problems binding the socket. WSAGetLastError returned : WSAEADDRNOTAVAIL - [Cannot assign requested address. The requested address (either local or remote) is not valid in its context (either address or port).] in KlinkNetBase::Init at .\KlinkNetBase.cpp (line 268)
08:29:42: Texture: Default_Texture: Loading 1 faces(PF_BYTE_LA,1024x128x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,1024x128x1.
08:29:42: Mesh: Loading Tomahawk.mesh.
08:29:42: Mesh: Loading Body.mesh.
08:29:42: Mesh: Loading Harpoon.mesh.
08:29:42: WARNING: Harpoon.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
08:29:42: Mesh: Loading Gun.mesh.
08:29:42: WARNING: Gun.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
08:29:42: Texture: STEELPLT.JPG: Loading 1 faces(PF_R8G8B8,756x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,756x512x1.
08:29:42: Texture: PLATEOX2.JPG: Loading 1 faces(PF_R8G8B8,378x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,378x256x1.
08:29:42: Texture: ct_fr.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:42: Texture: ct_bk.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:42: Texture: ct_lf.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:42: Texture: ct_rt.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:42: Texture: ct_up.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:42: Texture: ct_dn.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:43: [Hydrax] Hydrax created.
08:29:43: [Hydrax] Beach!.hdx loaded.
08:29:43: [Hydrax] Config file version doesn't correspond with Hydrax version.
08:29:43: [Hydrax] Creating module...
08:29:43: [Hydrax] Creating ProjectedGridVertex module.
08:29:43: [Hydrax] ProjectedGridVertex created.
08:29:43: [Hydrax] Module created.
08:29:43: [Hydrax] Initializating RTT Manager...
08:29:43: [Hydrax] RTT manager initialized.
08:29:43: [Hydrax] Registring device restored listener...
08:29:43: [Hydrax] Device restored listener registred.
08:29:43: [Hydrax] Creating materials...
08:29:43: [Hydrax] Creating water material...
08:29:43: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 5 generated mipmaps from Image. Internal format is PF_L8,256x1x1.
08:29:43: [Hydrax] Water material created.
08:29:43: [Hydrax] Materials created.
08:29:43: [Hydrax] Creating water mesh...
08:29:43: [Hydrax] Water mesh created.
08:29:43: TerrainSceneManager: Activated PageSource Heightmap
08:29:43: Texture: Sand.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:43: Texture: Sand.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
08:29:43: Texture: SandGrass.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
08:29:43: Texture: SandGrass.png: Loading 1 faces(PF_R8G8B8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
08:29:43: Mesh: Loading Palm.mesh.
08:29:43: Texture: Palm.tga: Loading 1 faces(PF_A8R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
08:29:43: Mesh: Loading ogrehead.mesh.
08:29:43: Texture: WeirdEye.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
08:29:43: Texture: GreenSkin.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
08:29:43: Texture: spheremap.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
08:29:43: Texture: dirt01.jpg: Loading 1 faces(PF_R8G8B8,96x96x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,96x96x1.
08:29:43: Texture: ribbonband.png: Loading 1 faces(PF_R8G8B8,128x1x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x1x1.
08:29:43: Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
08:29:48: Unregistering ResourceManager for type BspLevel
08:29:49: *-*-* OGRE Shutdown
08:29:49: Unregistering ResourceManager for type Compositor
08:29:49: Unregistering ResourceManager for type Font
08:29:49: Unregistering ResourceManager for type Skeleton
08:29:49: Unregistering ResourceManager for type Mesh
08:29:49: Unregistering ResourceManager for type HighLevelGpuProgram
08:29:49: Uninstalling plugin: Cg Program Manager
08:29:49: Plugin successfully uninstalled
08:29:49: Unloading library KlinkCg
08:29:49: Uninstalling plugin: Octree & Terrain Scene Manager
08:29:49: Plugin successfully uninstalled
08:29:49: Unloading library KlinkOctree
08:29:49: Uninstalling plugin: BSP Scene Manager
08:29:49: Plugin successfully uninstalled
08:29:49: Unloading library KlinkBsp
08:29:49: Uninstalling plugin: ParticleFX
08:29:49: Plugin successfully uninstalled
08:29:49: Unloading library KlinkParticleFX
08:29:49: Uninstalling plugin: D3D9 RenderSystem
08:29:49: D3D9 : Shutting down cleanly.
08:29:49: Unregistering ResourceManager for type Texture
08:29:49: Unregistering ResourceManager for type GpuProgram
08:29:49: D3D9 : Direct3D9 Rendering Subsystem destroyed.
08:29:49: Plugin successfully uninstalled
08:29:49: Unloading library KlinkDirect3D9.dll
08:29:49: Uninstalling plugin: GL RenderSystem
08:29:49: *** Stopping Win32GL Subsystem ***
08:29:49: Plugin successfully uninstalled
08:29:49: Unloading library KlinkOpenGL.dll
08:29:49: Unregistering ResourceManager for type Material

Xavyiy

01-06-2009 08:20:28

08:29:43: [Hydrax] Config file version doesn't correspond with Hydrax version.

Here is the error, can you post your .hdx file? and your Prerequisites.h from Hydrax sources(to check if versions are the same, maybe you're using an old .hdx file).

Xavi

compvis

01-06-2009 08:31:45

08:29:43: [Hydrax] Config file version doesn't correspond with Hydrax version.

Here is the error, can you post your .hdx file? and your Prerequisites.h from Hydrax sources(to check if versions are the same, maybe you're using an old .hdx file).

Xavi


thank you for fast reply
This is Beach!.hdx file:


#Hydrax cfg file.

#Hydrax version field
HydraxVersion=0.5.0

#Main options field
<vector3>Position=1500x100x1500
<float>PlanesError=10.5
#Shader mode: 0=HLSL, 1=CG, 2=GLSL
<int>ShaderMode=0
<float>FullReflectionDistance=1e+011
<float>GlobalTransparency=0
<float>NormalDistortion=0.075
<vector3>WaterColor=0.058209x0.535822x0.679105

#Components field
Components=Sun|Foam|Depth|Smooth|Caustics|Underwater|UnderwaterReflections|UnderwaterGodRays

#Sun parameters
<vector3>SunPosition=0x10000x0
<float>SunStrength=1.75
<float>SunArea=150
<vector3>SunColor=1x0.9x0.6

#Foam parameters
<float>FoamMaxDistance=7.5e+007
<float>FoamScale=0.0075
<float>FoamStart=0
<float>FoamTransparency=1

#Depth parameters
<float>DepthLimit=90

#Smooth transitions parameters
<float>SmoothPower=5

#Caustics parameters
<float>CausticsScale=135
<float>CausticsPower=10.5
<float>CausticsEnd=0.8

#God rays parameters
<vector3>GodRaysExposure=0.76x2.46x2.29
<float>GodRaysIntensity=0.015
<float>GodRaysSpeed=5
<int>GodRaysNumberOfRays=100
<float>GodRaysRaysSize=0.03
<bool>GodRaysIntersections=false

#Rtt quality field(0x0 = Auto)
<size>Rtt_Quality_Reflection=0x0
<size>Rtt_Quality_Refraction=0x0
<size>Rtt_Quality_Depth=0x0
<size>Rtt_Quality_URDepth=0x0
<size>Rtt_Quality_GPUNormalMap=0x0

#Module options
Module=ProjectedGridVertex

<float>PG_ChoopyStrength=2.9
<bool>PG_ChoppyWaves=true
<int>PG_Complexity=264
<float>PG_Elevation=50
<bool>PG_ForceRecalculateGeometry=false
<bool>PG_Smooth=false
<float>PG_Strength=25

#Noise options
Noise=Perlin

<int>Perlin_Octaves=8
<float>Perlin_Scale=0.185
<float>Perlin_Falloff=0.49
<float>Perlin_Animspeed=1.4
<float>Perlin_Timemulti=1.27
<float>Perlin_GPU_Strength=2
<vector3>Perlin_GPU_LODParameters=0.5x50x150000


and Prerequisites.h :

/*
--------------------------------------------------------------------------------
This source file is part of Hydrax.
Visit ---

Copyright (C) 2008 Xavier Verguín González <xavierverguin@hotmail.com>
<xavyiy@gmail.com>

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
http://www.gnu.org/copyleft/lesser.txt.
--------------------------------------------------------------------------------
*/

#ifndef _Hydrax_Prerequisites_H_
#define _Hydrax_Prerequisites_H_

/// Include external headers
#include <Ogre.h>

/// Define the dll export qualifier if compiling for Windows
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#ifdef HYDRAX_LIB
#define DllExport __declspec (dllexport)
#else
#define DllExport __declspec (dllimport)
#endif
#else
#define DllExport
#endif

/// Log macro
#def HydraxLOG(msg) Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));

/// Hydrax defines
#define HYDRAX_VERSION_MAJOR 0
#define HYDRAX_VERSION_MINOR 5
#define HYDRAX_VERSION_PATCH 0

#define HYDRAX_RESOURCE_GROUP "Hydrax"

#define HYDRAX_IMAGE_CHECK_PIXELS 0 // See Image.cpp, 1 = Check pixels / 0 = No check pixels
// Use it for debug mode only

#endif

compvis

01-06-2009 09:31:15

Hi,

After recompiling Hydrax 0.5 and intergrating in my project. It appears my log file is better with Hydrax creating and loanding (loaded Caustics). But final scene is still not expected. Insland doesn't sink into the water like image below. What i was wrong ?



My log:


15:27:01: Creating resource group General
15:27:01: Creating resource group Internal
15:27:01: Creating resource group Autodetect
15:27:01: SceneManagerFactory for type 'DefaultSceneManager' registered.
15:27:01: Registering ResourceManager for type Material
15:27:01: Registering ResourceManager for type Mesh
15:27:01: Registering ResourceManager for type Skeleton
15:27:01: MovableObjectFactory for type 'ParticleSystem' registered.
15:27:01: OverlayElementFactory for type Panel registered.
15:27:01: OverlayElementFactory for type BorderPanel registered.
15:27:01: OverlayElementFactory for type TextArea registered.
15:27:01: Registering ResourceManager for type Font
15:27:01: ArchiveFactory for archive type FileSystem registered.
15:27:01: ArchiveFactory for archive type Zip registered.
15:27:01: FreeImage version: 3.10.0
15:27:01: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
15:27:01: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
15:27:01: DDS codec registering
15:27:01: Registering ResourceManager for type HighLevelGpuProgram
15:27:01: Registering ResourceManager for type Compositor
15:27:01: MovableObjectFactory for type 'Entity' registered.
15:27:01: MovableObjectFactory for type 'Light' registered.
15:27:01: MovableObjectFactory for type 'BillboardSet' registered.
15:27:01: MovableObjectFactory for type 'ManualObject' registered.
15:27:01: MovableObjectFactory for type 'BillboardChain' registered.
15:27:01: MovableObjectFactory for type 'RibbonTrail' registered.
15:27:01: *-*-* OGRE Initialising
15:27:01: *-*-* Version 1.6.2 (Shoggoth)
15:27:01: Loading library KlinkOpenGL.dll
15:27:01: Installing plugin: GL RenderSystem
15:27:01: OpenGL Rendering Subsystem created.
15:27:02: Plugin successfully installed
15:27:02: Loading library KlinkDirect3D9.dll
15:27:02: Installing plugin: D3D9 RenderSystem
15:27:02: D3D9 : Direct3D9 Rendering Subsystem created.
15:27:02: D3D9: Driver Detection Starts
15:27:02: D3D9: Driver Detection Ends
15:27:02: Plugin successfully installed
15:27:02: CPU Identifier & Features
15:27:02: -------------------------
15:27:02: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz
15:27:02: * SSE: yes
15:27:02: * SSE2: yes
15:27:02: * SSE3: yes
15:27:02: * MMX: yes
15:27:02: * MMXEXT: yes
15:27:02: * 3DNOW: no
15:27:02: * 3DNOWEXT: no
15:27:02: * CMOV: yes
15:27:02: * TSC: yes
15:27:02: * FPU: yes
15:27:02: * PRO: yes
15:27:02: * HT: no
15:27:02: -------------------------
15:27:02: D3D9 : Subsystem Initialising
15:27:02: ***************************************
15:27:02: *** D3D9 : Subsystem Initialised OK ***
15:27:02: ***************************************
15:27:02: Loading library KlinkParticleFX
15:27:02: Installing plugin: ParticleFX
15:27:02: Particle Emitter Type 'Point' registered
15:27:02: Particle Emitter Type 'Box' registered
15:27:02: Particle Emitter Type 'Ellipsoid' registered
15:27:02: Particle Emitter Type 'Cylinder' registered
15:27:02: Particle Emitter Type 'Ring' registered
15:27:02: Particle Emitter Type 'HollowEllipsoid' registered
15:27:02: Particle Affector Type 'LinearForce' registered
15:27:02: Particle Affector Type 'ColourFader' registered
15:27:02: Particle Affector Type 'ColourFader2' registered
15:27:02: Particle Affector Type 'ColourImage' registered
15:27:02: Particle Affector Type 'ColourInterpolator' registered
15:27:02: Particle Affector Type 'Scaler' registered
15:27:02: Particle Affector Type 'Rotator' registered
15:27:02: Particle Affector Type 'DirectionRandomiser' registered
15:27:02: Particle Affector Type 'DeflectorPlane' registered
15:27:02: Plugin successfully installed
15:27:02: Loading library KlinkBsp
15:27:02: Installing plugin: BSP Scene Manager
15:27:02: SceneManagerFactory for type 'BspSceneManager' registered.
15:27:02: Registering ResourceManager for type BspLevel
15:27:02: Plugin successfully installed
15:27:02: Loading library KlinkOctree
15:27:02: Installing plugin: Octree & Terrain Scene Manager
15:27:02: SceneManagerFactory for type 'OctreeSceneManager' registered.
15:27:02: SceneManagerFactory for type 'TerrainSceneManager' registered.
15:27:02: Plugin successfully installed
15:27:02: Loading library KlinkCg
15:27:02: Installing plugin: Cg Program Manager
15:27:02: Plugin successfully installed
15:27:02: Creating resource group Bootstrap
15:27:02: Added resource location 'media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
15:27:02: Creating resource group Fighter
15:27:02: Added resource location 'Fighter' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Overlay' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Images' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Materials' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Fonts' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Missiles' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Gui' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Hourglass' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/phoenix_aim54c' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/configs' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/imagesets' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/layouts' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/looknfeel' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/schemes' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/phoenix_aim54c' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Terrain' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Terrain/Media' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Ocean' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Ocean/materials/programs' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Ocean/materials/scripts' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Ocean/materials/textures' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Ocean/models' of type 'FileSystem' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Ocean/packs/SkyBoxes.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Y.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/M67.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Gun.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Battleship.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Tank.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Trees.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Fuse.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/ship.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Harp.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Tomahawk.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Grabiel.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/Raketa.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'Fighter/Models/phoenix.zip' of type 'Zip' to resource group 'Fighter'
15:27:02: Added resource location 'media' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/fonts' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/materials/programs' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/materials/scripts' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/materials/textures' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/models' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/overlays' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/particle' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/gui' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location '../Media/' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location '../Media/MyGUI_Media' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location '../Media/MyGUI_Media/Themes' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location '../Media/MyGUI_Media/User' of type 'FileSystem' to resource group 'General'
15:27:02: Added resource location 'media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
15:27:02: Added resource location 'media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
15:27:02: Added resource location 'media/packs/dragon.zip' of type 'Zip' to resource group 'General'
15:27:02: Added resource location 'media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
15:27:02: Added resource location 'media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
15:27:02: Added resource location 'media/packs/skybox.zip' of type 'Zip' to resource group 'General'
15:27:02: Creating resource group Hydrax
15:27:02: Added resource location 'Fighter/Ocean/Hydrax' of type 'FileSystem' to resource group 'Hydrax'
15:27:02: D3D9RenderSystem::_createRenderWindow "Shooting...", 1440x900 fullscreen miscParams: FSAA=0 fullscreen=true resolution=1440x900 vsync=false
15:27:02: D3D9 : Created D3D9 Rendering Window 'Shooting...' : 1440x900, 32bpp
15:27:02: Registering ResourceManager for type Texture
15:27:02: Registering ResourceManager for type GpuProgram
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT16_R
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT32_R
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT16_GR
15:27:02: D3D9: Vertex texture format supported - PF_FLOAT32_GR
15:27:02: RenderSystem capabilities
15:27:02: -------------------------
15:27:02: RenderSystem Name: Direct3D9 Rendering Subsystem
15:27:02: GPU Vendor: nvidia
15:27:02: Device Name: NVIDIA GeForce 9800 GTX/9800 GTX+
15:27:02: Driver Version: 6.14.11.7798
15:27:02: * Fixed function pipeline: yes
15:27:02: * Hardware generation of mipmaps: yes
15:27:02: * Texture blending: yes
15:27:02: * Anisotropic texture filtering: yes
15:27:02: * Dot product texture operation: yes
15:27:02: * Cube mapping: yes
15:27:02: * Hardware stencil buffer: yes
15:27:02: - Stencil depth: 8
15:27:02: - Two sided stencil support: yes
15:27:02: - Wrap stencil values: yes
15:27:02: * Hardware vertex / index buffers: yes
15:27:02: * Vertex programs: yes
15:27:02: * Fragment programs: yes
15:27:02: * Geometry programs: no
15:27:02: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
15:27:02: * Texture Compression: yes
15:27:02: - DXT: yes
15:27:02: - VTC: no
15:27:02: * Scissor Rectangle: yes
15:27:02: * Hardware Occlusion Query: yes
15:27:02: * User clip planes: yes
15:27:02: * VET_UBYTE4 vertex element type: yes
15:27:02: * Infinite far plane projection: yes
15:27:02: * Hardware render-to-texture: yes
15:27:02: * Floating point textures: yes
15:27:02: * Non-power-of-two textures: yes
15:27:02: * Volume textures: yes
15:27:02: * Multiple Render Targets: 4
15:27:02: - With different bit depths: yes
15:27:02: * Point Sprites: yes
15:27:02: * Extended point parameters: yes
15:27:02: * Max Point Size: 8192
15:27:02: * Vertex texture fetch: yes
15:27:02: - Max vertex textures: 4
15:27:02: - Vertex textures shared: no
15:27:02: * Render to Vertex Buffer : no
15:27:02: * DirectX per stage constants: yes
15:27:02: ResourceBackgroundQueue - threading disabled
15:27:02: Particle Renderer Type 'billboard' registered
15:27:02: SceneManagerFactory for type 'BspSceneManager' registered.
15:27:02: Registering ResourceManager for type BspLevel
15:27:02: SceneManagerFactory for type 'OctreeSceneManager' registered.
15:27:02: SceneManagerFactory for type 'TerrainSceneManager' registered.
15:27:02: TerrainSceneManager: Registered a new PageSource for type Heightmap
15:27:02: *-*-* KlinkSound3d Initialization
15:27:02: MovableObjectFactory for type 'KlinkSound3d_Sound' registered.
15:27:02: MovableObjectFactory for type 'KlinkSound3d_Listener' registered.
15:27:02: *-*-* Creating OpenAL
15:27:02: OpenAL Version: 1.1
15:27:02: Available Devices
15:27:02: -----------------
15:27:02: * Generic Software
15:27:03: Choosing: Generic Software
15:27:03: Supported Formats
15:27:03: -----------------
15:27:03: * AL_FORMAT_MONO16, Monophonic Sound
15:27:03: * AL_FORMAT_STEREO16, Stereo Sound
15:27:03: * AL_FORMAT_QUAD16, 4 Channel Sound
15:27:03: * AL_FORMAT_51CHN16, 5.1 Surround Sound
15:27:03: * AL_FORMAT_61CHN16, 6.1 Surround Sound
15:27:03: * AL_FORMAT_71CHN16, 7.1 Surround Sound
15:27:03: EAX 2.0 Detected
15:27:03: EFX Extension Found
15:27:03: Parsing scripts for resource group Autodetect
15:27:03: Finished parsing scripts for resource group Autodetect
15:27:03: Parsing scripts for resource group Bootstrap
15:27:03: Parsing script OgreCore.material
15:27:03: Parsing script OgreProfiler.material
15:27:03: Parsing script Ogre.fontdef
15:27:03: Parsing script OgreDebugPanel.overlay
15:27:03: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
15:27:03: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
15:27:03: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
15:27:03: Font BlueHighwayusing texture size 512x512
15:27:03: Info: Freetype returned null for character 127 in font BlueHighway
15:27:03: Info: Freetype returned null for character 128 in font BlueHighway
15:27:03: Info: Freetype returned null for character 129 in font BlueHighway
15:27:03: Info: Freetype returned null for character 130 in font BlueHighway
15:27:03: Info: Freetype returned null for character 131 in font BlueHighway
15:27:03: Info: Freetype returned null for character 132 in font BlueHighway
15:27:03: Info: Freetype returned null for character 133 in font BlueHighway
15:27:03: Info: Freetype returned null for character 134 in font BlueHighway
15:27:03: Info: Freetype returned null for character 135 in font BlueHighway
15:27:03: Info: Freetype returned null for character 136 in font BlueHighway
15:27:03: Info: Freetype returned null for character 137 in font BlueHighway
15:27:03: Info: Freetype returned null for character 138 in font BlueHighway
15:27:03: Info: Freetype returned null for character 139 in font BlueHighway
15:27:03: Info: Freetype returned null for character 140 in font BlueHighway
15:27:03: Info: Freetype returned null for character 141 in font BlueHighway
15:27:03: Info: Freetype returned null for character 142 in font BlueHighway
15:27:03: Info: Freetype returned null for character 143 in font BlueHighway
15:27:03: Info: Freetype returned null for character 144 in font BlueHighway
15:27:03: Info: Freetype returned null for character 145 in font BlueHighway
15:27:03: Info: Freetype returned null for character 146 in font BlueHighway
15:27:03: Info: Freetype returned null for character 147 in font BlueHighway
15:27:03: Info: Freetype returned null for character 148 in font BlueHighway
15:27:03: Info: Freetype returned null for character 149 in font BlueHighway
15:27:03: Info: Freetype returned null for character 150 in font BlueHighway
15:27:03: Info: Freetype returned null for character 151 in font BlueHighway
15:27:03: Info: Freetype returned null for character 152 in font BlueHighway
15:27:03: Info: Freetype returned null for character 153 in font BlueHighway
15:27:03: Info: Freetype returned null for character 154 in font BlueHighway
15:27:03: Info: Freetype returned null for character 155 in font BlueHighway
15:27:03: Info: Freetype returned null for character 156 in font BlueHighway
15:27:03: Info: Freetype returned null for character 157 in font BlueHighway
15:27:03: Info: Freetype returned null for character 158 in font BlueHighway
15:27:03: Info: Freetype returned null for character 159 in font BlueHighway
15:27:03: Info: Freetype returned null for character 160 in font BlueHighway
15:27:03: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
15:27:03: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
15:27:03: Parsing script OgreLoadingPanel.overlay
15:27:03: Finished parsing scripts for resource group Bootstrap
15:27:03: Parsing scripts for resource group Fighter
15:27:03: Parsing script ETShader.program
15:27:03: Parsing script Fighter.material
15:27:03: Parsing script Cylinder05.mesh.material
15:27:03: Parsing script Cylinder06.mesh.material
15:27:03: Parsing script Cylinder08.mesh.material
15:27:03: Parsing script Cylinder108.mesh.material
15:27:03: Parsing script Cylinder12.mesh.material
15:27:03: Parsing script Cylinder218.mesh.material
15:27:03: Parsing script Line01.mesh.material
15:27:03: Parsing script Line02.mesh.material
15:27:03: Parsing script Line25.mesh.material
15:27:03: Parsing script Line26.mesh.material
15:27:03: Parsing script Line27.mesh.material
15:27:03: Parsing script Line28.mesh.material
15:27:03: Parsing script Line29.mesh.material
15:27:03: Parsing script Line30.mesh.material
15:27:03: Parsing script ETTerrain.material
15:27:03: Parsing script Gui.material
15:27:03: Parsing script Island.material
15:27:03: Parsing script Palm.material
15:27:03: Parsing script SkyBox.material
15:27:03: Parsing script y.material
15:27:03: Parsing script m67.material
15:27:03: Parsing script Gun.mesh.material
15:27:03: Compiler error: fewer parameters expected in Gun.mesh.material(14): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Gun.mesh.material(110): texture_alias must have at most 1 argument
15:27:03: Parsing script Battleship.material
15:27:03: Compiler error: fewer parameters expected in Battleship.material(13): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Battleship.material(93): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Battleship.material(128): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Battleship.material(148): texture_alias must have at most 1 argument
15:27:03: Parsing script Tank.material
15:27:03: Compiler error: fewer parameters expected in Tank.material(150): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Tank.material(188): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Tank.material(240): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Tank.material(412): texture_alias must have at most 1 argument
15:27:03: Parsing script Tree.material
15:27:03: Parsing script Weeping.material
15:27:03: Parsing script Banyan.material
15:27:03: Parsing script Bigyucca.material
15:27:03: Parsing script Scotch.material
15:27:03: Parsing script Westwind.material
15:27:03: Parsing script Ship.material
15:27:03: Compiler error: fewer parameters expected in Ship.material(13): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(35): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(123): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(145): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(248): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(602): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(623): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(646): texture_alias must have at most 1 argument
15:27:03: Compiler error: fewer parameters expected in Ship.material(697): texture_alias must have at most 1 argument
15:27:03: Parsing script Harpoon.material
15:27:03: Parsing script Tomahawk.material
15:27:03: Parsing script Grabiel.mesh.material
15:27:03: Compiler error: fewer parameters expected in Grabiel.mesh.material(92): texture_alias must have at most 1 argument
15:27:03: Parsing script Raketa.material
15:27:03: Parsing script Phoenix.material
15:27:03: Parsing script Fighter.fontdef
15:27:03: Parsing script Gabriel.overlay
15:27:03: Texture: OverlayBgr.png: Loading 1 faces(PF_R8G8B8,400x400x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,400x400x1.
15:27:03: Texture: gabriel.jpg: Loading 1 faces(PF_R8G8B8,124x66x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,124x66x1.
15:27:03: Parsing script Harpoon.overlay
15:27:03: Font FighterFontusing texture size 4096x4096
15:27:03: Info: Freetype returned null for character 32 in font FighterFont
15:27:03: Info: Freetype returned null for character 160 in font FighterFont
15:27:03: Texture: FighterFontTexture: Loading 1 faces(PF_BYTE_LA,4096x4096x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,4096x4096x1.
15:27:03: Texture: tomahawk.jpg: Loading 1 faces(PF_R8G8B8,124x66x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,124x66x1.
15:27:03: Parsing script Loading.overlay
15:27:03: Texture: Progress.png: Loading 1 faces(PF_R8G8B8,400x69x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,400x69x1.
15:27:03: Parsing script Tomahawk.overlay
15:27:03: Finished parsing scripts for resource group Fighter
15:27:03: Parsing scripts for resource group General
15:27:03: Parsing script Examples.program
15:27:03: Parsing script StdQuad_vp.program
15:27:03: Parsing script deferred.glsl.program
15:27:03: Parsing script deferred.hlsl.program
15:27:03: Parsing script deferred.program
15:27:03: Parsing script deferred_post_ambient.program
15:27:03: Parsing script deferred_post_debug.glsl.program
15:27:03: Parsing script deferred_post_debug.hlsl.program
15:27:03: Parsing script deferred_post_debug.program
15:27:03: Parsing script deferred_post_minilight.glsl.program
15:27:03: Parsing script deferred_post_minilight.hlsl.program
15:27:03: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
15:27:03: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
15:27:03: Parsing script deferred_post_minilight.program
15:27:03: Parsing script deferred_post_multipass.glsl.program
15:27:03: Parsing script deferred_post_multipass.hlsl.program
15:27:03: Parsing script deferred_post_onepass.glsl.program
15:27:03: Parsing script deferred_post_onepass.hlsl.program
15:27:03: Parsing script deferred_post_vs.program
15:27:03: Parsing script ASCII.material
15:27:03: Parsing script ASMSwizzle.material
15:27:03: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
15:27:03: Parsing script BlackAndWhite.material
15:27:03: Parsing script Bloom.material
15:27:03: Parsing script Bloom2.material
15:27:03: Parsing script CGSwizzle.material
15:27:03: Parsing script DepthShadowmap.material
15:27:04: Parsing script Dither.material
15:27:04: Parsing script DOF.material
15:27:04: Parsing script Embossed.material
15:27:04: Parsing script Example-DynTex.material
15:27:04: Parsing script Example-Water.material
15:27:04: Parsing script Example.material
15:27:04: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
15:27:04: Compiler error: invalid parameters in Example.material(762): setting of constant failed
15:27:04: Parsing script Examples-Advanced.material
15:27:04: Parsing script facial.material
15:27:04: Parsing script Glass.material
15:27:04: Parsing script GLSLSwizzle.material
15:27:04: Parsing script Halftone.material
15:27:04: Parsing script hdr.material
15:27:04: Parsing script HeatVision.material
15:27:04: Parsing script Hurt.material
15:27:04: Parsing script instancing.material
15:27:04: Parsing script Invert.material
15:27:04: Parsing script IsoSurf.material
15:27:04: Parsing script Laplace.material
15:27:04: Parsing script MotionBlur.material
15:27:04: Parsing script MRTtest.material
15:27:04: Parsing script NightVision.material
15:27:04: Parsing script Ocean.material
15:27:04: Parsing script OffsetMapping.material
15:27:04: Parsing script Ogre.material
15:27:04: Parsing script OldMovie.material
15:27:04: Parsing script OldTV.material
15:27:04: Parsing script ParticleGS.material
15:27:04: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
15:27:04: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : The compile returned an error.
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
15:27:04: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
15:27:04: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : The compile returned an error.
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
15:27:04: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
15:27:04: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : The compile returned an error.
(323) : fatal error C9999: unexpected cast operation
in CgProgram::loadFromSource at ..\src\OgreCgProgramManagerDll.cpp (line 66)
15:27:04: Parsing script Posterize.material
15:27:04: Parsing script pssm.material
15:27:04: Parsing script RadialBlur.material
15:27:04: Parsing script RZR-002.material
15:27:04: Parsing script SharpenEdges.material
15:27:04: Parsing script smoke.material
15:27:04: Parsing script Tiling.material
15:27:04: Parsing script VarianceShadowmap.material
15:27:04: Parsing script deferred.material
15:27:04: Parsing script deferreddemo.material
15:27:04: Parsing script deferred_post_ambient.material
15:27:04: Parsing script deferred_post_debug.material
15:27:04: Parsing script deferred_post_minilight.material
15:27:04: Parsing script deferred_post_multipass.material
15:27:04: Parsing script deferred_post_onepass.material
15:27:04: Parsing script ROOM.material
15:27:04: Parsing script RomanBath.material
15:27:04: Parsing script emitted_emitter.particle
15:27:04: Parsing script Example-Water.particle
15:27:04: Parsing script Example.particle
15:27:04: Parsing script smoke.particle
15:27:04: Parsing script Examples.compositor
15:27:04: Parsing script deferred.compositor
15:27:04: Parsing script sample.fontdef
15:27:04: Parsing script Compositor.overlay
15:27:04: Parsing script DP3.overlay
15:27:04: Parsing script Example-CubeMapping.overlay
15:27:04: Parsing script Example-DynTex.overlay
15:27:04: Parsing script Example-Water.overlay
15:27:04: Parsing script Shadows.overlay
15:27:04: Finished parsing scripts for resource group General
15:27:04: Parsing scripts for resource group Hydrax
15:27:04: Finished parsing scripts for resource group Hydrax
15:27:04: Parsing scripts for resource group Internal
15:27:04: Finished parsing scripts for resource group Internal
15:27:05: Added resource location '../../Media/MyGUI_Media/Themes' of type 'FileSystem' to resource group 'General'
15:27:05: Texture: core.png: Loading 1 faces(PF_A8R8G8B8,1024x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x256x1.
15:27:05: Texture: core_pointer.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
15:27:05: OGRE EXCEPTION(1000:KlinkNetException): ****** KlinkNetException ****** There were problems binding the socket. WSAGetLastError returned : WSAEADDRNOTAVAIL - [Cannot assign requested address. The requested address (either local or remote) is not valid in its context (either address or port).] in KlinkNetBase::Init at .\KlinkNetBase.cpp (line 268)
15:27:07: Texture: Default_Texture: Loading 1 faces(PF_BYTE_LA,1024x128x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,1024x128x1.
15:27:07: Mesh: Loading Tomahawk.mesh.
15:27:07: Mesh: Loading Body.mesh.
15:27:07: Mesh: Loading Harpoon.mesh.
15:27:07: WARNING: Harpoon.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
15:27:07: Mesh: Loading Gun.mesh.
15:27:07: WARNING: Gun.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
15:27:07: Texture: STEELPLT.JPG: Loading 1 faces(PF_R8G8B8,756x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,756x512x1.
15:27:07: Texture: PLATEOX2.JPG: Loading 1 faces(PF_R8G8B8,378x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,378x256x1.
15:27:07: Texture: ct_fr.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: Texture: ct_bk.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: Texture: ct_lf.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: Texture: ct_rt.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: Texture: ct_up.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: Texture: ct_dn.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: [Hydrax] Hydrax created.
15:27:07: [Hydrax] Home.hdx loaded.
15:27:07: [Hydrax] Creating module...
15:27:07: [Hydrax] Creating ProjectedGridVertex module.
15:27:07: [Hydrax] ProjectedGridVertex created.
15:27:07: [Hydrax] Module created.
15:27:07: [Hydrax] Initializating RTT Manager...
15:27:07: [Hydrax] RTT manager initialized.
15:27:07: [Hydrax] Registring device restored listener...
15:27:07: [Hydrax] Device restored listener registred.
15:27:07: [Hydrax] Creating materials...
15:27:07: [Hydrax] Creating water material...
15:27:07: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 5 generated mipmaps from Image. Internal format is PF_L8,256x1x1.
15:27:07: Texture: Foam.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:07: [Hydrax] Water material created.
15:27:07: [Hydrax] Creating depth material...
15:27:07: Texture: Caustics_0.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_1.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_2.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_3.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_4.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_5.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_6.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_7.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_8.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_9.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_10.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_11.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_12.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_13.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_14.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_15.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_16.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_17.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_18.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_19.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_20.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_21.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_22.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_23.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_24.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_25.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_26.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_27.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_28.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_29.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_30.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: Texture: Caustics_31.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:27:07: [Hydrax] Depth material created.
15:27:07: [Hydrax] Creating underwater material...
15:27:08: Texture: UnderwaterDistortion.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:08: [Hydrax] Underwater material created.
15:27:08: [Hydrax] Materials created.
15:27:08: [Hydrax] Creating god rays...
15:27:08: [Hydrax] Perlin destroyed.
15:27:08: [Hydrax] God rays created.
15:27:08: [Hydrax] Creating water mesh...
15:27:08: [Hydrax] Water mesh created.
15:27:08: TerrainSceneManager: Activated PageSource Heightmap
15:27:08: Texture: Sand.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:08: Texture: Sand.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:27:08: Texture: SandGrass.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
15:27:08: Texture: SandGrass.png: Loading 1 faces(PF_R8G8B8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
15:27:08: Mesh: Loading Palm.mesh.
15:27:08: Texture: Palm.tga: Loading 1 faces(PF_A8R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
15:27:08: Mesh: Loading ogrehead.mesh.
15:27:08: Texture: WeirdEye.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:08: Texture: GreenSkin.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:08: Texture: spheremap.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:08: Texture: dirt01.jpg: Loading 1 faces(PF_R8G8B8,96x96x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,96x96x1.
15:27:08: Texture: ribbonband.png: Loading 1 faces(PF_R8G8B8,128x1x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x1x1.
15:27:08: Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:09: !!! Direct3D Device Lost!
15:27:09: Releasing D3D9 default pool texture: 04176E80_Canvas
15:27:09: Released D3D9 default pool texture: 04176E80_Canvas
15:27:09: Releasing D3D9 default pool texture: 0415F4F8_Canvas
15:27:09: Released D3D9 default pool texture: 0415F4F8_Canvas
15:27:09: Releasing D3D9 default pool texture: 040542D8_Canvas
15:27:09: Released D3D9 default pool texture: 040542D8_Canvas
15:27:09: Releasing D3D9 default pool texture: 04176AD0_Canvas
15:27:09: Released D3D9 default pool texture: 04176AD0_Canvas
15:27:09: Releasing D3D9 default pool texture: HydraxReflectionMap
15:27:09: Released D3D9 default pool texture: HydraxReflectionMap
15:27:09: Releasing D3D9 default pool texture: 04181350_Canvas
15:27:09: Released D3D9 default pool texture: 04181350_Canvas
15:27:09: Releasing D3D9 default pool texture: HydraxDepthMap
15:27:09: Released D3D9 default pool texture: HydraxDepthMap
15:27:09: Releasing D3D9 default pool texture: HydraxRefractionMap
15:27:09: Released D3D9 default pool texture: HydraxRefractionMap
15:27:09: D3D9TextureManager released:
15:27:09: 8 unmanaged textures
15:27:09: D3D9HardwareBufferManager released:
15:27:09: 16 unmanaged vertex buffers
15:27:09: 0 unmanaged index buffers
15:27:09: Reset device ok w:1440 h:900
15:27:09: Recreating D3D9 default pool texture: 04176E80_Canvas
15:27:09: Recreated D3D9 default pool texture: 04176E80_Canvas
15:27:09: Recreating D3D9 default pool texture: 0415F4F8_Canvas
15:27:09: Recreated D3D9 default pool texture: 0415F4F8_Canvas
15:27:09: Recreating D3D9 default pool texture: 040542D8_Canvas
15:27:09: Recreated D3D9 default pool texture: 040542D8_Canvas
15:27:09: Recreating D3D9 default pool texture: 04176AD0_Canvas
15:27:09: Recreated D3D9 default pool texture: 04176AD0_Canvas
15:27:09: Recreating D3D9 default pool texture: HydraxReflectionMap
15:27:09: Recreated D3D9 default pool texture: HydraxReflectionMap
15:27:09: Recreating D3D9 default pool texture: 04181350_Canvas
15:27:09: Recreated D3D9 default pool texture: 04181350_Canvas
15:27:09: Recreating D3D9 default pool texture: HydraxDepthMap
15:27:09: Recreated D3D9 default pool texture: HydraxDepthMap
15:27:09: Recreating D3D9 default pool texture: HydraxRefractionMap
15:27:09: Recreated D3D9 default pool texture: HydraxRefractionMap
15:27:09: D3D9TextureManager recreated:
15:27:09: 8 unmanaged textures
15:27:09: D3D9HardwareBufferManager recreated:
15:27:09: 16 unmanaged vertex buffers
15:27:09: 0 unmanaged index buffers
15:27:09: !!! Direct3D Device successfully restored.
15:29:07: Unregistering ResourceManager for type BspLevel
15:29:07: *-*-* OGRE Shutdown
15:29:07: Unregistering ResourceManager for type Compositor
15:29:07: Unregistering ResourceManager for type Font
15:29:07: Unregistering ResourceManager for type Skeleton
15:29:07: Unregistering ResourceManager for type Mesh
15:29:07: Unregistering ResourceManager for type HighLevelGpuProgram
15:29:07: Uninstalling plugin: Cg Program Manager
15:29:07: Plugin successfully uninstalled
15:29:07: Unloading library KlinkCg
15:29:07: Uninstalling plugin: Octree & Terrain Scene Manager
15:29:07: Plugin successfully uninstalled
15:29:07: Unloading library KlinkOctree
15:29:07: Uninstalling plugin: BSP Scene Manager
15:29:07: Plugin successfully uninstalled
15:29:07: Unloading library KlinkBsp
15:29:07: Uninstalling plugin: ParticleFX
15:29:07: Plugin successfully uninstalled
15:29:07: Unloading library KlinkParticleFX
15:29:07: Uninstalling plugin: D3D9 RenderSystem
15:29:08: D3D9 : Shutting down cleanly.
15:29:08: Unregistering ResourceManager for type Texture
15:29:08: Unregistering ResourceManager for type GpuProgram
15:29:08: D3D9 : Direct3D9 Rendering Subsystem destroyed.
15:29:08: Plugin successfully uninstalled
15:29:08: Unloading library KlinkDirect3D9.dll
15:29:08: Uninstalling plugin: GL RenderSystem
15:29:08: *** Stopping Win32GL Subsystem ***
15:29:08: Plugin successfully uninstalled
15:29:08: Unloading library KlinkOpenGL.dll
15:29:08: Unregistering ResourceManager for type Material


Prerequisites.h file:

/*
--------------------------------------------------------------------------------
This source file is part of Hydrax.
Visit ---

Copyright (C) 2008 Xavier Verguín González <xavierverguin@hotmail.com>
<xavyiy@gmail.com>

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
http://www.gnu.org/copyleft/lesser.txt.
--------------------------------------------------------------------------------
*/

#ifndef _Hydrax_Prerequisites_H_
#define _Hydrax_Prerequisites_H_

/// Include external headers
#include <Ogre.h>

/// Define the dll export qualifier if compiling for Windows
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#ifdef HYDRAX_LIB
#define DllExport __declspec (dllexport)
#else
#define DllExport __declspec (dllimport)
#endif
#else
#define DllExport
#endif

/// Log macro
#define HydraxLOG(msg) Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));

/// Hydrax defines
#define HYDRAX_VERSION_MAJOR 0
#define HYDRAX_VERSION_MINOR 5
#define HYDRAX_VERSION_PATCH 0

#define HYDRAX_RESOURCE_GROUP "Hydrax"

#define HYDRAX_IMAGE_CHECK_PIXELS 0 // See Image.cpp, 1 = Check pixels / 0 = No check pixels
// Use it for debug mode only

#endif

Xavyiy

01-06-2009 12:33:41

Don't worry about caustics, them are enabled, the problem is that the .hdx file is not loaded as expected, can you rename it to "test.hdx", just remove the '!' character, maybe that's the problem..