Hydrax v0.4 - New version released + Editor!

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Locked
Infuse
Gnoblar
Posts: 18
Joined: Thu Mar 20, 2008 1:32 am

Post by Infuse »

Xavyiy
PostPosted: Tue Apr 01, 2008 4:26 pm Post subject:
Infuse wrote:
Hey ok...i finally got my stuff to build but now i get an error saying that it can't find the material called sky/clubtropicana. Now i'm wondering if its not included in the package, cuz i can't find it anywhere on my machine

see in: packs/skyboxes.zip
Yes i did check that out, but there is no file with such a name in there. None of these following files are present in skyboxes.zip

Now correct me if i'm wrong, but aren't the below strings (found in main.cpp), names of files for skyboxes?

Code: Select all

Ogre::String mSkyBoxes[_def_SkyBoxNum] = {
	                         "Sky/ClubTropicana",
                             "Sky/Stormy",
                             "Sky/EarlyMorning",
                             "Sky/Evening",
                             "Sky/Clouds"};
And if they are then none of them have files in the earlier said zip folder.

I'm sure its something very simple, but i've tried everything including hard coding the file location but to no avail.
Infuse
Gnoblar
Posts: 18
Joined: Thu Mar 20, 2008 1:32 am

Post by Infuse »

The full error that i'm getting at run-time is below:

Code: Select all

OGRE EXCEPTION(2:InvalidParameters):Sky bow material 
'Sky/ClubTropicana' not found in. SceneManager::setSkyBox at
..\src\OgreSceneManager.cpp (line 1445)
marks
Gnoblar
Posts: 5
Joined: Sun Mar 30, 2008 11:28 pm

Post by marks »

Infuse wrote:The full error that i'm getting at run-time is below:

Code: Select all

OGRE EXCEPTION(2:InvalidParameters):Sky bow material 
'Sky/ClubTropicana' not found in. SceneManager::setSkyBox at
..\src\OgreSceneManager.cpp (line 1445)
So, those text strings are actually names of materials that are found in SkyBox.material (located in the pre-compiled demo or Hydrax source). SkyBox.material uses textures found in the SkyBoxes.zip pack. So it appears that you do not have the SkyBox.material file present, or you have renamed the materials defined therein.
juliusctw
Gremlin
Posts: 159
Joined: Thu Sep 28, 2006 8:15 pm

it looks great

Post by juliusctw »

wow

the water looks great, but too bad it won't run on my linux machine :(
Infuse
Gnoblar
Posts: 18
Joined: Thu Mar 20, 2008 1:32 am

Post by Infuse »

I managed to compile Hydrax on VC++9 Express. However I get the following everytime i try to run.

I get the following exception in OpenGL:

OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 873)

and in DirectX:

OGRE EXCEPTION(3:RenderingAPIException): Failed to DrawPrimitive : An undetermined error occurred in D3D9RenderSystem::_render at ..\src\OgreD3D9RenderSystem.cpp (line 2719)

(all in release mode). Has anyone run into this error or has a solution
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Post by Xavyiy »

Infuse wrote:I managed to compile Hydrax on VC++9 Express. However I get the following everytime i try to run.

I get the following exception in OpenGL:

OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 873)

and in DirectX:

OGRE EXCEPTION(3:RenderingAPIException): Failed to DrawPrimitive : An undetermined error occurred in D3D9RenderSystem::_render at ..\src\OgreD3D9RenderSystem.cpp (line 2719)

(all in release mode). Has anyone run into this error or has a solution
For run it under OpenGL you need set Hydrax::setShaderMode(Hydrax::MaterialManager::SM_CG);

About D3D error I haven't any idea :S
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Re: it looks great

Post by Xavyiy »

juliusctw wrote:wow

the water looks great, but too bad it won't run on my linux machine :(
It should runs under Linux(It runs on Mac), only compile it and not forogotten set: Hydrax::setShaderMode(Hydrax::MaterialManager::SM_CG) ;)
MessiahAndrw
Gnoblar
Posts: 24
Joined: Thu Jun 28, 2007 2:29 pm

Post by MessiahAndrw »

I'm getting a weird clipping effect. I'm constructing Hydrax exactly the same as in the demo (except with setGlobalTransparency set to 0.5), I set a blue skybox before I initialise Hydrax and my other scene objects after. Anyway, it seems that nothing can be drawn over the water (between the camera and the water) since iit either gets clipped or I have some weird depth issue. This is what I'm getting:

Image

Note the sharp line where the clouds suddenly end. The reflection of the clouds in the water is fine. It's not just a cloud issue, all other scene objects are affected too.

I'm calling Update on my Hydrax object once a frame.
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Post by Xavyiy »

MessiahAndrw wrote:I'm getting a weird clipping effect. I'm constructing Hydrax exactly the same as in the demo (except with setGlobalTransparency set to 0.5), I set a blue skybox before I initialise Hydrax and my other scene objects after. Anyway, it seems that nothing can be drawn over the water (between the camera and the water) since iit either gets clipped or I have some weird depth issue. This is what I'm getting:

Image

Note the sharp line where the clouds suddenly end. The reflection of the clouds in the water is fine. It's not just a cloud issue, all other scene objects are affected too.

I'm calling Update on my Hydrax object once a frame.
It's a little difficult identify the problem with this screenshot, if you can send me a binary demo with the problem it would be much easy to catch the problem! I need see it in action.

P.D.: Hydrax 0.3 version is 75% coded:)
nanodust
Gnoblar
Posts: 1
Joined: Tue Apr 08, 2008 4:50 am

linux compiling

Post by nanodust »

hello all.

hydrax looks fantastic, indeed.

yet i don't do win32 - so i took a brief stab at getting it to compile on my linux graphics dev box earlier; i will spend more time on it after current deadline.

meanwhile curious if there is any known reason it *won't* compile in linux; or if it truly is just a matter of making a functional makefile for it (and typical dependencies, etc)

regards

nano
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Re: linux compiling

Post by Xavyiy »

nanodust wrote:hello all.

hydrax looks fantastic, indeed.

yet i don't do win32 - so i took a brief stab at getting it to compile on my linux graphics dev box earlier; i will spend more time on it after current deadline.

meanwhile curious if there is any known reason it *won't* compile in linux; or if it truly is just a matter of making a functional makefile for it (and typical dependencies, etc)

regards

nano
Hydrax should run under linux, you only need to compile it! It have been tested under macosx and it runs ;)!
However, there is a little reflection bug with CG 2.0 and OpenGL(CG bug... I think, because under DX it runs fine).If it's a CG bug(TEX1D related) I'm to try a little hack in order to run it well under GC/OpenGL => MacOSX/Linux.

Xavi
juliusctw
Gremlin
Posts: 159
Joined: Thu Sep 28, 2006 8:15 pm

hey if you manage to compile it in linux

Post by juliusctw »

hey
if you manage to compile it in linux , please share the makefile with us :)
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Post by Xavyiy »

It's possible that another feature that will be implemented in future versions is a decals manager in order to put ship trails, surface vegetables, etc over the water!, not for next release(0.3) but possible for 0.4 or 0.5!

;)
GordonS
Gnoblar
Posts: 2
Joined: Wed Apr 09, 2008 10:03 pm

Exception in demo

Post by GordonS »

Hi,

I'm very new to CGI and Ogre and still learning the fundamentals, so please forgive me if I'm short on knowledge.

I get an exception in the Hydrax demo that might suggest there's a setup porblem with my CPU. I start the demo, select the directx rendered (no OGL yet on this machine) but get just a black display that exits OK with the escape key.

Here's the exception:

Code: Select all

20:33:06: [Hydrax] Hydrax object created.
20:33:06: [Hydrax] Module set.
20:33:06: [Hydrax] Creating module.
20:33:06: [Hydrax] Creating PerlinPGModule module.
20:33:06: [Hydrax] PerlinPGModule created.
20:33:06: [Hydrax] Module created.
20:33:06: [Hydrax] Creating materials,
20:33:06: [Hydrax] Creating water material...
20:33:06: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 896)
20:34:17: *-*-* OGRE Shutdown
And here's the earlier CPU and Graphics stuff that may be relevant.:

Code: Select all

20:33:00: D3D9 : RenderSystem Option: Full Screen = Yes
20:33:00: D3D9 : RenderSystem Option: Rendering Device = SiS 651_661FX_741_760_760GX_M661FX_M661MX_M741_M760_M760GX
20:33:00: D3D9 : RenderSystem Option: VSync = No
20:33:00: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
20:33:00: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
20:33:04: CPU Identifier & Features
20:33:04: -------------------------
20:33:04:  *   CPU ID: AuthenticAMD: AMD Turion(tm) 64 Mobile Technology MT-28
20:33:04:  *      SSE: yes
20:33:04:  *     SSE2: yes
20:33:04:  *     SSE3: yes
20:33:04:  *      MMX: yes
20:33:04:  *   MMXEXT: yes
20:33:04:  *    3DNOW: yes
20:33:04:  * 3DNOWEXT: yes
20:33:04:  *     CMOV: yes
20:33:04:  *      TSC: yes
20:33:04:  *      FPU: yes
20:33:04:  *      PRO: yes
20:33:04:  *       HT: no
20:33:04: -------------------------
20:33:04: D3D9 : Subsystem Initialising
20:33:04: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 800x600 fullscreen  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false 
20:33:04: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
20:33:05: Registering ResourceManager for type Texture
20:33:05: Registering ResourceManager for type GpuProgram
20:33:05: RenderSystem capabilities
20:33:05: -------------------------
20:33:05: RenderSystem Name: Direct3D9 Rendering Subsystem
20:33:05: GPU Vendor: unknown
20:33:05: Device Name: SiS 651_661FX_741_760_760GX_M661FX_M661MX_M741_M760_M760GX
20:33:05: Driver Version: 6.14.10.3620
20:33:05:  * Fixed function pipeline: yes
20:33:05:  * Hardware generation of mipmaps: no
20:33:05:  * Texture blending: yes
20:33:05:  * Anisotropic texture filtering: no
20:33:05:  * Dot product texture operation: yes
20:33:05:  * Cube mapping: yes
20:33:05:  * Hardware stencil buffer: yes
20:33:05:    - Stencil depth: 8
20:33:05:    - Two sided stencil support: no
20:33:05:    - Wrap stencil values: yes
20:33:05:  * Hardware vertex / index buffers: yes
20:33:05:  * Vertex programs: yes
20:33:05:  * Fragment programs: yes
20:33:05:  * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 vs_1_1
20:33:05:  * Texture Compression: yes
20:33:05:    - DXT: yes
20:33:05:    - VTC: no
20:33:05:  * Scissor Rectangle: yes
20:33:05:  * Hardware Occlusion Query: no
20:33:05:  * User clip planes: no
20:33:05:  * VET_UBYTE4 vertex element type: no
20:33:05:  * Infinite far plane projection: yes
20:33:05:  * Hardware render-to-texture: yes
20:33:05:  * Floating point textures: no
20:33:05:  * Non-power-of-two textures: yes (limited)
20:33:05:  * Volume textures: yes
20:33:05:  * Multiple Render Targets: 1
20:33:05:    - With different bit depths: no
20:33:05:  * Point Sprites: yes
20:33:05:  * Extended point parameters: yes
20:33:05:  * Max Point Size: 64
20:33:05:  * Vertex texture fetch: no
20:33:05:  * DirectX per stage constants: no
20:33:05: ***************************************
20:33:05: *** D3D9 : Subsystem Initialised OK ***
20:33:05: ***************************************
Hopefully that's both useful to identify the problem.

Thanks,
Gordon
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Re: Exception in demo

Post by Xavyiy »

@GordonS

Are you using Hydrax::MaterialManager::SM_GLSL ? or SM_CG with a before version than CG 2.0 ? Try with SM_HLSL.

Xavi
entelin
Greenskin
Posts: 121
Joined: Thu Oct 07, 2004 8:38 am

Post by entelin »

I'm really interested in using this for a project I'm working on, I have a few questions.

1. the infinite ocean module, I assume that makes you able to move across the ocean continuously? Since my game involved sailing across areas this will be really needed.

2. I want my game to be able to run on basically anything, very very low system requirements. Is it possible to disable all shaders so that it will run on very low end cards? What are the absolute minimum system requirements?

4. Wind, is it possible to change wind / wave direction smoothly? I will have changing weather, and it would be great to be able to smoothly change the visuals on the water.

3. How would a shore effect be accomplished? a simple but passable effect for water on a beach. I know this is out of scope for your water library, and game specific. However I am sure you have thought about this subject and would be interested in hearing your thoughts.

thanks
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Post by Xavyiy »

entelin wrote:I'm really interested in using this for a project I'm working on, I have a few questions.

1. the infinite ocean module, I assume that makes you able to move across the ocean continuously? Since my game involved sailing across areas this will be really needed.

2. I want my game to be able to run on basically anything, very very low system requirements. Is it possible to disable all shaders so that it will run on very low end cards? What are the absolute minimum system requirements?

4. Wind, is it possible to change wind / wave direction smoothly? I will have changing weather, and it would be great to be able to smoothly change the visuals on the water.

3. How would a shore effect be accomplished? a simple but passable effect for water on a beach. I know this is out of scope for your water library, and game specific. However I am sure you have thought about this subject and would be interested in hearing your thoughts.

thanks
Hi entelin:

1- Yes, it's really infinite, you can read some information about the concept here: http://graphics.cs.lth.se/theses/projects/projgrid/

2- Minimun system requeriment is a graphic card with shader model 2.0
Set the different components is very easy and it can be changed on-the-fly. Example:

Code: Select all

// Set components
		mHydrax->setComponents(
            static_cast<Hydrax::HydraxComponent>(Hydrax::HYDRAX_COMPONENT_SUN    |
                                                 Hydrax::HYDRAX_COMPONENT_FOAM   |
                                                 Hydrax::HYDRAX_COMPONENT_DEPTH  |
                                                 Hydrax::HYDRAX_COMPONENT_SMOOTH |
                                                 Hydrax::HYDRAX_COMPONENT_CAUSTICS ));
3- You can change the noise parameters smoothly and each frame. If you need a especifig noise generation method you can writte your own noise module for hydrax, only overriding the Hydrax::Noise class :), it's easy!

4- You can apply a little "hack" for get foam only on shore, see: http://www.ogre3d.org/phpBB2/viewtopic. ... &start=121

However I advice you wait to 0.3 version wich should be available in some days!
Infuse
Gnoblar
Posts: 18
Joined: Thu Mar 20, 2008 1:32 am

Post by Infuse »

Hey i did what you said and changed the thing for the OpenGL and got the following log... Please show me where i am doin something wrong.
I really wanna use this....


Code: Select all

19:08:24: Creating resource group General
19:08:24: Creating resource group Internal
19:08:24: Creating resource group Autodetect
19:08:24: SceneManagerFactory for type 'DefaultSceneManager' registered.
19:08:24: Registering ResourceManager for type Material
19:08:24: Registering ResourceManager for type Mesh
19:08:24: Registering ResourceManager for type Skeleton
19:08:24: MovableObjectFactory for type 'ParticleSystem' registered.
19:08:24: OverlayElementFactory for type Panel registered.
19:08:24: OverlayElementFactory for type BorderPanel registered.
19:08:24: OverlayElementFactory for type TextArea registered.
19:08:24: Registering ResourceManager for type Font
19:08:24: ArchiveFactory for archive type FileSystem registered.
19:08:24: ArchiveFactory for archive type Zip registered.
19:08:24: FreeImage version: 3.10.0
19:08:24: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
19:08:24: 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
19:08:24: DDS codec registering
19:08:24: Registering ResourceManager for type HighLevelGpuProgram
19:08:24: Registering ResourceManager for type Compositor
19:08:24: MovableObjectFactory for type 'Entity' registered.
19:08:24: MovableObjectFactory for type 'Light' registered.
19:08:24: MovableObjectFactory for type 'BillboardSet' registered.
19:08:24: MovableObjectFactory for type 'ManualObject' registered.
19:08:24: MovableObjectFactory for type 'BillboardChain' registered.
19:08:24: MovableObjectFactory for type 'RibbonTrail' registered.
19:08:24: Loading library .\RenderSystem_Direct3D9
19:08:24: Installing plugin: D3D9 RenderSystem
19:08:24: D3D9 : Direct3D9 Rendering Subsystem created.
19:08:24: D3D9: Driver Detection Starts
19:08:24: D3D9: Driver Detection Ends
19:08:24: Plugin successfully installed
19:08:24: Loading library .\RenderSystem_GL
19:08:24: Installing plugin: GL RenderSystem
19:08:24: OpenGL Rendering Subsystem created.
19:08:24: Plugin successfully installed
19:08:24: Loading library .\Plugin_ParticleFX
19:08:24: Installing plugin: ParticleFX
19:08:24: Particle Emitter Type 'Point' registered
19:08:24: Particle Emitter Type 'Box' registered
19:08:24: Particle Emitter Type 'Ellipsoid' registered
19:08:24: Particle Emitter Type 'Cylinder' registered
19:08:24: Particle Emitter Type 'Ring' registered
19:08:24: Particle Emitter Type 'HollowEllipsoid' registered
19:08:24: Particle Affector Type 'LinearForce' registered
19:08:24: Particle Affector Type 'ColourFader' registered
19:08:24: Particle Affector Type 'ColourFader2' registered
19:08:24: Particle Affector Type 'ColourImage' registered
19:08:24: Particle Affector Type 'ColourInterpolator' registered
19:08:24: Particle Affector Type 'Scaler' registered
19:08:24: Particle Affector Type 'Rotator' registered
19:08:24: Particle Affector Type 'DirectionRandomiser' registered
19:08:24: Particle Affector Type 'DeflectorPlane' registered
19:08:24: Plugin successfully installed
19:08:24: Loading library .\Plugin_BSPSceneManager
19:08:24: Installing plugin: BSP Scene Manager
19:08:24: Plugin successfully installed
19:08:24: Loading library .\Plugin_OctreeSceneManager
19:08:24: Installing plugin: Octree & Terrain Scene Manager
19:08:24: Plugin successfully installed
19:08:24: Loading library .\Plugin_CgProgramManager
19:08:24: Installing plugin: Cg Program Manager
19:08:25: Plugin successfully installed
19:08:25: *-*-* OGRE Initialising
19:08:25: *-*-* Version 1.4.6 (Eihort)
19:08:25: Creating resource group Bootstrap
19:08:25: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
19:08:25: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
19:08:25: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
19:08:25: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
19:08:25: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
19:08:25: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
19:08:25: Added resource location '../../Media/packs/SkyBoxes.zip' of type 'Zip' to resource group 'General'
19:08:25: Creating resource group Hydrax
19:08:25: Added resource location '../../Media/Hydrax' of type 'FileSystem' to resource group 'Hydrax'
19:08:25: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
19:08:25: D3D9 : RenderSystem Option: Anti aliasing = None
19:08:25: D3D9 : RenderSystem Option: Floating-point mode = Fastest
19:08:25: D3D9 : RenderSystem Option: Full Screen = No
19:08:25: D3D9 : RenderSystem Option: Rendering Device = Mobile Intel(R) 945GM Express Chipset Family
19:08:25: D3D9 : RenderSystem Option: VSync = No
19:08:25: D3D9 : RenderSystem Option: Video Mode = 640 x 480 @ 32-bit colour
19:08:42: CPU Identifier & Features
19:08:42: -------------------------
19:08:42:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) Duo CPU      T2250  @ 1.73GHz
19:08:42:  *      SSE: yes
19:08:42:  *     SSE2: yes
19:08:42:  *     SSE3: yes
19:08:42:  *      MMX: yes
19:08:42:  *   MMXEXT: yes
19:08:42:  *    3DNOW: no
19:08:42:  * 3DNOWEXT: no
19:08:42:  *     CMOV: yes
19:08:42:  *      TSC: yes
19:08:42:  *      FPU: yes
19:08:42:  *      PRO: yes
19:08:42:  *       HT: no
19:08:42: -------------------------
19:08:42: *** Starting Win32GL Subsystem ***
19:08:42: GLRenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 colourDepth=32 displayFrequency=0 vsync=false 
19:08:42: Created Win32Window 'OGRE Render Window' : 800x600, 32bpp
19:08:42: GL_VERSION = 1.4.0 - Build 7.14.10.1147
19:08:42: GL_VENDOR = Intel
19:08:42: GL_RENDERER = Intel 945GM
19:08:42: GL_EXTENSIONS = GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_cull_vertex GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_lod_bias GL_EXT_texture_filter_anisotropic GL_EXT_texture3D GL_3DFX_texture_compression_FXT1 GL_IBM_texture_mirrored_repeat GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint 
19:08:42: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control 
19:08:42: ***************************
19:08:42: *** GL Renderer Started ***
19:08:42: ***************************
19:08:42: Registering ResourceManager for type GpuProgram
19:08:42: GL: Using PBuffers for rendering to textures
19:08:42: RenderSystem capabilities
19:08:42: -------------------------
19:08:42:  * Hardware generation of mipmaps: yes
19:08:42:  * Texture blending: yes
19:08:42:  * Anisotropic texture filtering: yes
19:08:42:  * Dot product texture operation: yes
19:08:42:  * Cube mapping: yes
19:08:42:  * Hardware stencil buffer: yes
19:08:42:    - Stencil depth: 8
19:08:42:    - Two sided stencil support: yes
19:08:42:    - Wrap stencil values: yes
19:08:42:  * Hardware vertex / index buffers: yes
19:08:42:  * Vertex programs: yes
19:08:42:    - Max vertex program version: arbvp1
19:08:42:  * Fragment programs: yes
19:08:42:    - Max fragment program version: arbfp1
19:08:42:  * Texture Compression: yes
19:08:42:    - DXT: yes
19:08:42:    - VTC: no
19:08:42:  * Scissor Rectangle: yes
19:08:42:  * Hardware Occlusion Query: no
19:08:42:  * User clip planes: yes
19:08:42:  * VET_UBYTE4 vertex element type: yes
19:08:42:  * Infinite far plane projection: yes
19:08:42:  * Hardware render-to-texture: yes
19:08:42:  * Floating point textures: no
19:08:42:  * Non-power-of-two textures: no
19:08:42:  * Volume textures: yes
19:08:42:  * Multiple Render Targets: 1
19:08:42:  * Point Sprites: no
19:08:42:  * Extended point parameters: yes
19:08:42:  * Max Point Size: 255
19:08:42:  * Vertex texture fetch: yes
19:08:42:    - Max vertex textures: 53207
19:08:42:    - Vertex textures shared: yes
19:08:42: Registering ResourceManager for type Texture
19:08:42: ResourceBackgroundQueue - threading disabled
19:08:42: Particle Renderer Type 'billboard' registered
19:08:42: SceneManagerFactory for type 'BspSceneManager' registered.
19:08:42: Registering ResourceManager for type BspLevel
19:08:42: SceneManagerFactory for type 'OctreeSceneManager' registered.
19:08:42: SceneManagerFactory for type 'TerrainSceneManager' registered.
19:08:42: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
19:08:42: Parsing scripts for resource group Autodetect
19:08:42: Finished parsing scripts for resource group Autodetect
19:08:42: Parsing scripts for resource group Bootstrap
19:08:42: Parsing script OgreCore.material
19:08:42: Parsing script OgreProfiler.material
19:08:42: Parsing script Ogre.fontdef
19:08:42: Parsing script OgreDebugPanel.overlay
19:08:42: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
19:08:42: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
19:08:42: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
19:08:42: Font BlueHighwayusing texture size 512x512
19:08:42: Info: Freetype returned null for character 127 in font BlueHighway
19:08:42: Info: Freetype returned null for character 128 in font BlueHighway
19:08:42: Info: Freetype returned null for character 129 in font BlueHighway
19:08:42: Info: Freetype returned null for character 130 in font BlueHighway
19:08:42: Info: Freetype returned null for character 131 in font BlueHighway
19:08:42: Info: Freetype returned null for character 132 in font BlueHighway
19:08:42: Info: Freetype returned null for character 133 in font BlueHighway
19:08:42: Info: Freetype returned null for character 134 in font BlueHighway
19:08:42: Info: Freetype returned null for character 135 in font BlueHighway
19:08:42: Info: Freetype returned null for character 136 in font BlueHighway
19:08:42: Info: Freetype returned null for character 137 in font BlueHighway
19:08:42: Info: Freetype returned null for character 138 in font BlueHighway
19:08:42: Info: Freetype returned null for character 139 in font BlueHighway
19:08:42: Info: Freetype returned null for character 140 in font BlueHighway
19:08:42: Info: Freetype returned null for character 141 in font BlueHighway
19:08:42: Info: Freetype returned null for character 142 in font BlueHighway
19:08:42: Info: Freetype returned null for character 143 in font BlueHighway
19:08:42: Info: Freetype returned null for character 144 in font BlueHighway
19:08:42: Info: Freetype returned null for character 145 in font BlueHighway
19:08:42: Info: Freetype returned null for character 146 in font BlueHighway
19:08:42: Info: Freetype returned null for character 147 in font BlueHighway
19:08:42: Info: Freetype returned null for character 148 in font BlueHighway
19:08:42: Info: Freetype returned null for character 149 in font BlueHighway
19:08:42: Info: Freetype returned null for character 150 in font BlueHighway
19:08:42: Info: Freetype returned null for character 151 in font BlueHighway
19:08:42: Info: Freetype returned null for character 152 in font BlueHighway
19:08:42: Info: Freetype returned null for character 153 in font BlueHighway
19:08:42: Info: Freetype returned null for character 154 in font BlueHighway
19:08:42: Info: Freetype returned null for character 155 in font BlueHighway
19:08:42: Info: Freetype returned null for character 156 in font BlueHighway
19:08:42: Info: Freetype returned null for character 157 in font BlueHighway
19:08:42: Info: Freetype returned null for character 158 in font BlueHighway
19:08:42: Info: Freetype returned null for character 159 in font BlueHighway
19:08:42: Info: Freetype returned null for character 160 in font BlueHighway
19:08:42: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
19:08:42: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
19:08:42: Parsing script OgreLoadingPanel.overlay
19:08:42: Finished parsing scripts for resource group Bootstrap
19:08:42: Parsing scripts for resource group General
19:08:42: Parsing script OffsetMapping.material
19:08:42: Parsing script SkyBox.material
19:08:42: Finished parsing scripts for resource group General
19:08:42: Parsing scripts for resource group Hydrax
19:08:42: Finished parsing scripts for resource group Hydrax
19:08:42: Parsing scripts for resource group Internal
19:08:42: Finished parsing scripts for resource group Internal
19:08:42: Texture: ct_fr.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: Texture: ct_bk.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: Texture: ct_lf.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: Texture: ct_rt.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: Texture: ct_up.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: Texture: ct_dn.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: [Hydrax] Hydrax object created.
19:08:43: [Hydrax] Module set.
19:08:43: [Hydrax] Creating module.
19:08:43: [Hydrax] Creating PerlinPGModule module.
19:08:43: [Hydrax] PerlinPGModule created.
19:08:43: [Hydrax] Module created.
19:08:43: [Hydrax] Creating materials,
19:08:43: [Hydrax] Creating water material...
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture Reflection. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture Refraction. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture Depth. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 5 hardware generated mipmaps from Image. Internal format is PF_L8,256x1x1.
19:08:43: Texture: Foam.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
19:08:43: [Hydrax] Water material created.
19:08:43: [Hydrax] Creating depth material...
19:08:43: Texture: Caustics_0.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_1.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_2.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_3.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_4.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_5.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_6.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_7.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_8.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_9.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_10.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_11.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_12.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_13.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_14.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_15.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_16.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_17.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_18.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_19.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_20.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_21.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_22.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_23.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_24.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_25.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_26.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_27.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_28.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_29.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_30.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: Texture: Caustics_31.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
19:08:43: [Hydrax] Depth material created.
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture Reflection. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture Refraction. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture Depth. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxReflectionMap' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture HydraxReflectionMap. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxReflectionMap' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxRefractionMap' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture HydraxRefractionMap. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxRefractionMap' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxDepthMap' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: Error loading texture HydraxDepthMap. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxDepthMap' - invalid extension. in GLTexture::loadImpl at ..\src\OgreGLTexture.cpp (line 253)
19:08:43: [Hydrax] Materials created.
19:08:43: [Hydrax] Creating water mesh.
19:08:43: 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.
19:08:43: [Hydrax] Water mesh created
19:08:43: [Hydrax] Creating RTListeners.
19:08:43:  Win32PBuffer::Creating PBuffer of format bits=8 float=false
19:08:43:  Win32PBuffer::PBuffer -- Chosen pixel format rgba=8,8,8,8 depth=24 stencil=8
19:08:43: OGRE EXCEPTION(3:RenderingAPIException): wglShareLists() failed in  Win32PBuffer::createPBuffer at ..\src\OgreWin32RenderTexture.cpp (line 204)
User avatar
Fuinelen
Halfling
Posts: 86
Joined: Thu Mar 31, 2005 7:42 am
Location: Martinique
Contact:

Compiling under Linux

Post by Fuinelen »

After much pain and tears and so on, I finally got hydrax to compile using code:blocks under Ubuntu 7.10.

To begin with :
  • Open the file Hydrax/Hydrax.cbp in C::B
  • Remove src/Hydrax/hydrax.cpp from the project
  • Add the file src/Hydrax/Hydrax.cpp to the project. The upper case H makes all the difference for Linux ;)
in the Project Build Settings
  • Remove all mentions of WIN32, DLL and MINGW
  • adjust the Search Directories paths and the compiler options to your liking
  • make sure OgreMain is going to be linked, and not OgreMain_d
  • remove the linker flags -Wl,--enable-runtime-pseudo-reloc, -Wl,--enable-auto-image-base and -Wl,--add-stdcall-alias
Build the project. You should end up with a file called Hydrax.so in either bin/Debug or bin/Release, depending on your target.

good luck
entelin
Greenskin
Posts: 121
Joined: Thu Oct 07, 2004 8:38 am

Post by entelin »

2- Minimun system requeriment is a graphic card with shader model 2.0
I want my game to run on much more than that, as low as geforce2, is there any chance of a future version being able to scale down to that level? or do you do your animation or something with a vertex program making that essentially impossible?

One alternative I have of course would be to support your water for higher end cards, and then a custom, rather limited one I write for low end stuff.
juliusctw
Gremlin
Posts: 159
Joined: Thu Sep 28, 2006 8:15 pm

before you go too far

Post by juliusctw »

hey entelin

before you go too far with this project, make sure you read the license agreement, it is GPL, so it will force you to opensource your project. It might not be so ideal if you are working on a commercial product.
reptor
Ogre Magi
Posts: 1120
Joined: Wed Nov 15, 2006 7:41 pm
Location: Finland
x 5

Re: before you go too far

Post by reptor »

juliusctw wrote:hey entelin

before you go too far with this project, make sure you read the license agreement, it is GPL, so it will force you to opensource your project. It might not be so ideal if you are working on a commercial product.
Xavyiy wrote:
reptor wrote:
n1000 wrote:Any chance of changing the license from GPL to LGPL?
I second that.

The GPL license means that I can't use Hydrax in my project. If it was LGPL, I would have no problem.

I would like to use Hydrax.

But I understand if the author doesn't want to change the license, it is his work.
Not problem about that, I have been considering for some time ago to change the license to LGPL, so you can use Hydrax in your app; you can consider that Hydrax will be LGPL. At a first time I haven't payed much attention to license, but changing to LGPL license is the best option. ;)

Sorry for my English :roll:
Xavyiy wrote:
n1000 wrote:Thanks a lot! I've been wanting to use Hydrax in my project for some time, but I couldn't because it was GPL and not LGPL. So Hydrax is LGPL now or in a future release?
Now ;)
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Post by Xavyiy »

@Infuse
What Ogre version are you using?

@entelin
Hydrax optics calculations are done in the GPU, consequently only cards with SM 2.0 (And up) should run fine Hydrax, hoverwer you can modiffy shaders(MaterialManager.cpp) and adapt it for simple SM, but I don't know if it's going to work!

@juliusctw
->reptor ;)

Xavi.
User avatar
Fuinelen
Halfling
Posts: 86
Joined: Thu Mar 31, 2005 7:42 am
Location: Martinique
Contact:

Hydrax 4 Linux

Post by Fuinelen »

I can now compile but not run the demo :/
Here is Ogre.log :

Code: Select all

09:54:49: Creating resource group General
09:54:49: Creating resource group Internal
09:54:49: Creating resource group Autodetect
09:54:49: SceneManagerFactory for type 'DefaultSceneManager' registered.
09:54:49: Registering ResourceManager for type Material
09:54:49: Registering ResourceManager for type Mesh
09:54:49: Registering ResourceManager for type Skeleton
09:54:49: MovableObjectFactory for type 'ParticleSystem' registered.
09:54:49: OverlayElementFactory for type Panel registered.
09:54:49: OverlayElementFactory for type BorderPanel registered.
09:54:49: OverlayElementFactory for type TextArea registered.
09:54:49: Registering ResourceManager for type Font
09:54:49: ArchiveFactory for archive type FileSystem registered.
09:54:49: ArchiveFactory for archive type Zip registered.
09:54:49: FreeImage version: 3.9.3
09:54:49: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
09:54:49: 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
09:54:49: DDS codec registering
09:54:49: Registering ResourceManager for type HighLevelGpuProgram
09:54:49: Registering ResourceManager for type Compositor
09:54:49: MovableObjectFactory for type 'Entity' registered.
09:54:49: MovableObjectFactory for type 'Light' registered.
09:54:49: MovableObjectFactory for type 'BillboardSet' registered.
09:54:49: MovableObjectFactory for type 'ManualObject' registered.
09:54:49: MovableObjectFactory for type 'BillboardChain' registered.
09:54:49: MovableObjectFactory for type 'RibbonTrail' registered.
09:54:49: Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
09:54:49: Installing plugin: GL RenderSystem
09:54:49: OpenGL Rendering Subsystem created.
09:54:49: Plugin successfully installed
09:54:49: Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
09:54:49: Installing plugin: ParticleFX
09:54:49: Particle Emitter Type 'Point' registered
09:54:49: Particle Emitter Type 'Box' registered
09:54:49: Particle Emitter Type 'Ellipsoid' registered
09:54:49: Particle Emitter Type 'Cylinder' registered
09:54:49: Particle Emitter Type 'Ring' registered
09:54:49: Particle Emitter Type 'HollowEllipsoid' registered
09:54:49: Particle Affector Type 'LinearForce' registered
09:54:49: Particle Affector Type 'ColourFader' registered
09:54:49: Particle Affector Type 'ColourFader2' registered
09:54:49: Particle Affector Type 'ColourImage' registered
09:54:49: Particle Affector Type 'ColourInterpolator' registered
09:54:49: Particle Affector Type 'Scaler' registered
09:54:49: Particle Affector Type 'Rotator' registered
09:54:49: Particle Affector Type 'DirectionRandomiser' registered
09:54:49: Particle Affector Type 'DeflectorPlane' registered
09:54:49: Plugin successfully installed
09:54:49: Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
09:54:49: Installing plugin: BSP Scene Manager
09:54:49: Plugin successfully installed
09:54:49: Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
09:54:49: Installing plugin: Octree & Terrain Scene Manager
09:54:49: Plugin successfully installed
09:54:49: Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
09:54:49: Installing plugin: Cg Program Manager
09:54:49: Plugin successfully installed
09:54:49: *-*-* OGRE Initialising
09:54:49: *-*-* Version 1.4.7 (Eihort)
09:54:49: Creating resource group Bootstrap
09:54:49: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
09:54:49: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
09:54:49: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
09:54:49: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
09:54:49: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
09:54:49: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
09:54:49: Added resource location '../../Media/packs/SkyBoxes.zip' of type 'Zip' to resource group 'General'
09:54:49: Creating resource group Hydrax
09:54:49: Added resource location '../../Media/Hydrax' of type 'FileSystem' to resource group 'Hydrax'
09:54:53: CPU Identifier & Features
09:54:53: -------------------------
09:54:53:  *   CPU ID: AuthenticAMD: AMD Athlon(tm) XP 2600+
09:54:53:  *      SSE: yes
09:54:53:  *     SSE2: no
09:54:53:  *     SSE3: no
09:54:53:  *      MMX: yes
09:54:53:  *   MMXEXT: yes
09:54:53:  *    3DNOW: yes
09:54:53:  * 3DNOWEXT: yes
09:54:53:  *     CMOV: yes
09:54:53:  *      TSC: yes
09:54:53:  *      FPU: yes
09:54:53:  *      PRO: yes
09:54:53:  *       HT: no
09:54:53: -------------------------
09:54:53: ******************************
*** Starting GLX Subsystem ***
******************************
09:54:53: GLRenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 title=OGRE Render Window 
09:54:53: GLXWindow::create
09:54:53: Parsing miscParams
09:54:53: GLXWindow::create -- Best visual is 36
09:54:54: GL_VERSION = 2.1.2 NVIDIA 169.12
09:54:54: GL_VENDOR = NVIDIA Corporation
09:54:54: GL_RENDERER = GeForce 7800 GS/AGP/SSE/3DNOW!
09:54:54: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
09:54:54: ***************************
09:54:54: *** GL Renderer Started ***
09:54:54: ***************************
09:54:54: Registering ResourceManager for type GpuProgram
09:54:54: GLSL support detected
09:54:54: GL: Using PBuffers for rendering to textures
09:54:54: RenderSystem capabilities
09:54:54: -------------------------
09:54:54:  * Hardware generation of mipmaps: yes
09:54:54:  * Texture blending: yes
09:54:54:  * Anisotropic texture filtering: yes
09:54:54:  * Dot product texture operation: yes
09:54:54:  * Cube mapping: yes
09:54:54:  * Hardware stencil buffer: yes
09:54:54:    - Stencil depth: 8
09:54:54:    - Two sided stencil support: yes
09:54:54:    - Wrap stencil values: yes
09:54:54:  * Hardware vertex / index buffers: yes
09:54:54:  * Vertex programs: yes
09:54:54:    - Max vertex program version: vp40
09:54:54:  * Fragment programs: yes
09:54:54:    - Max fragment program version: fp40
09:54:54:  * Texture Compression: yes
09:54:54:    - DXT: yes
09:54:54:    - VTC: yes
09:54:54:  * Scissor Rectangle: yes
09:54:54:  * Hardware Occlusion Query: yes
09:54:54:  * User clip planes: yes
09:54:54:  * VET_UBYTE4 vertex element type: yes
09:54:54:  * Infinite far plane projection: yes
09:54:54:  * Hardware render-to-texture: yes
09:54:54:  * Floating point textures: yes
09:54:54:  * Non-power-of-two textures: yes
09:54:54:  * Volume textures: yes
09:54:54:  * Multiple Render Targets: 1
09:54:54:  * Point Sprites: yes
09:54:54:  * Extended point parameters: yes
09:54:54:  * Max Point Size: 63.375
09:54:54:  * Vertex texture fetch: yes
09:54:54:    - Max vertex textures: 4
09:54:54:    - Vertex textures shared: yes
09:54:54: Registering ResourceManager for type Texture
09:54:54: Using FSAA from GL_ARB_multisample extension.
09:54:54: ResourceBackgroundQueue - threading disabled
09:54:54: Particle Renderer Type 'billboard' registered
09:54:54: SceneManagerFactory for type 'BspSceneManager' registered.
09:54:54: Registering ResourceManager for type BspLevel
09:54:54: SceneManagerFactory for type 'OctreeSceneManager' registered.
09:54:54: SceneManagerFactory for type 'TerrainSceneManager' registered.
09:54:54: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
09:54:54: Parsing scripts for resource group Autodetect
09:54:54: Finished parsing scripts for resource group Autodetect
09:54:54: Parsing scripts for resource group Bootstrap
09:54:54: Parsing script OgreCore.material
09:54:54: Parsing script OgreProfiler.material
09:54:54: Parsing script Ogre.fontdef
09:54:54: Parsing script OgreDebugPanel.overlay
09:54:54: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
09:54:54: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
09:54:54: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
09:54:54: Font BlueHighwayusing texture size 512x512
09:54:54: Info: Freetype returned null for character 127 in font BlueHighway
09:54:54: Info: Freetype returned null for character 128 in font BlueHighway
09:54:54: Info: Freetype returned null for character 129 in font BlueHighway
09:54:54: Info: Freetype returned null for character 130 in font BlueHighway
09:54:54: Info: Freetype returned null for character 131 in font BlueHighway
09:54:54: Info: Freetype returned null for character 132 in font BlueHighway
09:54:54: Info: Freetype returned null for character 133 in font BlueHighway
09:54:54: Info: Freetype returned null for character 134 in font BlueHighway
09:54:54: Info: Freetype returned null for character 135 in font BlueHighway
09:54:54: Info: Freetype returned null for character 136 in font BlueHighway
09:54:54: Info: Freetype returned null for character 137 in font BlueHighway
09:54:54: Info: Freetype returned null for character 138 in font BlueHighway
09:54:54: Info: Freetype returned null for character 139 in font BlueHighway
09:54:54: Info: Freetype returned null for character 140 in font BlueHighway
09:54:54: Info: Freetype returned null for character 141 in font BlueHighway
09:54:54: Info: Freetype returned null for character 142 in font BlueHighway
09:54:54: Info: Freetype returned null for character 143 in font BlueHighway
09:54:54: Info: Freetype returned null for character 144 in font BlueHighway
09:54:54: Info: Freetype returned null for character 145 in font BlueHighway
09:54:54: Info: Freetype returned null for character 146 in font BlueHighway
09:54:54: Info: Freetype returned null for character 147 in font BlueHighway
09:54:54: Info: Freetype returned null for character 148 in font BlueHighway
09:54:54: Info: Freetype returned null for character 149 in font BlueHighway
09:54:54: Info: Freetype returned null for character 150 in font BlueHighway
09:54:54: Info: Freetype returned null for character 151 in font BlueHighway
09:54:54: Info: Freetype returned null for character 152 in font BlueHighway
09:54:54: Info: Freetype returned null for character 153 in font BlueHighway
09:54:54: Info: Freetype returned null for character 154 in font BlueHighway
09:54:54: Info: Freetype returned null for character 155 in font BlueHighway
09:54:54: Info: Freetype returned null for character 156 in font BlueHighway
09:54:54: Info: Freetype returned null for character 157 in font BlueHighway
09:54:54: Info: Freetype returned null for character 158 in font BlueHighway
09:54:54: Info: Freetype returned null for character 159 in font BlueHighway
09:54:54: Info: Freetype returned null for character 160 in font BlueHighway
09:54:54: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
09:54:54: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
09:54:54: Parsing script OgreLoadingPanel.overlay
09:54:54: Finished parsing scripts for resource group Bootstrap
09:54:54: Parsing scripts for resource group General
09:54:54: Parsing script Examples.program
09:54:54: GLSL compiling: Ogre/BasicVertexPrograms/AmbientOneTextureGLSL
09:54:54: GLSL compiled : Ogre/BasicVertexPrograms/AmbientOneTextureGLSL
09:54:54: GLSL compiling: Ogre/HardwareSkinningTwoWeightsGLSL
09:54:54: GLSL compiled : Ogre/HardwareSkinningTwoWeightsGLSL
09:54:54: Parsing script StdQuad_vp.program
09:54:54: Parsing script Hurt.material
09:54:54: Parsing script RZR-002.material
09:54:54: Parsing script Plateau.material
09:54:54: Parsing script hdr.material
09:54:54: GLSL compiling: Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fp
09:54:54: GLSL compiling: Ogre/Compositor/StdQuad_GLSL_vp
09:54:54: GLSL compiled : Ogre/Compositor/StdQuad_GLSL_vp
09:54:54: GLSL compiling: Ogre/Compositor/HDR/downscale3x3GLSL_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/downscale3x3GLSL_fp
09:54:54: GLSL compiling: Ogre/Compositor/HDR/utils_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/utils_fp
09:54:54: GLSL compiling: Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fp
09:54:54: GLSL compiling: Ogre/Compositor/HDR/bloomGLSL_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/bloomGLSL_fp
09:54:54: GLSL compiling: Ogre/Compositor/HDR/utils_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/utils_fp
09:54:54: GLSL compiling: Ogre/Compositor/HDR/finaltonemappingGLSL_fp
09:54:54: GLSL compiled : Ogre/Compositor/HDR/finaltonemappingGLSL_fp
09:54:54: Parsing script Embossed.material
09:54:54: Parsing script HeatVision.material
09:54:54: Parsing script Example-Water.material
09:54:54: Parsing script Ocean.material
09:54:54: GLSL compiling: GLSL/OceanVS
09:54:54: GLSL compiled : GLSL/OceanVS
09:54:54: GLSL compiling: GLSL/OceanFS
09:54:54: GLSL compiled : GLSL/OceanFS
09:54:54: GLSL compiling: GLSL/Ocean2VS
09:54:54: GLSL compiled : GLSL/Ocean2VS
09:54:54: GLSL compiling: GLSL/Ocean2FS
09:54:54: GLSL compiled : GLSL/Ocean2FS
09:54:54: Parsing script Example-DynTex.material
09:54:54: Parsing script Laplace.material
09:54:54: Parsing script BlackAndWhite.material
09:54:54: Parsing script smoke.material
09:54:54: Parsing script Examples-Advanced.material
09:54:55: Parsing script Tiling.material
09:54:55: Parsing script VarianceShadowmap.material
09:54:55: Parsing script instancing.material
09:54:55: GLSL compiling: InstancingGLSL
09:54:55: GLSL compiled : InstancingGLSL
09:54:55: GLSL compiling: InstancingShadowCasterGLSL
09:54:55: GLSL compiled : InstancingShadowCasterGLSL
09:54:55: GLSL compiling: CrowdGLSL
09:54:55: GLSL compiled : CrowdGLSL
09:54:55: GLSL compiling: CrowdShadowCasterGLSL
09:54:55: GLSL compiled : CrowdShadowCasterGLSL
09:54:55: Parsing script Bloom.material
09:54:55: GLSL compiling: Blur_ps_glsl
09:54:55: GLSL compiled : Blur_ps_glsl
09:54:55: GLSL compiling: Blur0_vs_glsl
09:54:55: GLSL compiled : Blur0_vs_glsl
09:54:55: GLSL compiling: Blur1_vs_glsl
09:54:55: GLSL compiled : Blur1_vs_glsl
09:54:55: Parsing script SharpenEdges.material
09:54:55: Parsing script tempbot.material
09:54:55: Parsing script female.material
09:54:55: Parsing script SkyBox.material
09:54:55: Parsing script OldMovie.material
09:54:55: Parsing script DepthShadowmap.material
09:54:55: GLSL compiling: Ogre/DepthShadowmap/CasterVP_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/CasterVP_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/ReceiverVP_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/ReceiverVP_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/ReceiverFP_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/ReceiverFP_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/ReceiverFPPCF_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/ReceiverFPPCF_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/NormalMapReceiverVP_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverVP_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/NormalMapReceiverFP_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFP_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/NormalMapReceiverFPPCF_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFPPCF_GLSL
09:54:55: GLSL compiling: Ogre/DepthShadowmap/CasterFP_GLSL
09:54:55: GLSL compiled : Ogre/DepthShadowmap/CasterFP_GLSL
09:54:55: Parsing script DOF.material
09:54:55: Parsing script facial.material
09:54:55: Parsing script OldTV.material
09:54:55: Parsing script Example.material
09:54:55: GLSL compiling: Ogre/HardwareSkinningTwoWeightsShadowCasterGLSL
09:54:55: GLSL compiled : Ogre/HardwareSkinningTwoWeightsShadowCasterGLSL
09:54:55: Parsing script Invert.material
09:54:55: Parsing script Glass.material
09:54:55: Parsing script MotionBlur.material
09:54:55: Parsing script rbcity.material
09:54:55: Parsing script Posterize.material
09:54:55: Parsing script OffsetMapping.material
09:54:55: GLSL compiling: Examples/OffsetMappingIntegratedShadowsFPglsl
09:54:55: GLSL compiled : Examples/OffsetMappingIntegratedShadowsFPglsl
09:54:55: GLSL compiling: Examples/OffsetMappingIntegratedShadowsVPglsl
09:54:55: GLSL compiled : Examples/OffsetMappingIntegratedShadowsVPglsl
09:54:55: Parsing script Ogre.material
09:54:55: Parsing script Examples.compositor
09:54:55: Finished parsing scripts for resource group General
09:54:55: Parsing scripts for resource group Hydrax
09:54:55: Finished parsing scripts for resource group Hydrax
09:54:55: Parsing scripts for resource group Internal
09:54:55: Finished parsing scripts for resource group Internal
09:54:55: Texture: ct_fr.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: Texture: ct_bk.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: Texture: ct_lf.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: Texture: ct_rt.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: Texture: ct_up.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: Texture: ct_dn.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: [Hydrax] Hydrax object created.
09:54:55: [Hydrax] Module set.
09:54:55: [Hydrax] Creating module.
09:54:55: [Hydrax] Creating PerlinPGModule module.
09:54:55: [Hydrax] PerlinPGModule created.
09:54:55: [Hydrax] Module created.
09:54:55: [Hydrax] Creating materials,
09:54:55: [Hydrax] Creating water material...
09:54:55: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:55: Error loading texture Reflection. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:55: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:55: Error loading texture Refraction. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:55: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:55: Error loading texture Depth. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:55: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 5 hardware generated mipmaps from Image. Internal format is PF_L8,256x1x1.
09:54:55: Texture: Foam.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
09:54:55: [Hydrax] Water material created.
09:54:55: [Hydrax] Creating depth material...
09:54:56: Texture: Caustics_0.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_1.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_2.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_3.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_4.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_5.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_6.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_7.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_8.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_9.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_10.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_11.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_12.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_13.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_14.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_15.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_16.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_17.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_18.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_19.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_20.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_21.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_22.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_23.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_24.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_25.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_26.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_27.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_28.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_29.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_30.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: Texture: Caustics_31.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:54:56: [Hydrax] Depth material created.
09:54:56: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: Error loading texture Reflection. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Reflection' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: Error loading texture Refraction. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Refraction' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: Error loading texture Depth. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'Depth' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxReflectionMap' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: Error loading texture HydraxReflectionMap. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxReflectionMap' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxRefractionMap' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: Error loading texture HydraxRefractionMap. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxRefractionMap' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxDepthMap' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: Error loading texture HydraxDepthMap. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(2:InvalidParametersException): Unable to load image file 'HydraxDepthMap' - invalid extension. in GLTexture::loadImpl at OgreGLTexture.cpp (line 253)
09:54:56: [Hydrax] Materials created.
09:54:56: [Hydrax] Creating water mesh.
09:54:56: 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.
09:54:56: [Hydrax] Water mesh created
09:54:56: [Hydrax] Creating RTListeners.
09:54:56: GLXPBuffer::PBuffer chose format configID=264 visualID=144 bufferSize=32 level=0 doubleBuffer=0 stereo=0 auxBuffers=4 renderType=1 redSize=8 greenSize=8 blueSize=8 alphaSize=8 depthSize=24 stencilSize=8 accumRedSize=16 accumGreenSize=16 accumBlueSize=16 accumAlphaSize=16 drawableType=5 caveat=32781 maxPBufferWidth=4096 maxPBufferHeight=4096 maxPBufferPixels=16777216
09:54:56: GLXPBuffer::PBuffer created -- Real dimensions 1024x1024, number of bits is 8, floating point is false
09:54:56: Creating viewport on target 'rtt/HydraxRefractionMap/160198240', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
09:54:56: Creating viewport on target 'rtt/HydraxReflectionMap/159901344', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
09:54:56: Creating viewport on target 'rtt/HydraxDepthMap/160216072', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
09:54:56: 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.
09:54:56: 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.
09:54:56: 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.
09:54:56: [Hydrax] RTListeners created
09:54:56: [Hydrax] Registring device restored listener
09:54:56: [Hydrax] Device restored listener registred
09:54:56: Mesh: Loading Island.mesh.
09:54:56: Can't assign material Material #25 to SubEntity of Island because this Material does not exist. Have you forgotten to define it in a .material script?
09:54:56: Texture: rockwall_NH.tga: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
09:54:56: Texture: rockwall.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
09:54:56: *** Initializing OIS ***
09:54:56: *** Initializing OIS ***
additionally, I have those lines in the console just after all the log :

Code: Select all

The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 7 error_code 10 request_code 2 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
That's using Linux (Ubuntu 7.10 Gutsy), a Nvidia7800GS on a single core Athlon XP 2600+ and the nVidia drivers 169.12.
I also set SM_CG as shader model, as the others won't even go that far.

any idea?
User avatar
Xavyiy
OGRE Expert User
OGRE Expert User
Posts: 847
Joined: Tue Apr 12, 2005 2:35 pm
Location: Albacete - Spain
x 87

Re: Hydrax 4 Linux

Post by Xavyiy »

@Fuinelen
Can you run a full debug session? I really don't know what can be the problem.
Locked