Hydrax-0.5.3 (unofficial version) released!

SanguinarioJoe

03-03-2011 20:16:05

Hi all!

Xavier is too busy developing the amazing Paradise Engine, so I released Hydrax 0.5.3 (I hope that can help him).

Remarks.

This version has been compiled with Linux, if you are using Windows/MAC you must create your own project for your favourite compiler.
This version has been developed with GLSL shaders, and the translated to HLSL/CG, but HLSL/CG shaders has not been tested!

Features.
  1. Now Hydrax supports OGRE 1.7.X "our of the box" (not tested).[/*:m]
  2. Global transparency add water colour to the objects viewed trought the free surface.[/*:m]
  3. Created new noise called "Real". At now, "Real" is composed by...
    1. Perlin noise (same released in previous versions of Hydrax)[/*:m]
    2. Sea waves (That must be added at code, 3 is sufficient to most cases).[/*:m]
    3. Pressure points (IDEM)
      [attachment=2]001.jpg[/attachment][/*:m][/list:u][/*:m]
    4. Now, underwater scattering increases with distance, not only with depth.
      [attachment=1]underwaterScattering.jpg[/attachment]
      1. If the point viewed is at the other side of the free surface, scattering effect is limited to water environment.
        [attachment=0]002.jpg[/attachment][/*:m][/list:u][/*:m][/list:u]
        How to.
        Install.
        1. Ubuntu user.
          If you are an Ubuntu user you only need to add this repository to your software origins:
          https://launchpad.net/~sonsilentsea-team/+archive/sonsilentsea
          And install it doing:
          sudo apt-get install libhydrax hydrax-demo
          note: In order to use the demo, you must copy /usr/share/Hydrax/Demo1 folder in your personal folder.[/*:m]
        2. Linux user.
          If you are a Linux user, you must have the library source code from here:
          https://launchpad.net/~sonsilentsea-team/+archive/sonsilentsea/+files/libhydrax_0.5.3.orig.tar.gz
          And install it doing:
          make clean;
          make;
          sudo make install

          note: Consider use sudo make install PREFIX=/usr/local (Depends of Linux distribution)
          And, if you want to use the demo, download it from here:
          https://launchpad.net/~sonsilentsea-team/+archive/sonsilentsea/+files/hydrax-demo_0.5.3-Ubuntu1.tar.gz
          and compile it doing:
          make clean;
          make;
          [/*:m]
        3. Other SO.
          Download source code (same links) and create your own project to compile it.[/*:m][/list:u]
          Using.
          You must update your Hydrax config file:
          1. Update the Hydrax version:
            HydraxVersion=0.5.3[/*:m]
          2. Add a distance limit:
            <float>DistLimit=10
            Generally using the old value of DepthLimit here, and using 2x this value for new DepthLimit it's fine.[/*:m][/list:u]

            Enjoy it!
            Jose Luis Cercós Pita

            Sorry for my English!

Nems

04-03-2011 16:41:21

Hello world !

Thanks , I'll give it a try !

trilader

09-03-2011 19:26:27

I tried to compile this with Windows using Code::Blocks and MinGW. It didn't work. At first I had to edit the included CodeBlocks project to work on my system but I had linker issues lateron, so I created my own CodeBlock project and I still have the linker issues. Attached is the linker output.
-------------- Build: Release in hydrax-0.5.3.orig ---------------

Linking dynamic library: bin\Release\hydrax-0.5.3.orig.dll
f:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x55): undefined reference to `_imp___ZN6Hydrax10RttManager10initializeERKNS0_7RttTypeE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x74): undefined reference to `_imp___ZN6Hydrax15MaterialManager6reloadERKNS0_12MaterialTypeE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x8f): undefined reference to `_imp___ZN6Hydrax6Hydrax11isComponentERKNS_15HydraxComponentE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x1de): undefined reference to `_imp___ZN6Hydrax10RttManager6removeERKNS0_7RttTypeE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x5fe): undefined reference to `_imp___ZN6Hydrax10RttManager10initializeERKNS0_7RttTypeE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x727): undefined reference to `_imp___ZN6Hydrax10RttManager10initializeERKNS0_7RttTypeE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0xdfe): undefined reference to `_imp___ZN6Hydrax10RttManager10initializeERKNS0_7RttTypeE'
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0xf27): undefined reference to `_imp___ZN6Hydrax10RttManager10initializeERKNS0_7RttTypeE'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text+0x2b05): undefined reference to `_imp___ZTVN6Hydrax14GodRaysManager16DepthMapListenerE'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text+0x2e01): undefined reference to `_imp___ZTVN6Hydrax14GodRaysManager16DepthMapListenerE'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text+0x5061): undefined reference to `_imp___ZN6Hydrax15MaterialManager21fillGpuProgramsToPassEPN4Ogre4PassEPKSsRKNS0_10ShaderModeES5_S5_'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text+0x6d96): undefined reference to `_imp___ZN6Hydrax15MaterialManager21fillGpuProgramsToPassEPN4Ogre4PassEPKSsRKNS0_10ShaderModeES5_S5_'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text+0xa15f): undefined reference to `_imp___ZN6Hydrax5Noise6PerlinC1ERKNS1_7OptionsE'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text$_ZN6Hydrax14GodRaysManager16DepthMapListenerD1Ev[Hydrax::GodRaysManager::DepthMapListener::~DepthMapListener()]+0x30): undefined reference to `_imp___ZTVN6Hydrax14GodRaysManager16DepthMapListenerE'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text$_ZN6Hydrax14GodRaysManager16DepthMapListenerD0Ev[Hydrax::GodRaysManager::DepthMapListener::~DepthMapListener()]+0x30): undefined reference to `_imp___ZTVN6Hydrax14GodRaysManager16DepthMapListenerE'
obj\Release\src\GodRaysManager.o:GodRaysManager.cpp:(.text$_ZN6Hydrax14GodRaysManager16DepthMapListenerC1Ev[Hydrax::GodRaysManager::DepthMapListener::DepthMapListener()]+0x38): undefined reference to `_imp___ZTVN6Hydrax14GodRaysManager16DepthMapListenerE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x126): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x229): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2b1): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x327): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x463): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x563): more undefined references to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf' follow
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x18fa): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKN4Ogre7Vector3E'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1979): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKN4Ogre7Vector3E'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1a60): undefined reference to `_imp___ZNK6Hydrax4Mesh22getObjectSpacePositionERKN4Ogre7Vector3E'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1ac5): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKN4Ogre7Vector3E'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1b0b): undefined reference to `_imp___ZNK6Hydrax4Mesh22getObjectSpacePositionERKN4Ogre7Vector3E'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1b70): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKN4Ogre7Vector3E'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1cb5): undefined reference to `_imp___ZN6Hydrax15MaterialManager22setGpuProgramParameterERKNS0_10GpuProgramERKNS0_12MaterialTypeERKSsRKf'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1e05): undefined reference to `_imp___ZN6Hydrax4Mesh6removeEv'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1e14): undefined reference to `_imp___ZN6Hydrax13DecalsManager9removeAllEv'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1e23): undefined reference to `_imp___ZN6Hydrax15MaterialManager15removeMaterialsEv'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1e32): undefined reference to `_imp___ZN6Hydrax10RttManager9removeAllEv'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1e41): undefined reference to `_imp___ZN6Hydrax14GodRaysManager6removeEv'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1e5e): undefined reference to `_imp___ZN6Hydrax14TextureManager6removeEv'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x1fbb): undefined reference to `_imp___ZTVN6Hydrax6Hydrax14DeviceListenerE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x20d9): undefined reference to `_imp___ZN6Hydrax4MeshC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2112): undefined reference to `_imp___ZN6Hydrax15MaterialManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x214e): undefined reference to `_imp___ZN6Hydrax10RttManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2187): undefined reference to `_imp___ZN6Hydrax14TextureManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x21c3): undefined reference to `_imp___ZN6Hydrax14GodRaysManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x21fc): undefined reference to `_imp___ZN6Hydrax13DecalsManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2238): undefined reference to `_imp___ZN6Hydrax19GPUNormalMapManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2271): undefined reference to `_imp___ZN6Hydrax14CfgFileManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x247f): undefined reference to `_imp___ZTVN6Hydrax6Hydrax14DeviceListenerE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x259d): undefined reference to `_imp___ZN6Hydrax4MeshC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x25d6): undefined reference to `_imp___ZN6Hydrax15MaterialManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2612): undefined reference to `_imp___ZN6Hydrax10RttManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x264b): undefined reference to `_imp___ZN6Hydrax14TextureManagerC1EPNS_6HydraxE'
obj\Release\src\Hydrax.o:Hydrax.cpp:(.text+0x2687): undefined reference to `_imp___ZN6Hydrax14GodRaysManagerC1EPNS_6HydraxE'
Process terminated with status 1 (0 minutes, 2 seconds)
50 errors, 1 warnings


I hope someone can help me.

Regards
-trilader

SniperBinaire

12-03-2011 21:08:52

Can you post a MSVC version ?
Because I cannot convert your CBP project, blocking me to use this very promising version.
And I need to get the distance based depth calculation...

Nems

15-03-2011 14:27:41

Hello world,

I am trying to make a VS2010+Ogre1.7.1 project. I will post it here ASAP.
But I got an issue with boost libraries during the linking process.
I don't think it's related to Hydrax, but if somenone have a clue about it...

The linker ask me for 'libboost_XXX-vc90-mt-gd-1_42.lib' (XXX is thread, date_time etc...) and I suppose it's due to Ogre.
But I am using Ogre1.7.1 compiled for vc100 with Boost for vc100 !! Even if I can get the vc90 version I am afraid of futur DLL maze.

How can I do ?
_________________________________________________________
[EDIT]
Now I am using boost vc90 lib I got problem with OgreMapIterator.
Error 1 error LNK2001: unresolved external symbol "public: virtual class Ogre::ConstMapIterator<class stdext::hash_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::Node *,class stdext::hash_compare<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::Node *> > > > __thiscall Ogre::Node::getChildIterator(void)const " (?getChildIterator@Node@Ogre@@UBE?AV?$ConstMapIterator@V?$hash_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@V?$hash_compare@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@stdext@@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@@std@@@2@@stdext@@@2@XZ) E:\Libraries\Hydrax\Hydrax053_vc10\Hydrax\Mesh.obj Hydrax
Error 2 error LNK2001: unresolved external symbol "public: virtual class Ogre::MapIterator<class stdext::hash_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::Node *,class stdext::hash_compare<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::Node *> > > > __thiscall Ogre::Node::getChildIterator(void)" (?getChildIterator@Node@Ogre@@UAE?AV?$MapIterator@V?$hash_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@V?$hash_compare@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@stdext@@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVNode@Ogre@@@std@@@2@@stdext@@@2@XZ) E:\Libraries\Hydrax\Hydrax053_vc10\Hydrax\Mesh.obj Hydrax
Error 3 error LNK2001: unresolved external symbol "public: virtual class Ogre::ConstMapIterator<class stdext::hash_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::MovableObject *,class stdext::hash_compare<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::MovableObject *> > > > __thiscall Ogre::SceneNode::getAttachedObjectIterator(void)const " (?getAttachedObjectIterator@SceneNode@Ogre@@UBE?AV?$ConstMapIterator@V?$hash_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@V?$hash_compare@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@stdext@@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@@std@@@2@@stdext@@@2@XZ) E:\Libraries\Hydrax\Hydrax053_vc10\Hydrax\Mesh.obj Hydrax
Error 4 error LNK2001: unresolved external symbol "public: virtual class Ogre::MapIterator<class stdext::hash_map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class Ogre::MovableObject *,class stdext::hash_compare<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class Ogre::MovableObject *> > > > __thiscall Ogre::SceneNode::getAttachedObjectIterator(void)" (?getAttachedObjectIterator@SceneNode@Ogre@@UAE?AV?$MapIterator@V?$hash_map@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@V?$hash_compare@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@U?$less@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@stdext@@V?$allocator@U?$pair@$$CBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVMovableObject@Ogre@@@std@@@2@@stdext@@@2@XZ) E:\Libraries\Hydrax\Hydrax053_vc10\Hydrax\Mesh.obj Hydrax


Look like a version mismatch issue.

Need help !

Nems

15-03-2011 15:04:17

Perhaps you could just post the patch "chunk" to convert 0.5.1 to 0.5.3, so VS20XX user could compile it easily.
I did not dug in your code to see if it is possible... hope so.

SanguinarioJoe

16-03-2011 12:16:50

I tried to compile this with Windows using Code::Blocks and MinGW. It didn't work. At first I had to edit the included CodeBlocks project to work on my system but I had linker issues lateron, so I created my own CodeBlock project and I still have the linker issues. Attached is the linker output.

Code: Select all

-------------- Build: Release in hydrax-0.5.3.orig ---------------

Linking dynamic library: bin\Release\hydrax-0.5.3.orig.dll
f:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
obj\Release\src\GPUNormalMapManager.o:GPUNormalMapManager.cpp:(.text+0x55): undefined reference to `_imp___ZN6Hydrax10RttManager10initializeERKNS0_7RttTypeE'
(...)
Process terminated with status 1 (0 minutes, 2 seconds)
50 errors, 1 warnings

I hope someone can help me.

Regards
-trilader


It's possible that you have got ld as linker (Into Compiler and debugger settings of Code::Blocks). Try to change it from ld to g++.

Can you post a MSVC version ?
Because I cannot convert your CBP project, blocking me to use this very promising version.
And I need to get the distance based depth calculation...


Sorry, i'm not a Windows user, and i will not use it now. Nevertheless if someone wants support Windows backport, he can use the git repository.
The solution can be download Hydrax 0.5.1,using the MSVC project. Replace all source codes and add "Real" noise (the new source codes).

Perhaps you could just post the patch "chunk" to convert 0.5.1 to 0.5.3, so VS20XX user could compile it easily.
I did not dug in your code to see if it is possible... hope so.


I don't have too much time, but i can try to do it.
While i find time to do it, you can use BeyondCompare (evaluation version can be downloaded).

Regards.
Jose Luis Cercós pita

trilader

16-03-2011 14:08:29

I got it to work now. The problem was that I had to add MYGUI_LIB to the #define tab in the build options of Code::Blocks.

Regards
-trilader

Nems

16-03-2011 17:31:57

I got it ! ^^ Now it's compiled, my issue was due to a modified version of Ogre171.

But as always in programming I got another issue right now. I would like to use the GLSL version but Ogre crash.

[...]
12:37:24: *** Starting Win32GL Subsystem ***
12:37:24: GLRenderSystem::_createRenderWindow "OGRE Render Window", 1280x960 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 displayFrequency=0 gamma=false vsync=false vsyncInterval=1
12:37:24: Created Win32Window 'OGRE Render Window' : 1296x996, 32bpp
12:37:24: GL_VERSION = 2.1.2
12:37:24: GL_VENDOR = NVIDIA Corporation
12:37:24: GL_RENDERER = GeForce 8800 GTS/PCI/SSE2
12:37:24: 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_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float 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_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc 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_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent 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_buffer_float GL_NV_conditional_render 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_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object 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_transform_feedback 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 GL_WIN_swap_hint WGL_EXT_swap_control
12:37:24: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle

[...]

12:37:47: [Hydrax] Hydrax created.
12:37:47: [Hydrax] HydraxDemo.hdx loaded.
12:37:47: GLSL compiling: _Hydrax_GodRays_VP
12:37:47: GLSL compiled : _Hydrax_GodRays_VP
12:37:47: GLSL compiling: _Hydrax_GodRays_FP
12:37:47: GLSL compiled : _Hydrax_GodRays_FP
12:37:47: [Hydrax] ProjectedGridVertex options entry found.
12:37:47: [Hydrax] Reading options...
12:37:47: [Hydrax] Options readed.
12:37:47: [Hydrax] Error (Noise::loadCfg): Perlin options entry can not be found.
12:37:47: [Hydrax] Creating module...
12:37:47: [Hydrax] Creating ProjectedGridVertex module.
12:37:47: [Hydrax] ProjectedGridVertex created.
12:37:47: [Hydrax] Module created.
12:37:47: [Hydrax] Initializating RTT Manager...
12:37:47: [Hydrax] RTT manager initialized.
12:37:47: [Hydrax] Registring device restored listener...
12:37:47: [Hydrax] Device restored listener registred.
12:37:47: [Hydrax] Creating materials...
12:37:47: [Hydrax] Creating water material...
12:37:47: GLSL compiling: _Hydrax_Water_VP
12:37:47: GLSL compiled : _Hydrax_Water_VP
12:37:47: GLSL compiling: _Hydrax_Water_FP
12:37:47: Cannot compile GLSL high-level shader : _Hydrax_Water_FP (45) : error C1115: unable to find compatible overloaded function "texture2D(sampler1D, vec2)"

12:37:47: OGRE EXCEPTION(7:InternalErrorException): Cannot compile GLSL high-level shader : _Hydrax_Water_FP Cannot compile GLSL high-level shader : _Hydrax_Water_FP (45) : error C1115: unable to find compatible overloaded function "texture2D(sampler1D, vec2)"
in GLSLProgram::compile at ..\..\..\RenderSystems\GL\src\GLSL\src\OgreGLSLExtSupport.cpp (line 65)
12:37:48: High-level program _Hydrax_Water_FP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Cannot compile GLSL high-level shader : _Hydrax_Water_FP Cannot compile GLSL high-level shader : _Hydrax_Water_FP (45) : error C1115: unable to find compatible overloaded function "texture2D(sampler1D, vec2)"
in GLSLProgram::compile at ..\..\..\RenderSystems\GL\src\GLSL\src\OgreGLSLExtSupport.cpp (line 65)
12:37:48: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1423)

[...]

12:38:00: *-*-* OGRE Shutdown
[...]


Apparently the problem is "_Hydrax_Water_FP" cannot compil then it cause an error when Hydrax try to use a shaderparams on "GpuProgramParameters::_findNamedConstantDefinition".
How can I solve that ? Perhaps a GLSL ==> Cg problem.

[EDIT]
Is it right that "texture2D" try to use a "texture1D" ???!

ps : Perhaps I should have create another thread for my issue.

SanguinarioJoe

17-03-2011 09:32:22

Hi Nems!

Probably the bug is that the project take into acount if the platform is Win/Linux in order to use sampler2D or sampler1D, but not to use texture1D or texture2D.

To solve it change the lines same like this (in MaterialManager.cpp):
//"float fresnel = tex1D(uFresnelMap,dotProduct);\n" +
"float fresnel = texture2D(uFresnelMap,vec2(dotProduct,dotProduct)).x;\n" +


With this:

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
"float fresnel = tex1D(uFresnelMap,dotProduct);\n" +
#else
"float fresnel = texture2D(uFresnelMap,vec2(dotProduct,dotProduct)).x;\n" +
#endif


I will upload the patch as soon as posible!

Regards,
Jose Luis Cercós Pita

Nems

17-03-2011 09:43:57

Thank Jose !
I will try it right now :D

It looks like there is also an issue with the Cg/HLSL code. Here is the log :

10:13:43: High-level program _Hydrax_Depth_VP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program _Hydrax_Depth_VP: CG ERROR : "The compile returned an error."
(13) : warning C7011: implicit cast from "float4" to "float3"
(14) : warning C7011: implicit cast from "float4" to "float3"
(18) : error C5059: stdlib "gl_" variables are not accessible
(18) : error C5059: stdlib "gl_" variables are not accessible
(18) : error C1020: invalid operands to "*"
in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
10:13:46: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program _Hydrax_Depth_FP: CG ERROR : "The compile returned an error."
(15) : error C1066: invalid type in type constructor
(15) : error C1010: expression left of ."x" is not a struct or array


It seems the VP error come from that line :
vec4 mwPos = gl_ModelViewMatrix * gl_Vertex;
Which is a "pure" GLSL code. So I removed it from the sources and I will give it try in a few minutes.

For the FP error I don't know for the moment.

SanguinarioJoe

17-03-2011 15:03:35

Yeah, CG shaders has been translated, but not tested, so you found a common bug (common in a unsupported platform :-) ).

If you send me the MSVC project today, maybe tomorrow i can upload a version with this bugs fixed.

(Please, post your complete log using CG, in order to fix all posible broken shaders).

Regards,
Jose Luis Cercós Pita.

Nems

17-03-2011 15:26:22

Here is the complete log.
16:15:30: Creating resource group General
16:15:30: Creating resource group Internal
16:15:30: Creating resource group Autodetect
16:15:30: SceneManagerFactory for type 'DefaultSceneManager' registered.
16:15:30: Registering ResourceManager for type Material
16:15:30: Registering ResourceManager for type Mesh
16:15:30: Registering ResourceManager for type Skeleton
16:15:30: MovableObjectFactory for type 'ParticleSystem' registered.
16:15:30: OverlayElementFactory for type Panel registered.
16:15:30: OverlayElementFactory for type BorderPanel registered.
16:15:30: OverlayElementFactory for type TextArea registered.
16:15:30: Registering ResourceManager for type Font
16:15:30: ArchiveFactory for archive type FileSystem registered.
16:15:30: ArchiveFactory for archive type Zip registered.
16:15:30: DDS codec registering
16:15:30: FreeImage version: 3.13.1
16:15:30: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
16:15:30: 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,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
16:15:30: Registering ResourceManager for type HighLevelGpuProgram
16:15:30: Registering ResourceManager for type Compositor
16:15:30: MovableObjectFactory for type 'Entity' registered.
16:15:30: MovableObjectFactory for type 'Light' registered.
16:15:30: MovableObjectFactory for type 'BillboardSet' registered.
16:15:30: MovableObjectFactory for type 'ManualObject' registered.
16:15:30: MovableObjectFactory for type 'BillboardChain' registered.
16:15:30: MovableObjectFactory for type 'RibbonTrail' registered.
16:15:30: Loading library .\RenderSystem_Direct3D9_d
16:15:30: Installing plugin: D3D9 RenderSystem
16:15:30: D3D9 : Direct3D9 Rendering Subsystem created.
16:15:30: D3D9: Driver Detection Starts
16:15:30: D3D9: Driver Detection Ends
16:15:30: Plugin successfully installed
16:15:30: Loading library .\RenderSystem_GL_d
16:15:30: Installing plugin: GL RenderSystem
16:15:30: OpenGL Rendering Subsystem created.
16:15:30: Plugin successfully installed
16:15:30: Loading library .\Plugin_ParticleFX_d
16:15:30: Installing plugin: ParticleFX
16:15:30: Particle Emitter Type 'Point' registered
16:15:30: Particle Emitter Type 'Box' registered
16:15:30: Particle Emitter Type 'Ellipsoid' registered
16:15:30: Particle Emitter Type 'Cylinder' registered
16:15:30: Particle Emitter Type 'Ring' registered
16:15:30: Particle Emitter Type 'HollowEllipsoid' registered
16:15:30: Particle Affector Type 'LinearForce' registered
16:15:30: Particle Affector Type 'ColourFader' registered
16:15:30: Particle Affector Type 'ColourFader2' registered
16:15:30: Particle Affector Type 'ColourImage' registered
16:15:30: Particle Affector Type 'ColourInterpolator' registered
16:15:30: Particle Affector Type 'Scaler' registered
16:15:30: Particle Affector Type 'Rotator' registered
16:15:30: Particle Affector Type 'DirectionRandomiser' registered
16:15:30: Particle Affector Type 'DeflectorPlane' registered
16:15:30: Plugin successfully installed
16:15:30: Loading library .\Plugin_BSPSceneManager_d
16:15:30: Installing plugin: BSP Scene Manager
16:15:30: Plugin successfully installed
16:15:30: Loading library .\Plugin_CgProgramManager_d
16:15:30: Installing plugin: Cg Program Manager
16:15:30: Plugin successfully installed
16:15:30: Loading library .\Plugin_PCZSceneManager_d
16:15:30: Installing plugin: Portal Connected Zone Scene Manager
16:15:30: PCZone Factory Type 'ZoneType_Default' registered
16:15:30: Plugin successfully installed
16:15:30: Loading library .\Plugin_OctreeZone_d
16:15:31: Installing plugin: Octree Zone Factory
16:15:31: Plugin successfully installed
16:15:31: Loading library .\Plugin_OctreeSceneManager_d
16:15:31: Installing plugin: Octree & Terrain Scene Manager
16:15:31: Plugin successfully installed
16:15:31: *-*-* OGRE Initialising
16:15:31: *-*-* Version 1.7.1 (Cthugha)
16:15:31: Creating resource group Cluster
16:15:31: Added resource location '../../media/' of type 'FileSystem' to resource group 'Cluster'
16:15:31: Creating resource group Essential
16:15:31: Added resource location '../../media/thumbnails' of type 'FileSystem' to resource group 'Essential'
16:15:31: Added resource location '../../media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
16:15:31: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
16:15:31: Creating resource group Hydrax
16:15:31: Added resource location '../../Media/Hydrax' of type 'FileSystem' to resource group 'Hydrax'
16:15:31: Creating resource group Popular
16:15:31: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/models' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/Sinbad.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/SkyBoxes.zip' of type 'Zip' to resource group 'Popular'
16:15:31: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Popular'
16:15:31: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
16:15:31: D3D9 : RenderSystem Option: FSAA = 0
16:15:31: D3D9 : RenderSystem Option: Floating-point mode = Fastest
16:15:31: D3D9 : RenderSystem Option: Full Screen = Yes
16:15:31: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-NVIDIA GeForce 8800 GTS
16:15:31: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
16:15:31: D3D9 : RenderSystem Option: VSync = No
16:15:31: D3D9 : RenderSystem Option: VSync Interval = 1
16:15:31: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
16:15:31: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
16:15:32: CPU Identifier & Features
16:15:32: -------------------------
16:15:32: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
16:15:32: * SSE: yes
16:15:32: * SSE2: yes
16:15:32: * SSE3: yes
16:15:32: * MMX: yes
16:15:32: * MMXEXT: yes
16:15:32: * 3DNOW: no
16:15:32: * 3DNOWEXT: no
16:15:32: * CMOV: yes
16:15:32: * TSC: yes
16:15:32: * FPU: yes
16:15:32: * PRO: yes
16:15:32: * HT: no
16:15:32: -------------------------
16:15:32: *** Starting Win32GL Subsystem ***
16:15:32: GLRenderSystem::_createRenderWindow "OGRE Render Window", 1280x960 windowed miscParams: FSAA=0 FSAAHint= colourDepth=32 displayFrequency=0 gamma=false vsync=false vsyncInterval=1
16:15:32: Created Win32Window 'OGRE Render Window' : 1296x996, 32bpp
16:15:32: GL_VERSION = 2.1.2
16:15:32: GL_VENDOR = NVIDIA Corporation
16:15:32: GL_RENDERER = GeForce 8800 GTS/PCI/SSE2
16:15:32: 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_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float 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_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc 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_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent 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_buffer_float GL_NV_conditional_render 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_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object 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_transform_feedback 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 GL_WIN_swap_hint WGL_EXT_swap_control
16:15:32: Supported WGL extensions: WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle
16:15:32: ***************************
16:15:32: *** GL Renderer Started ***
16:15:32: ***************************
16:15:32: Registering ResourceManager for type GpuProgram
16:15:32: GLSL support detected
16:15:32: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
16:15:32: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_L8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_A4L4 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_BYTE_LA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:32: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: FBO PF_FLOAT16_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: FBO PF_FLOAT32_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: FBO PF_SHORT_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
16:15:33: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
16:15:33: RenderSystem capabilities
16:15:33: -------------------------
16:15:33: RenderSystem Name: OpenGL Rendering Subsystem
16:15:33: GPU Vendor: nvidia
16:15:33: Device Name: GeForce 8800 GTS/PCI/SSE2
16:15:33: Driver Version: 2.1.2.0
16:15:33: * Fixed function pipeline: yes
16:15:33: * Hardware generation of mipmaps: yes
16:15:33: * Texture blending: yes
16:15:33: * Anisotropic texture filtering: yes
16:15:33: * Dot product texture operation: yes
16:15:33: * Cube mapping: yes
16:15:33: * Hardware stencil buffer: yes
16:15:33: - Stencil depth: 8
16:15:33: - Two sided stencil support: yes
16:15:33: - Wrap stencil values: yes
16:15:33: * Hardware vertex / index buffers: yes
16:15:33: * Vertex programs: yes
16:15:33: * Number of floating-point constants for vertex programs: 1024
16:15:33: * Number of integer constants for vertex programs: 0
16:15:33: * Number of boolean constants for vertex programs: 0
16:15:33: * Fragment programs: yes
16:15:33: * Number of floating-point constants for fragment programs: 512
16:15:33: * Number of integer constants for fragment programs: 0
16:15:33: * Number of boolean constants for fragment programs: 0
16:15:33: * Geometry programs: yes
16:15:33: * Number of floating-point constants for geometry programs: 512
16:15:33: * Number of integer constants for geometry programs: 0
16:15:33: * Number of boolean constants for geometry programs: 0
16:15:33: * Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl gp4gp gpu_gp nvgp4 vp30 vp40
16:15:33: * Texture Compression: yes
16:15:33: - DXT: yes
16:15:33: - VTC: yes
16:15:33: - PVRTC: no
16:15:33: * Scissor Rectangle: yes
16:15:33: * Hardware Occlusion Query: yes
16:15:33: * User clip planes: yes
16:15:33: * VET_UBYTE4 vertex element type: yes
16:15:33: * Infinite far plane projection: yes
16:15:33: * Hardware render-to-texture: yes
16:15:33: * Floating point textures: yes
16:15:33: * Non-power-of-two textures: yes
16:15:33: * Volume textures: yes
16:15:33: * Multiple Render Targets: 8
16:15:33: - With different bit depths: yes
16:15:33: * Point Sprites: yes
16:15:33: * Extended point parameters: yes
16:15:33: * Max Point Size: 63.375
16:15:33: * Vertex texture fetch: yes
16:15:33: * Number of world matrices: 0
16:15:33: * Number of texture units: 32
16:15:33: * Stencil buffer depth: 8
16:15:33: * Number of vertex blend matrices: 0
16:15:33: - Max vertex textures: 32
16:15:33: - Vertex textures shared: yes
16:15:33: * Render to Vertex Buffer : yes
16:15:33: * GL 1.5 without VBO workaround: no
16:15:33: * Frame Buffer objects: yes
16:15:33: * Frame Buffer objects (ARB extension): no
16:15:33: * Frame Buffer objects (ATI extension): no
16:15:33: * PBuffer support: no
16:15:33: * GL 1.5 without HW-occlusion workaround: no
16:15:33: Registering ResourceManager for type Texture
16:15:33: DefaultWorkQueue('Root') initialising on thread 0030CAA8.
16:15:33: Particle Renderer Type 'billboard' registered
16:15:33: DefaultWorkQueue('Root')::WorkerFunc - thread 05E01F60 starting.
16:15:33: DefaultWorkQueue('Root')::WorkerFunc - thread 0037D560 starting.
16:15:33: SceneManagerFactory for type 'BspSceneManager' registered.
16:15:33: Registering ResourceManager for type BspLevel
16:15:33: SceneManagerFactory for type 'PCZSceneManager' registered.
16:15:33: MovableObjectFactory for type 'PCZLight' registered.
16:15:33: MovableObjectFactory for type 'Portal' registered.
16:15:33: MovableObjectFactory for type 'AntiPortal' registered.
16:15:33: PCZone Factory Type 'ZoneType_Octree' registered
16:15:33: PCZone Factory Type 'ZoneType_Terrain' registered
16:15:33: SceneManagerFactory for type 'OctreeSceneManager' registered.
16:15:33: SceneManagerFactory for type 'TerrainSceneManager' registered.
16:15:33: TerrainSceneManager: Registered a new PageSource for type Heightmap
16:15:33: Parsing scripts for resource group Autodetect
16:15:33: Finished parsing scripts for resource group Autodetect
16:15:33: Parsing scripts for resource group Cluster
16:15:33: Finished parsing scripts for resource group Cluster
16:15:33: Parsing scripts for resource group Essential
16:15:33: Parsing script SdkTrays.material
16:15:33: Parsing script SdkTrays.fontdef
16:15:33: Parsing script SdkTrays.overlay
16:15:33: Bad element attribute line: '# you can offset the image to change the cursor "hotspot"' for element SdkTrays/Cursor in overlay
16:15:33: Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
16:15:33: Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
16:15:33: Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
16:15:33: Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 4 generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
16:15:33: Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x16x1.
16:15:33: Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x64x1.
16:15:33: Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x48x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x48x1.
16:15:33: Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:33: Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with 3 generated mipmaps from Image. Internal format is PF_X8R8G8B8,8x1x1.
16:15:33: Finished parsing scripts for resource group Essential
16:15:33: Parsing scripts for resource group General
16:15:33: Finished parsing scripts for resource group General
16:15:33: Parsing scripts for resource group Hydrax
16:15:33: Finished parsing scripts for resource group Hydrax
16:15:33: Parsing scripts for resource group Internal
16:15:33: Finished parsing scripts for resource group Internal
16:15:33: Parsing scripts for resource group Popular
16:15:33: Parsing script Examples.program
16:15:34: GLSL compiling: Ogre/BasicVertexPrograms/AmbientOneTextureGLSL
16:15:34: GLSL compiled : Ogre/BasicVertexPrograms/AmbientOneTextureGLSL
16:15:34: GLSL compiling: Ogre/HardwareSkinningTwoWeightsGLSL
16:15:34: GLSL compiled : Ogre/HardwareSkinningTwoWeightsGLSL
16:15:34: OGRE EXCEPTION(2:InvalidParametersException): Parameter called ambient does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
16:15:34: Compiler error: invalid parameters in Examples.program(130): setting of constant failed
16:15:34: Parsing script StdQuad_vp.program
16:15:34: Parsing script deferred_post.program
16:15:35: Parsing script ShadowCaster.program
16:15:35: Parsing script ASCII.material
16:15:35: Parsing script ASMSwizzle.material
16:15:35: Parsing script BlackAndWhite.material
16:15:35: Parsing script Bloom.material
16:15:35: GLSL compiling: Blur_ps_glsl
16:15:35: GLSL compiled : Blur_ps_glsl
16:15:35: GLSL compiling: Blur0_vs_glsl
16:15:35: GLSL compiled : Blur0_vs_glsl
16:15:35: GLSL compiling: Blur1_vs_glsl
16:15:35: GLSL compiled : Blur1_vs_glsl
16:15:35: Parsing script Bloom2.material
16:15:35: GLSL compiling: Bloom2_ps20_glsl
16:15:35: GLSL compiled : Bloom2_ps20_glsl
16:15:35: Parsing script CGSwizzle.material
16:15:35: Parsing script CompositorDemo.material
16:15:35: Parsing script DepthShadowmap.material
16:15:36: GLSL compiling: Ogre/DepthShadowmap/CasterVP_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/CasterVP_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/CasterFP_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/CasterFP_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/ReceiverVP_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/ReceiverVP_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/ReceiverFP_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/ReceiverFP_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/ReceiverFPPCF_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/ReceiverFPPCF_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/NormalMapReceiverVP_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverVP_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/NormalMapReceiverFP_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFP_GLSL
16:15:36: GLSL compiling: Ogre/DepthShadowmap/NormalMapReceiverFPPCF_GLSL
16:15:36: GLSL compiled : Ogre/DepthShadowmap/NormalMapReceiverFPPCF_GLSL
16:15:36: Parsing script Dither.material
16:15:36: Parsing script DOF.material
16:15:36: Parsing script Embossed.material
16:15:36: Parsing script Example-Water.material
16:15:36: Parsing script Examples-Advanced.material
16:15:38: Compiler error: object unsupported by render system in Examples-Advanced.material(383)
16:15:38: Parsing script Examples-DynTex.material
16:15:38: Parsing script Examples-Water.material
16:15:38: Parsing script Examples.material
16:15:41: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
16:15:41: Compiler error: invalid parameters in Examples.material(932): setting of constant failed
16:15:42: GLSL compiling: Ogre/HardwareSkinningTwoWeightsShadowCasterGLSL
16:15:42: GLSL compiled : Ogre/HardwareSkinningTwoWeightsShadowCasterGLSL
16:15:43: Parsing script facial.material
16:15:43: Parsing script Glass.material
16:15:43: Parsing script GLSLSwizzle.material
16:15:43: GLSL compiling: Ogre/GPTest/Swizzle_GP_GLSL
16:15:43: GLSL compiled : Ogre/GPTest/Swizzle_GP_GLSL
16:15:43: GLSL compiling: Ogre/GPTest/Passthrough_VP_GLSL
16:15:43: GLSL compiled : Ogre/GPTest/Passthrough_VP_GLSL
16:15:43: Parsing script Halftone.material
16:15:43: Parsing script hdr.material
16:15:43: GLSL compiling: Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fp
16:15:43: GLSL compiling: Ogre/Compositor/StdQuad_GLSL_vp
16:15:43: GLSL compiled : Ogre/Compositor/StdQuad_GLSL_vp
16:15:43: GLSL compiling: Ogre/Compositor/HDR/downscale3x3GLSL_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/downscale3x3GLSL_fp
16:15:43: GLSL compiling: Ogre/Compositor/HDR/utils_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/utils_fp
16:15:43: GLSL compiling: Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fp
16:15:43: GLSL compiling: Ogre/Compositor/HDR/bloomGLSL_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/bloomGLSL_fp
16:15:43: GLSL compiling: Ogre/Compositor/HDR/utils_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/utils_fp
16:15:43: GLSL compiling: Ogre/Compositor/HDR/finaltonemappingGLSL_fp
16:15:43: GLSL compiled : Ogre/Compositor/HDR/finaltonemappingGLSL_fp
16:15:43: Parsing script HeatVision.material
16:15:44: Parsing script Hurt.material
16:15:44: Parsing script instancing.material
16:15:44: GLSL compiling: InstancingGLSL
16:15:44: GLSL compiled : InstancingGLSL
16:15:44: GLSL compiling: InstancingShadowCasterGLSL
16:15:44: GLSL compiled : InstancingShadowCasterGLSL
16:15:44: GLSL compiling: CrowdGLSL
16:15:44: GLSL compiled : CrowdGLSL
16:15:44: GLSL compiling: CrowdShadowCasterGLSL
16:15:44: GLSL compiled : CrowdShadowCasterGLSL
16:15:44: Parsing script Invert.material
16:15:44: Parsing script Island.material
16:15:44: GLSL compiling: Island_FP_glsl
16:15:44: GLSL compiled : Island_FP_glsl
16:15:44: GLSL compiling: Island_VP_glsl
16:15:44: GLSL compiled : Island_VP_glsl
16:15:44: Parsing script IsoSurf.material
16:15:44: Problem parsing the following Cg Uniform: '@TMP0' in file Ogre/IsoSurf/TessellateTetrahedraGS
16:15:44: Parsing script Laplace.material
16:15:44: Parsing script MotionBlur.material
16:15:44: Parsing script MRTtest.material
16:15:44: GLSL compiling: Ogre/MRTtest/scenefp/GLSL
16:15:44: GLSL compiled : Ogre/MRTtest/scenefp/GLSL
16:15:44: GLSL compiling: Ogre/MRTtest/quadfp/GLSL
16:15:44: GLSL compiled : Ogre/MRTtest/quadfp/GLSL
16:15:44: Parsing script NightVision.material
16:15:44: Parsing script Ocean.material
16:15:45: GLSL compiling: GLSL/OceanVS
16:15:45: GLSL compiled : GLSL/OceanVS
16:15:45: GLSL compiling: GLSL/OceanFS
16:15:45: GLSL compiled : GLSL/OceanFS
16:15:45: GLSL compiling: GLSL/Ocean2VS
16:15:45: GLSL compiled : GLSL/Ocean2VS
16:15:45: GLSL compiling: GLSL/Ocean2FS
16:15:45: GLSL compiled : GLSL/Ocean2FS
16:15:45: Parsing script OffsetMapping.material
16:15:45: Compiler error: object unsupported by render system in OffsetMapping.material(18)
16:15:45: GLSL compiling: Examples/OffsetMappingIntegratedShadowsFPglsl
16:15:45: GLSL compiled : Examples/OffsetMappingIntegratedShadowsFPglsl
16:15:45: GLSL compiling: Examples/OffsetMappingIntegratedShadowsVPglsl
16:15:45: GLSL compiled : Examples/OffsetMappingIntegratedShadowsVPglsl
16:15:45: Parsing script Ogre.material
16:15:45: Parsing script OldMovie.material
16:15:46: Parsing script OldTV.material
16:15:46: Parsing script Palm.material
16:15:46: GLSL compiling: Palm_FP_glsl
16:15:46: GLSL compiled : Palm_FP_glsl
16:15:46: GLSL compiling: Palm_VP_glsl
16:15:46: GLSL compiled : Palm_VP_glsl
16:15:46: Parsing script ParticleGS.material
16:15:47: Parsing script Penguin.material
16:15:47: Parsing script Posterize.material
16:15:47: Parsing script pssm.material
16:15:47: Parsing script RadialBlur.material
16:15:47: Parsing script RZR-002.material
16:15:47: Parsing script Scene.material
16:15:47: Parsing script ShaderSystem.material
16:15:47: Parsing script shadows.material
16:15:48: Parsing script SharpenEdges.material
16:15:48: Parsing script sibenik.material
16:15:49: Parsing script SkyBox.material
16:15:49: Parsing script smoke.material
16:15:49: Parsing script Tiling.material
16:15:49: Parsing script VarianceShadowmap.material
16:15:49: Parsing script deferreddemo.material
16:15:49: Parsing script deferred_post.material
16:15:49: Parsing script deferred_post_minilight.material
16:15:49: Parsing script ShadowCaster.material
16:15:49: Parsing script ssao.material
16:15:50: Parsing script ROOM.material
16:15:50: Parsing script RomanBath.material
16:15:50: Parsing script Sinbad.material
16:15:50: Parsing script OgreCore.material
16:15:50: Parsing script OgreProfiler.material
16:15:50: Parsing script emitted_emitter.particle
16:15:50: Parsing script Examples-Water.particle
16:15:50: Parsing script Examples.particle
16:15:51: Parsing script smoke.particle
16:15:51: Parsing script Examples.compositor
16:15:52: Parsing script deferred.compositor
16:15:52: Parsing script ssao.compositor
16:15:52: Parsing script sample.fontdef
16:15:52: Parsing script Ogre.fontdef
16:15:52: Parsing script OgreDebugPanel.overlay
16:15:52: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
16:15:52: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
16:15:52: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:15:52: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
16:15:52: Parsing script OgreLoadingPanel.overlay
16:15:52: Finished parsing scripts for resource group Popular
16:15:53: Texture: ct_fr.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:15:53: Texture: ct_bk.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:15:53: Texture: ct_lf.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:15:53: Texture: ct_rt.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:15:53: Texture: ct_up.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:15:53: Texture: ct_dn.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:15:53: [Hydrax] Hydrax created.
16:15:53: [Hydrax] HydraxDemo.hdx loaded.
16:15:53: [Hydrax] ProjectedGridVertex options entry found.
16:15:53: [Hydrax] Reading options...
16:15:53: [Hydrax] Options readed.
16:15:53: [Hydrax] Error (Noise::loadCfg): Perlin options entry can not be found.
16:16:25: [Hydrax] Creating module...
16:16:26: [Hydrax] Creating ProjectedGridVertex module.
16:16:26: [Hydrax] ProjectedGridVertex created.
16:16:29: [Hydrax] Module created.
16:16:32: [Hydrax] Initializating RTT Manager...
16:16:35: [Hydrax] RTT manager initialized.
16:16:35: [Hydrax] Registring device restored listener...
16:16:40: [Hydrax] Device restored listener registred.
16:16:40: [Hydrax] Creating materials...
16:16:49: [Hydrax] Creating water material...
16:16:50: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 5 generated mipmaps from Image. Internal format is PF_L8,256x1x1.
16:16:50: Texture: Foam.png: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
16:16:51: [Hydrax] Water material created.
16:16:53: [Hydrax] Creating depth material...
16:17:55: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program _Hydrax_Depth_VP: CG ERROR : "The compile returned an error."
(13) : warning C7011: implicit cast from "float4" to "float3"
(14) : warning C7011: implicit cast from "float4" to "float3"
(23) : error C1008: undefined variable "uPlanesError"
in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
16:17:55: High-level program _Hydrax_Depth_VP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program _Hydrax_Depth_VP: CG ERROR : "The compile returned an error."
(13) : warning C7011: implicit cast from "float4" to "float3"
(14) : warning C7011: implicit cast from "float4" to "float3"
(23) : error C1008: undefined variable "uPlanesError"
in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
16:17:55: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program _Hydrax_Depth_FP: CG ERROR : "The compile returned an error."
(15) : error C1066: invalid type in type constructor
(15) : error C1010: expression left of ."x" is not a struct or array
in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
16:17:55: High-level program _Hydrax_Depth_FP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program _Hydrax_Depth_FP: CG ERROR : "The compile returned an error."
(15) : error C1066: invalid type in type constructor
(15) : error C1010: expression left of ."x" is not a struct or array
in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
16:18:02: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1423)


One more time, Ogre complains about "_findNamedConstantDefinition". Since the shader cannot compile, the constant cannot be found.
I would like to replace "uPlanesError" by "uPlaneYPos" in the sources but I am not sure to understand the shader (in fact, I did not try). I noticed "uPlanesError" is used by :
VP_Parameters->setNamedConstant("uPlanesError", (float) mHydrax->getPlanesError());

What do you think about that ?

[EDIT]
Which version do you use ? (Cg, HLSL or GLSL)
I got a working GLSL version but it seems the parameters have to be tuned from HLSL version to obtain the same result.

SanguinarioJoe

17-03-2011 19:13:26

Yeah, i will seek the errors into the shaders...

First for all, you has got an error using "Real" noise. You must specify perlin options (See the demo).

Send me the MSVC2010 project, i think that tomorrow i can send you a new version of Hydrax. If all runs OK, i will release it next week.

Regards,
Jose Luis Cercós Pita

SniperBinaire

25-03-2011 22:06:56

So here is ?

SanguinarioJoe

27-03-2011 11:59:29

HERE IS!

Hydrax-0.5.4 released!

Also wiki page has been updated with the new links.

Regards,
Jose Luis Cercós Pita