[FIXED] Bug in LoadCfg or HydraxEditor?

raygeee

21-02-2009 14:51:01

Hi there, I found a possible bug while playing with the HydraxEditor.
Everytime I save a configuration with Caustics component enabled and then try to load it via "Open file" the Editor crashes. If I disable the Caustics component in the config file and load it, it works fine. I can then set the Caustics component again without problems. I can reproduce the error at any time.
The log tells me in the last line: OGRE EXCEPTION(2:InvalidParametersException): Parameter called uCausticsPower does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 906)

Here's the config file and the log.
#Hydrax cfg file.

#Hydrax version field
HydraxVersion=0.4.0

#Main options field
<vector3>Position=-5000x100x-5000
<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.139765x0.359464x0.425373

#Components field
Components=Sun|Foam|Depth|Smooth|Caustics|Underwater|#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

#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=4.2
<bool>PG_ChoppyWaves=true
<int>PG_Complexity=256
<float>PG_Elevation=50
<bool>PG_ForceRecalculateGeometry=false
<bool>PG_Smooth=true
<float>PG_Strength=32

#Noise options
Noise=Perlin

<int>Perlin_Octaves=8
<float>Perlin_Scale=0.085
<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



15:46:14: Creating resource group General
15:46:14: Creating resource group Internal
15:46:14: Creating resource group Autodetect
15:46:14: SceneManagerFactory for type 'DefaultSceneManager' registered.
15:46:14: Registering ResourceManager for type Material
15:46:14: Registering ResourceManager for type Mesh
15:46:14: Registering ResourceManager for type Skeleton
15:46:14: MovableObjectFactory for type 'ParticleSystem' registered.
15:46:14: OverlayElementFactory for type Panel registered.
15:46:14: OverlayElementFactory for type BorderPanel registered.
15:46:14: OverlayElementFactory for type TextArea registered.
15:46:14: Registering ResourceManager for type Font
15:46:14: ArchiveFactory for archive type FileSystem registered.
15:46:14: ArchiveFactory for archive type Zip registered.
15:46:14: FreeImage version: 3.9.2
15:46:14: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
15:46:14: 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
15:46:14: DDS codec registering
15:46:14: Registering ResourceManager for type HighLevelGpuProgram
15:46:14: Registering ResourceManager for type Compositor
15:46:14: MovableObjectFactory for type 'Entity' registered.
15:46:14: MovableObjectFactory for type 'Light' registered.
15:46:15: MovableObjectFactory for type 'BillboardSet' registered.
15:46:15: MovableObjectFactory for type 'ManualObject' registered.
15:46:15: MovableObjectFactory for type 'BillboardChain' registered.
15:46:15: MovableObjectFactory for type 'RibbonTrail' registered.
15:46:15: Loading library ogreplugins\RenderSystem_Direct3D9.dll
15:46:15: Installing plugin: D3D9 RenderSystem
15:46:15: D3D9 : Direct3D9 Rendering Subsystem created.
15:46:15: D3D9: Driver Detection Starts
15:46:15: D3D9: Driver Detection Ends
15:46:15: Plugin successfully installed
15:46:15: Loading library ogreplugins\Plugin_OctreeSceneManager.dll
15:46:15: Installing plugin: Octree & Terrain Scene Manager
15:46:15: Plugin successfully installed
15:46:15: Loading library ogreplugins\Plugin_CgProgramManager.dll
15:46:15: Installing plugin: Cg Program Manager
15:46:15: Plugin successfully installed
15:46:15: *-*-* OGRE Initialising
15:46:15: *-*-* Version 1.5.0 (Shoggoth)
15:46:15: Creating resource group Bootstrap
15:46:15: Added resource location '../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
15:46:15: Added resource location '../Media/materials/programs' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location '../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location '../Media/materials/textures' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location '../Media/fonts' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location '../Media/themes' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location '../Media/models' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location 'savedEnv' of type 'FileSystem' to resource group 'General'
15:46:15: Added resource location '../Media/packs/SkyBoxes.zip' of type 'Zip' to resource group 'General'
15:46:15: Creating resource group Hydrax
15:46:15: Added resource location '../Media/Hydrax' of type 'FileSystem' to resource group 'Hydrax'
15:46:15: Added resource location 'saved' of type 'FileSystem' to resource group 'Hydrax'
15:46:15: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
15:46:15: D3D9 : RenderSystem Option: Anti aliasing = None
15:46:15: D3D9 : RenderSystem Option: Floating-point mode = Fastest
15:46:15: D3D9 : RenderSystem Option: Full Screen = Yes
15:46:15: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 6800
15:46:15: D3D9 : RenderSystem Option: VSync = No
15:46:15: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour
15:46:15: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
15:46:16: CPU Identifier & Features
15:46:16: -------------------------
15:46:16: * CPU ID: AuthenticAMD: AMD Athlon(tm) 64 Processor 3700+
15:46:16: * SSE: yes
15:46:16: * SSE2: yes
15:46:16: * SSE3: yes
15:46:16: * MMX: yes
15:46:16: * MMXEXT: yes
15:46:16: * 3DNOW: yes
15:46:16: * 3DNOWEXT: yes
15:46:16: * CMOV: yes
15:46:16: * TSC: yes
15:46:16: * FPU: yes
15:46:16: * PRO: yes
15:46:16: * HT: no
15:46:16: -------------------------
15:46:16: D3D9 : Subsystem Initialising
15:46:16: D3D9RenderSystem::_createRenderWindow "Hydrax editor v0.4", 1024x768 fullscreen miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false
15:46:16: D3D9 : Created D3D9 Rendering Window 'Hydrax editor v0.4' : 1024x768, 32bpp
15:46:17: Registering ResourceManager for type Texture
15:46:17: Registering ResourceManager for type GpuProgram
15:46:17: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
15:46:17: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
15:46:17: D3D9: Vertex texture format supported - PF_FLOAT32_R
15:46:17: RenderSystem capabilities
15:46:17: -------------------------
15:46:17: RenderSystem Name: Direct3D9 Rendering Subsystem
15:46:17: GPU Vendor: nvidia
15:46:17: Device Name: NVIDIA GeForce 6800
15:46:17: Driver Version: 7.15.11.7813
15:46:17: * Fixed function pipeline: yes
15:46:17: * Hardware generation of mipmaps: yes
15:46:17: * Texture blending: yes
15:46:17: * Anisotropic texture filtering: yes
15:46:17: * Dot product texture operation: yes
15:46:17: * Cube mapping: yes
15:46:17: * Hardware stencil buffer: yes
15:46:17: - Stencil depth: 8
15:46:17: - Two sided stencil support: yes
15:46:17: - Wrap stencil values: yes
15:46:17: * Hardware vertex / index buffers: yes
15:46:17: * Vertex programs: yes
15:46:17: * Fragment programs: yes
15:46:17: * 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:46:17: * Texture Compression: yes
15:46:17: - DXT: yes
15:46:17: - VTC: no
15:46:17: * Scissor Rectangle: yes
15:46:17: * Hardware Occlusion Query: yes
15:46:17: * User clip planes: yes
15:46:17: * VET_UBYTE4 vertex element type: yes
15:46:17: * Infinite far plane projection: yes
15:46:17: * Hardware render-to-texture: yes
15:46:17: * Floating point textures: yes
15:46:17: * Non-power-of-two textures: yes
15:46:17: * Volume textures: yes
15:46:17: * Multiple Render Targets: 4
15:46:17: - With different bit depths: no
15:46:17: * Point Sprites: yes
15:46:17: * Extended point parameters: yes
15:46:17: * Max Point Size: 8192
15:46:17: * Vertex texture fetch: yes
15:46:17: - Max vertex textures: 4
15:46:17: - Vertex textures shared: no
15:46:17: * DirectX per stage constants: yes
15:46:17: ***************************************
15:46:17: *** D3D9 : Subsystem Initialised OK ***
15:46:17: ***************************************
15:46:17: ResourceBackgroundQueue - threading disabled
15:46:17: Particle Renderer Type 'billboard' registered
15:46:17: SceneManagerFactory for type 'OctreeSceneManager' registered.
15:46:17: SceneManagerFactory for type 'TerrainSceneManager' registered.
15:46:17: Parsing scripts for resource group Autodetect
15:46:17: Finished parsing scripts for resource group Autodetect
15:46:17: Parsing scripts for resource group Bootstrap
15:46:17: Parsing script OgreCore.material
15:46:17: Finished parsing scripts for resource group Bootstrap
15:46:17: Parsing scripts for resource group General
15:46:17: Parsing script Gui.material
15:46:17: Parsing script Island.material
15:46:17: Parsing script Palm.material
15:46:17: Parsing script SkyBox.material
15:46:17: Finished parsing scripts for resource group General
15:46:17: Parsing scripts for resource group Hydrax
15:46:17: Finished parsing scripts for resource group Hydrax
15:46:17: Parsing scripts for resource group Internal
15:46:17: Finished parsing scripts for resource group Internal
15:46:17: TerrainSceneManager: Registered a new PageSource for type Heightmap
15:46:17: Creating viewport on target 'Hydrax editor v0.4', rendering from camera 'HydraxEditorCam', relative dimensions L: 0 T: 0 W: 1 H: 1 ZOrder: 0
15:46:17: Texture: new_window.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
15:46:17: Texture: close_button.png: Loading 1 faces(PF_A8R8G8B8,20x10x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,20x10x1.
15:46:17: Texture: button.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
15:46:17: Texture: button_pressed.png: Loading 1 faces(PF_A8R8G8B8,69x24x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,69x24x1.
15:46:17: Texture: textentry.png: Loading 1 faces(PF_A8R8G8B8,168x47x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,168x47x1.
15:46:17: Texture: list_border.png: Loading 1 faces(PF_A8R8G8B8,23x21x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,23x21x1.
15:46:18: Texture: scrollbar_h.png: Loading 1 faces(PF_A8R8G8B8,14x14x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,14x14x1.
15:46:18: Texture: scrollbar_v.png: Loading 1 faces(PF_A8R8G8B8,14x14x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,14x14x1.
15:46:18: Texture: menu.png: Loading 1 faces(PF_R8G8B8,44x18x1) with 0 generated mipmaps from Image. Internal format is PF_X8R8G8B8,44x18x1.
15:46:18: Texture: menu_selected.png: Loading 1 faces(PF_R8G8B8,44x16x1) with 0 generated mipmaps from Image. Internal format is PF_X8R8G8B8,44x16x1.
15:46:18: Texture: dropmenu.png: Loading 1 faces(PF_A8R8G8B8,72x27x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,72x27x1.
15:46:18: Texture: spline_border.png: Loading 1 faces(PF_A8R8G8B8,26x15x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,26x15x1.
15:46:18: Texture: progress.png: Loading 1 faces(PF_A8R8G8B8,69x24x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,69x24x1.
15:46:18: Texture: thinborder.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
15:46:18: Texture: attributetitleborder.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
15:46:18: Texture: arrow_up.png: Loading 1 faces(PF_A8R8G8B8,16x4x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x4x1.
15:46:18: Texture: arrow_down.png: Loading 1 faces(PF_A8R8G8B8,16x4x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x4x1.
15:46:18: Texture: arrow_left.png: Loading 1 faces(PF_A8R8G8B8,8x8x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,8x8x1.
15:46:18: Texture: arrow_right.png: Loading 1 faces(PF_A8R8G8B8,8x8x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,8x8x1.
15:46:18: Texture: checker.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
15:46:18: Texture: checkbox.png: Loading 1 faces(PF_A8R8G8B8,14x28x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,14x28x1.
15:46:18: Texture: optionbutton.png: Loading 1 faces(PF_A8R8G8B8,14x28x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,14x28x1.
15:46:18: Texture: evaluator_plus.png: Loading 1 faces(PF_A8R8G8B8,12x6x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,12x6x1.
15:46:18: Texture: evaluator_minus.png: Loading 1 faces(PF_A8R8G8B8,12x6x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,12x6x1.
15:46:18: Texture: menu_arrow.png: Loading 1 faces(PF_A8R8G8B8,8x8x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,8x8x1.
15:46:18: Texture: droplist_arrow.png: Loading 1 faces(PF_A8R8G8B8,16x4x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x4x1.
15:46:18: Texture: colorrange_arrow.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
15:46:18: Texture: file.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
15:46:18: Texture: folder.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
15:46:18: Texture: parent.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
15:46:18: Texture: ct_fr.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:18: Texture: ct_bk.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:18: Texture: ct_lf.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:18: Texture: ct_rt.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:18: Texture: ct_up.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:19: Texture: ct_dn.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:19: [Hydrax] Hydrax created.
15:46:19: [Hydrax] DefaultEditorWater.hdx loaded.
15:46:19: [Hydrax] Creating module...
15:46:19: [Hydrax] Creating ProjectedGridVertex module.
15:46:19: [Hydrax] ProjectedGridVertex created.
15:46:19: [Hydrax] Module created.
15:46:19: [Hydrax] Initializating RTT Manager...
15:46:19: Creating viewport on target 'rtt/48845024', rendering from camera 'HydraxEditorCam', relative dimensions L: 0 T: 0 W: 1 H: 1 ZOrder: 0
15:46:19: Creating viewport on target 'rtt/48845088', rendering from camera 'HydraxEditorCam', relative dimensions L: 0 T: 0 W: 1 H: 1 ZOrder: 0
15:46:19: Creating viewport on target 'rtt/48845152', rendering from camera 'HydraxEditorCam', relative dimensions L: 0 T: 0 W: 1 H: 1 ZOrder: 0
15:46:19: [Hydrax] RTT manager initialized.
15:46:19: [Hydrax] Registring device restored listener...
15:46:19: [Hydrax] Device restored listener registred.
15:46:19: [Hydrax] Creating materials...
15:46:19: [Hydrax] Creating water material...
15:46:19: WARNING: Texture instance 'HydraxReflectionMap' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:19: WARNING: Texture instance 'HydraxRefractionMap' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:19: WARNING: Texture instance 'HydraxDepthMap' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:19: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 5 generated mipmaps from Image. Internal format is PF_L8,256x1x1.
15:46:19: Texture: Foam.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:19: [Hydrax] Water material created.
15:46:19: [Hydrax] Creating depth material...
15:46:19: Texture: Caustics_0.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_1.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_2.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_3.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_4.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_5.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_6.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_7.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_8.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_9.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_10.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_11.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_12.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_13.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_14.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_15.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_16.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_17.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_18.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_19.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_20.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_21.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_22.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_23.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_24.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_25.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_26.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_27.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_28.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_29.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_30.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: Texture: Caustics_31.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
15:46:19: [Hydrax] Depth material created.
15:46:19: [Hydrax] Creating underwater material...
15:46:19: Texture: UnderwaterDistortion.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:46:19: [Hydrax] Underwater material created.
15:46:19: [Hydrax] Materials created.
15:46:19: [Hydrax] Creating god rays...
15:46:19: [Hydrax] Perlin destroyed.
15:46:19: [Hydrax] God rays created.
15:46:19: [Hydrax] Creating water mesh...
15:46:19: WARNING: Mesh instance 'HydraxMesh' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:19: [Hydrax] Water mesh created.
15:46:19: TerrainSceneManager: Activated PageSource Heightmap
15:46:19: Texture: Sand.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:19: Texture: Sand.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
15:46:19: Texture: SandGrass.tga: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
15:46:19: Texture: SandGrass.png: Loading 1 faces(PF_R8G8B8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
15:46:19: Mesh: Loading Palm.mesh.
15:46:19: Texture: Palm.tga: Loading 1 faces(PF_A8R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
15:46:19: TopMenu window added.
15:46:19: WOptionsWindow window added.
15:46:19: WParametersWindow window added.
15:46:19: EnvironementWindow window added.
15:46:19: DebugWindow window added.
15:46:19: TopMenu window created.
15:46:19: WOptionsWindow window created.
15:46:19: WParametersWindow window created.
15:46:19: EnvironementWindow window created.
15:46:19: DebugWindow window created.
15:46:19: *** Initializing OIS ***
15:46:20: WARNING: Texture instance '_Gui_Brush_Texture_0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Texture_0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Target_0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Texture_2' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Texture_1' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Target_1' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Target_2' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:20: WARNING: Texture instance 'Gui_Target_3' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:22: WARNING: Texture instance 'Gui_Target_4' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:22: WARNING: Texture instance 'Gui_Target_5' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:23: Render Target 'rtt/128897728' Average FPS: 0 Best FPS: 0 Worst FPS: 999
15:46:28: [Hydrax] Creating ProjectedGridVertex module.
15:46:28: [Hydrax] ProjectedGridVertex created.
15:46:28: [Hydrax] Updating water mesh...
15:46:28: [Hydrax] Deleting water mesh...
15:46:28: [Hydrax] Water mesh deleted.
15:46:28: [Hydrax] Creating water mesh...
15:46:28: WARNING: Mesh instance 'HydraxMesh' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:28: [Hydrax] Water mesh created.
15:46:28: [Hydrax] Module set.
15:46:28: [Hydrax] PGHighQuali.hdx loaded.
15:46:28: [Hydrax] Creating water material...
15:46:28: [Hydrax] Water material created.
15:46:28: [Hydrax] Creating depth material...
15:46:28: [Hydrax] Depth material created.
15:46:28: [Hydrax] Creating underwater material...
15:46:28: [Hydrax] Underwater material created.
15:46:28: Creating viewport on target 'rtt/128898304', rendering from camera 'HydraxEditorCam', relative dimensions L: 0 T: 0 W: 1 H: 1 ZOrder: 0
15:46:28: [Hydrax] Perlin destroyed.
15:46:28: Render Target 'rtt/128898304' Average FPS: 0 Best FPS: 0 Worst FPS: 999
15:46:28: Creating viewport on target 'rtt/128898304', rendering from camera 'HydraxEditorCam', relative dimensions L: 0 T: 0 W: 1 H: 1 ZOrder: 0
15:46:28: [Hydrax] Creating water material...
15:46:28: WARNING: Texture instance 'HydraxDepthMap' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
15:46:28: [Hydrax] Water material created.
15:46:28: [Hydrax] Creating depth material...
15:46:28: [Hydrax] Depth material created.
15:46:28: [Hydrax] Creating underwater material...
15:46:28: [Hydrax] Underwater material created.
15:46:28: Render Target 'rtt/48845152' Average FPS: 42.1341 Best FPS: 43.3925 Worst FPS: 26.8924
15:46:28: OGRE EXCEPTION(2:InvalidParametersException): Parameter called uCausticsPower does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 906)

Xavyiy

21-02-2009 15:16:23

I will looking into, thanks;)!

raygeee

21-02-2009 15:29:15

I've got it narrowed down a little:
If I just add the component "UnderwaterReflections", it loads perfectly and doesn't crash. But without it, there's the crash.

Works: Components=Sun|Foam|Depth|Smooth|Caustics|Underwater|UnderwaterReflections
Crash: Components=Sun|Foam|Depth|Smooth|Caustics|Underwater

Xavyiy

24-02-2009 10:46:21

Bug fixed, it was a problem in Hydrax::setCausticsPower

Xavi

raygeee

24-02-2009 18:41:45

Thanks.

I added a prefix to the forum thread.