astrologo
17-11-2008 17:24:13
We're trying to make Ocean Water examples with oGre. In 3ds max it's seems to work ok. But when we try to load it with OGRE we've got this error:
18:06:26: OGRE EXCEPTION(5:ItemIdentityException): Unable to locate vertex program called Ocean_Water_vs. in GpuProgramUsage::setProgramName at ..\src\OgreGpuProgramUsage.cpp (line 61)
Though, we've loaded all the example programs of Ogre, it seems we've forgot something.
Please help!
What it's going on? Why those shader are missing? Should we use another program that contains the shaders definition?
Thanks in advance
Lioric
18-11-2008 00:16:39
The sample might contain shaders in Cg, you must load the Plugin_CgProgramManager.dll library in your application for the shaders to be created and used
See your ogre.log file for more details, it will contain hints on why the shader was not loaded (or post here the contents of the log file)
muqianyu
15-01-2009 09:54:04
Unfortunately I have got the same error.
What can i do for it such as load the Plugin_CgProgramManager.dll library in your application. I am appreciate if someone can give me some suggest.
Thanks very much.
Lioric
15-01-2009 16:48:27
The Cg Plugin is loaded by Ogre engine either manual or automatic, if automatically, review if the Plugin_CgProgamManager.dll file is declared in your plugins.cfg file (and not commented out) and that the file is in your application path where Ogre can load it
Post your ogre.log file (from your application), that will provide more details on why the shader was not loaded
muqianyu
16-01-2009 00:26:32
Thank you. My log is shown.
00:30:15: Creating resource group General
00:30:15: Creating resource group Internal
00:30:15: Creating resource group Autodetect
00:30:15: SceneManagerFactory for type 'DefaultSceneManager' registered.
00:30:16: Registering ResourceManager for type Material
00:30:16: Registering ResourceManager for type Mesh
00:30:16: Registering ResourceManager for type Skeleton
00:30:16: MovableObjectFactory for type 'ParticleSystem' registered.
00:30:16: OverlayElementFactory for type Panel registered.
00:30:16: OverlayElementFactory for type BorderPanel registered.
00:30:16: OverlayElementFactory for type TextArea registered.
00:30:16: Registering ResourceManager for type Font
00:30:16: ArchiveFactory for archive type FileSystem registered.
00:30:16: ArchiveFactory for archive type Zip registered.
00:30:16: FreeImage version: 3.10.0
00:30:16: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
00:30:16: 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
00:30:16: DDS codec registering
00:30:16: Registering ResourceManager for type HighLevelGpuProgram
00:30:16: Registering ResourceManager for type Compositor
00:30:16: MovableObjectFactory for type 'Entity' registered.
00:30:16: MovableObjectFactory for type 'Light' registered.
00:30:16: MovableObjectFactory for type 'BillboardSet' registered.
00:30:16: MovableObjectFactory for type 'ManualObject' registered.
00:30:16: MovableObjectFactory for type 'BillboardChain' registered.
00:30:16: MovableObjectFactory for type 'RibbonTrail' registered.
00:30:16: *-*-* OGRE Initialising
00:30:16: *-*-* Version 1.6.0 (Shoggoth)
00:30:16: Creating resource group Bootstrap
00:30:16: Added resource location 'Media/Essential/Boot/' of type 'FileSystem' to resource group 'Bootstrap'
00:30:16: Added resource location 'Media/Ogre/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
00:30:16: Added resource location 'Media' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Essential/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Essential/BetaGUI/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Essential/BetaGUIExtended/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Essential/Fonts/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/SimpleMeshes/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/ComplexMeshes/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Env//' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/fonts/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/materials/programs/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/materials/scripts/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/materials/textures/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/models/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/overlays/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/particle/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/gui/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/DeferredShadingMedia/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/PCZAppMedia/' of type 'FileSystem' to resource group 'General'
00:30:16: Added resource location 'Media/Ogre/packs/cubemap.zip' of type 'Zip' to resource group 'General'
00:30:17: Added resource location 'Media/Ogre/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
00:30:17: Added resource location 'Media/Ogre/packs/dragon.zip' of type 'Zip' to resource group 'General'
00:30:17: Added resource location 'Media/Ogre/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
00:30:17: Added resource location 'Media/Ogre/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
00:30:17: Added resource location 'Media/Ogre/packs/skybox.zip' of type 'Zip' to resource group 'General'
00:30:17: Loading library RenderSystem_Direct3D9_d
00:30:17: Installing plugin: D3D9 RenderSystem
00:30:17: D3D9 : Direct3D9 Rendering Subsystem created.
00:30:17: D3D9: Driver Detection Starts
00:30:17: D3D9: Driver Detection Ends
00:30:17: Plugin successfully installed
00:30:17: Loading library RenderSystem_GL_d
00:30:17: Installing plugin: GL RenderSystem
00:30:17: OpenGL Rendering Subsystem created.
00:30:18: Plugin successfully installed
00:30:18: Loading library Plugin_ParticleFX_d
00:30:18: Installing plugin: ParticleFX
00:30:18: Particle Emitter Type 'Point' registered
00:30:18: Particle Emitter Type 'Box' registered
00:30:18: Particle Emitter Type 'Ellipsoid' registered
00:30:18: Particle Emitter Type 'Cylinder' registered
00:30:18: Particle Emitter Type 'Ring' registered
00:30:18: Particle Emitter Type 'HollowEllipsoid' registered
00:30:18: Particle Affector Type 'LinearForce' registered
00:30:18: Particle Affector Type 'ColourFader' registered
00:30:18: Particle Affector Type 'ColourFader2' registered
00:30:18: Particle Affector Type 'ColourImage' registered
00:30:18: Particle Affector Type 'ColourInterpolator' registered
00:30:18: Particle Affector Type 'Scaler' registered
00:30:18: Particle Affector Type 'Rotator' registered
00:30:18: Particle Affector Type 'DirectionRandomiser' registered
00:30:18: Particle Affector Type 'DeflectorPlane' registered
00:30:18: Plugin successfully installed
00:30:18: Loading library Plugin_OctreeSceneManager_d
00:30:18: Installing plugin: Octree & Terrain Scene Manager
00:30:18: Plugin successfully installed
00:30:18: Loading library Plugin_CgProgramManager_d
00:30:18: Installing plugin: Cg Program Manager
00:30:19: Plugin successfully installed
00:30:19: D3D9 : RenderSystem Option: Full Screen = NO
00:30:19: D3D9 : RenderSystem Option: VSync = Yes
00:30:19: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour
00:30:19: D3D9 : RenderSystem Option: Anti aliasing = Level 0
00:30:19: CPU Identifier & Features
00:30:19: -------------------------
00:30:19: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU U7500 @ 1.06GHz
00:30:19: * SSE: yes
00:30:19: * SSE2: yes
00:30:19: * SSE3: yes
00:30:19: * MMX: yes
00:30:19: * MMXEXT: yes
00:30:19: * 3DNOW: no
00:30:19: * 3DNOWEXT: no
00:30:19: * CMOV: yes
00:30:19: * TSC: yes
00:30:19: * FPU: yes
00:30:19: * PRO: yes
00:30:19: * HT: no
00:30:19: -------------------------
00:30:19: D3D9 : Subsystem Initialising
00:30:19: D3D9RenderSystem::_createRenderWindow "Powered by NxOgre", 1024x768 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=true
00:30:19: D3D9 : Created D3D9 Rendering Window 'Powered by NxOgre' : 1024x768, 32bpp
00:30:19: Registering ResourceManager for type Texture
00:30:19: Registering ResourceManager for type GpuProgram
00:30:19: RenderSystem capabilities
00:30:19: -------------------------
00:30:19: RenderSystem Name: Direct3D9 Rendering Subsystem
00:30:19: GPU Vendor: intel
00:30:19: Device Name: Mobile Intel(R) 945GM Express Chipset Family
00:30:19: Driver Version: 6.14.10.4631
00:30:19: * Fixed function pipeline: yes
00:30:19: * Hardware generation of mipmaps: no
00:30:19: * Texture blending: yes
00:30:19: * Anisotropic texture filtering: yes
00:30:19: * Dot product texture operation: yes
00:30:19: * Cube mapping: yes
00:30:19: * Hardware stencil buffer: yes
00:30:19: - Stencil depth: 8
00:30:19: - Two sided stencil support: yes
00:30:19: - Wrap stencil values: yes
00:30:19: * Hardware vertex / index buffers: yes
00:30:19: * Vertex programs: yes
00:30:19: * Fragment programs: yes
00:30:19: * Geometry programs: no
00:30:19: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
00:30:19: * Texture Compression: yes
00:30:19: - DXT: yes
00:30:19: - VTC: no
00:30:19: * Scissor Rectangle: yes
00:30:19: * Hardware Occlusion Query: no
00:30:19: * User clip planes: yes
00:30:19: * VET_UBYTE4 vertex element type: yes
00:30:19: * Infinite far plane projection: yes
00:30:19: * Hardware render-to-texture: yes
00:30:19: * Floating point textures: no
00:30:19: * Non-power-of-two textures: yes (limited)
00:30:19: * Volume textures: yes
00:30:19: * Multiple Render Targets: 1
00:30:19: - With different bit depths: no
00:30:19: * Point Sprites: yes
00:30:19: * Extended point parameters: yes
00:30:19: * Max Point Size: 256
00:30:19: * Vertex texture fetch: no
00:30:19: * Render to Vertex Buffer : no
00:30:19: * DirectX per stage constants: yes
00:30:19: ***************************************
00:30:19: *** D3D9 : Subsystem Initialised OK ***
00:30:19: ***************************************
00:30:19: ResourceBackgroundQueue - threading disabled
00:30:19: Particle Renderer Type 'billboard' registered
00:30:19: SceneManagerFactory for type 'OctreeSceneManager' registered.
00:30:19: SceneManagerFactory for type 'TerrainSceneManager' registered.
00:30:19: Parsing scripts for resource group Autodetect
00:30:19: Finished parsing scripts for resource group Autodetect
00:30:19: Parsing scripts for resource group Bootstrap
00:30:19: Parsing script boot.material
00:30:19: Parsing script gui.material
00:30:20: Parsing script nx.bodyguide.material
00:30:20: Parsing script OgreCore.material
00:30:20: Parsing script OgreProfiler.material
00:30:20: Parsing script Ogre.fontdef
00:30:20: Parsing script OgreDebugPanel.overlay
00:30:20: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
00:30:20: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
00:30:20: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
00:30:20: Font BlueHighwayusing texture size 512x512
00:30:20: Info: Freetype returned null for character 127 in font BlueHighway
00:30:20: Info: Freetype returned null for character 128 in font BlueHighway
00:30:20: Info: Freetype returned null for character 129 in font BlueHighway
00:30:20: Info: Freetype returned null for character 130 in font BlueHighway
00:30:20: Info: Freetype returned null for character 131 in font BlueHighway
00:30:20: Info: Freetype returned null for character 132 in font BlueHighway
00:30:20: Info: Freetype returned null for character 133 in font BlueHighway
00:30:20: Info: Freetype returned null for character 134 in font BlueHighway
00:30:20: Info: Freetype returned null for character 135 in font BlueHighway
00:30:20: Info: Freetype returned null for character 136 in font BlueHighway
00:30:20: Info: Freetype returned null for character 137 in font BlueHighway
00:30:20: Info: Freetype returned null for character 138 in font BlueHighway
00:30:20: Info: Freetype returned null for character 139 in font BlueHighway
00:30:20: Info: Freetype returned null for character 140 in font BlueHighway
00:30:20: Info: Freetype returned null for character 141 in font BlueHighway
00:30:20: Info: Freetype returned null for character 142 in font BlueHighway
00:30:20: Info: Freetype returned null for character 143 in font BlueHighway
00:30:20: Info: Freetype returned null for character 144 in font BlueHighway
00:30:20: Info: Freetype returned null for character 145 in font BlueHighway
00:30:20: Info: Freetype returned null for character 146 in font BlueHighway
00:30:20: Info: Freetype returned null for character 147 in font BlueHighway
00:30:20: Info: Freetype returned null for character 148 in font BlueHighway
00:30:20: Info: Freetype returned null for character 149 in font BlueHighway
00:30:20: Info: Freetype returned null for character 150 in font BlueHighway
00:30:20: Info: Freetype returned null for character 151 in font BlueHighway
00:30:20: Info: Freetype returned null for character 152 in font BlueHighway
00:30:20: Info: Freetype returned null for character 153 in font BlueHighway
00:30:20: Info: Freetype returned null for character 154 in font BlueHighway
00:30:20: Info: Freetype returned null for character 155 in font BlueHighway
00:30:20: Info: Freetype returned null for character 156 in font BlueHighway
00:30:20: Info: Freetype returned null for character 157 in font BlueHighway
00:30:20: Info: Freetype returned null for character 158 in font BlueHighway
00:30:20: Info: Freetype returned null for character 159 in font BlueHighway
00:30:20: Info: Freetype returned null for character 160 in font BlueHighway
00:30:20: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
00:30:21: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
00:30:21: Parsing script OgreLoadingPanel.overlay
00:30:21: Finished parsing scripts for resource group Bootstrap
00:30:21: Parsing scripts for resource group General
00:30:21: Parsing script Examples.program
00:30:22: Parsing script StdQuad_vp.program
00:30:22: Parsing script deferred.glsl.program
00:30:22: Parsing script deferred.hlsl.program
00:30:23: Parsing script deferred.program
00:30:23: Parsing script deferred_post_ambient.program
00:30:23: Parsing script deferred_post_debug.glsl.program
00:30:23: Parsing script deferred_post_debug.hlsl.program
00:30:23: Parsing script deferred_post_debug.program
00:30:24: Parsing script deferred_post_minilight.glsl.program
00:30:24: Parsing script deferred_post_minilight.hlsl.program
00:30:24: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:24: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
00:30:24: Parsing script deferred_post_minilight.program
00:30:24: Parsing script deferred_post_multipass.glsl.program
00:30:24: Parsing script deferred_post_multipass.hlsl.program
00:30:24: Parsing script deferred_post_onepass.glsl.program
00:30:24: Parsing script deferred_post_onepass.hlsl.program
00:30:25: Parsing script deferred_post_vs.program
00:30:25: Parsing script widgets.material
00:30:25: Parsing script bgui.material
00:30:25: Parsing script editor.material.material
00:30:26: Parsing script nxbgui.material
00:30:26: Parsing script capsule.prefix.material
00:30:26: Parsing script convex.prefix.material
00:30:26: Parsing script cube.prefix.material
00:30:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called fixedDepthBias does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:26: Compiler error: invalid parameters in cube.prefix.material(19): setting of constant failed
00:30:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called gradientClamp does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:26: Compiler error: invalid parameters in cube.prefix.material(20): setting of constant failed
00:30:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called gradientScaleBias does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:26: Compiler error: invalid parameters in cube.prefix.material(21): setting of constant failed
00:30:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called fixedDepthBias does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:26: Compiler error: invalid parameters in cube.prefix.material(51): setting of constant failed
00:30:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called gradientClamp does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:26: Compiler error: invalid parameters in cube.prefix.material(52): setting of constant failed
00:30:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called gradientScaleBias does not exist. in GpuProgramParameters::_findNamedConstantDefinition at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogram.cpp (line 1097)
00:30:26: Compiler error: invalid parameters in cube.prefix.material(53): setting of constant failed
00:30:26: Parsing script hilight.material
00:30:26: Parsing script nx.block.material
00:30:26: Parsing script nx.convex2.material
00:30:26: Parsing script nx.sphere.material
00:30:26: Parsing script nx.tube.material
00:30:26: Parsing script racecar.material
00:30:26: Parsing script sandbox.material
00:30:26: Parsing script sphere.prefix.material
00:30:26: Parsing script wheel50cmx10cmx50cm.material
00:30:27: Parsing script cloth.material
00:30:27: Parsing script nx.floor.material
00:30:27: OGRE EXCEPTION(5:ItemIdentityException): Unable to locate vertex program called Ogre/DepthShadowmap/ReceiverVP. in GpuProgramUsage::setProgramName at c:\ogresdk\ogrenew\ogremain\src\ogregpuprogramusage.cpp (line 61)
Perhaps there is something wrong with the media which i loaded, but i am not sure. I am a new in it, thanks for your help.
Lioric
16-01-2009 16:17:15
What is the name of the water shader you are loading? all i see in your log file are issues with "deferred_post_minilight.hlsl.program" and "cube.prefix.material" shaders
Florin
30-11-2009 18:51:38
I get the same exception. "Unable to locate vertex program called DoF_DepthVP_cg"
I added to the DOF.material the scripts of Olganix
http://www.ogre3d.org/forums/viewtopic.php?f=11&t=18074&start=75#p362271
After this all application return the same exception.
This is the Ogre log file:
18:43:10: Creating resource group General
18:43:10: Creating resource group Internal
18:43:10: Creating resource group Autodetect
18:43:10: SceneManagerFactory for type 'DefaultSceneManager' registered.
18:43:10: Registering ResourceManager for type Material
18:43:10: Registering ResourceManager for type Mesh
18:43:10: Registering ResourceManager for type Skeleton
18:43:10: MovableObjectFactory for type 'ParticleSystem' registered.
18:43:10: OverlayElementFactory for type Panel registered.
18:43:10: OverlayElementFactory for type BorderPanel registered.
18:43:10: OverlayElementFactory for type TextArea registered.
18:43:10: Registering ResourceManager for type Font
18:43:10: ArchiveFactory for archive type FileSystem registered.
18:43:10: ArchiveFactory for archive type Zip registered.
18:43:10: FreeImage version: 3.10.0
18:43:10: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
18:43:10: 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
18:43:10: DDS codec registering
18:43:10: Registering ResourceManager for type HighLevelGpuProgram
18:43:10: Registering ResourceManager for type Compositor
18:43:10: MovableObjectFactory for type 'Entity' registered.
18:43:10: MovableObjectFactory for type 'Light' registered.
18:43:10: MovableObjectFactory for type 'BillboardSet' registered.
18:43:10: MovableObjectFactory for type 'ManualObject' registered.
18:43:10: MovableObjectFactory for type 'BillboardChain' registered.
18:43:10: MovableObjectFactory for type 'RibbonTrail' registered.
18:43:10: Loading library .\RenderSystem_Direct3D9_d
18:43:10: Installing plugin: D3D9 RenderSystem
18:43:10: D3D9 : Direct3D9 Rendering Subsystem created.
18:43:10: D3D9: Driver Detection Starts
18:43:10: D3D9: Driver Detection Ends
18:43:10: Plugin successfully installed
18:43:10: Loading library .\RenderSystem_GL_d
18:43:10: Installing plugin: GL RenderSystem
18:43:10: OpenGL Rendering Subsystem created.
18:43:11: Plugin successfully installed
18:43:11: Loading library .\Plugin_ParticleFX_d
18:43:11: Installing plugin: ParticleFX
18:43:11: Particle Emitter Type 'Point' registered
18:43:11: Particle Emitter Type 'Box' registered
18:43:11: Particle Emitter Type 'Ellipsoid' registered
18:43:11: Particle Emitter Type 'Cylinder' registered
18:43:11: Particle Emitter Type 'Ring' registered
18:43:11: Particle Emitter Type 'HollowEllipsoid' registered
18:43:11: Particle Affector Type 'LinearForce' registered
18:43:11: Particle Affector Type 'ColourFader' registered
18:43:11: Particle Affector Type 'ColourFader2' registered
18:43:11: Particle Affector Type 'ColourImage' registered
18:43:11: Particle Affector Type 'ColourInterpolator' registered
18:43:11: Particle Affector Type 'Scaler' registered
18:43:11: Particle Affector Type 'Rotator' registered
18:43:11: Particle Affector Type 'DirectionRandomiser' registered
18:43:11: Particle Affector Type 'DeflectorPlane' registered
18:43:11: Plugin successfully installed
18:43:11: Loading library .\Plugin_BSPSceneManager_d
18:43:11: Installing plugin: BSP Scene Manager
18:43:11: Plugin successfully installed
18:43:11: Loading library .\Plugin_CgProgramManager_d
18:43:11: Installing plugin: Cg Program Manager
18:43:11: Plugin successfully installed
18:43:11: Loading library .\Plugin_PCZSceneManager_d.dll
18:43:11: Installing plugin: Portal Connected Zone Scene Manager
18:43:11: PCZone Factory Type 'ZoneType_Default' registered
18:43:11: Plugin successfully installed
18:43:11: Loading library .\Plugin_OctreeZone_d.dll
18:43:11: Installing plugin: Octree Zone Factory
18:43:11: Plugin successfully installed
18:43:11: Loading library .\Plugin_OctreeSceneManager_d
18:43:11: Installing plugin: Octree & Terrain Scene Manager
18:43:11: Plugin successfully installed
18:43:11: *-*-* OGRE Initialising
18:43:11: *-*-* Version 1.6.4 (Shoggoth)
18:43:11: Creating resource group Bootstrap
18:43:11: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
18:43:11: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
18:43:11: Added resource location '../../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
18:43:11: Added resource location '../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
18:43:11: Added resource location '../../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
18:43:11: Added resource location '../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
18:43:11: Added resource location '../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
18:43:11: Added resource location '../../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
18:43:11: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
18:43:11: D3D9 : RenderSystem Option: Anti aliasing = None
18:43:11: D3D9 : RenderSystem Option: Floating-point mode = Fastest
18:43:11: D3D9 : RenderSystem Option: Full Screen = No
18:43:11: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 8400M G
18:43:11: D3D9 : RenderSystem Option: VSync = No
18:43:11: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
18:43:11: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
18:43:12: CPU Identifier & Features
18:43:12: -------------------------
18:43:12: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
18:43:12: * SSE: yes
18:43:12: * SSE2: yes
18:43:12: * SSE3: yes
18:43:12: * MMX: yes
18:43:12: * MMXEXT: yes
18:43:12: * 3DNOW: no
18:43:12: * 3DNOWEXT: no
18:43:12: * CMOV: yes
18:43:12: * TSC: yes
18:43:12: * FPU: yes
18:43:12: * PRO: yes
18:43:12: * HT: no
18:43:12: -------------------------
18:43:12: D3D9 : Subsystem Initialising
18:43:12: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 800x600 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false
18:43:12: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
18:43:12: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
18:43:12: Registering ResourceManager for type Texture
18:43:12: Registering ResourceManager for type GpuProgram
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT16_R
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT32_R
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT16_GR
18:43:12: D3D9: Vertex texture format supported - PF_FLOAT32_GR
18:43:12: RenderSystem capabilities
18:43:12: -------------------------
18:43:12: RenderSystem Name: Direct3D9 Rendering Subsystem
18:43:12: GPU Vendor: nvidia
18:43:12: Device Name: NVIDIA GeForce 8400M G
18:43:12: Driver Version: 7.15.11.119
18:43:12: * Fixed function pipeline: yes
18:43:12: * Hardware generation of mipmaps: yes
18:43:12: * Texture blending: yes
18:43:12: * Anisotropic texture filtering: yes
18:43:12: * Dot product texture operation: yes
18:43:12: * Cube mapping: yes
18:43:12: * Hardware stencil buffer: yes
18:43:12: - Stencil depth: 8
18:43:12: - Two sided stencil support: yes
18:43:12: - Wrap stencil values: yes
18:43:12: * Hardware vertex / index buffers: yes
18:43:12: * Vertex programs: yes
18:43:12: * Fragment programs: yes
18:43:12: * Geometry programs: no
18:43:12: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
18:43:12: * Texture Compression: yes
18:43:12: - DXT: yes
18:43:12: - VTC: no
18:43:12: * Scissor Rectangle: yes
18:43:12: * Hardware Occlusion Query: yes
18:43:12: * User clip planes: yes
18:43:12: * VET_UBYTE4 vertex element type: yes
18:43:12: * Infinite far plane projection: yes
18:43:12: * Hardware render-to-texture: yes
18:43:12: * Floating point textures: yes
18:43:12: * Non-power-of-two textures: yes
18:43:12: * Volume textures: yes
18:43:12: * Multiple Render Targets: 4
18:43:12: - With different bit depths: yes
18:43:12: * Point Sprites: yes
18:43:12: * Extended point parameters: yes
18:43:12: * Max Point Size: 8192
18:43:12: * Vertex texture fetch: yes
18:43:12: - Max vertex textures: 4
18:43:12: - Vertex textures shared: no
18:43:12: * Render to Vertex Buffer : no
18:43:12: * DirectX per stage constants: yes
18:43:12: ***************************************
18:43:12: *** D3D9 : Subsystem Initialised OK ***
18:43:12: ***************************************
18:43:12: ResourceBackgroundQueue - threading disabled
18:43:12: Particle Renderer Type 'billboard' registered
18:43:12: SceneManagerFactory for type 'BspSceneManager' registered.
18:43:12: Registering ResourceManager for type BspLevel
18:43:12: SceneManagerFactory for type 'PCZSceneManager' registered.
18:43:12: MovableObjectFactory for type 'PCZLight' registered.
18:43:12: PCZone Factory Type 'ZoneType_Octree' registered
18:43:12: PCZone Factory Type 'ZoneType_Terrain' registered
18:43:12: SceneManagerFactory for type 'OctreeSceneManager' registered.
18:43:12: SceneManagerFactory for type 'TerrainSceneManager' registered.
18:43:12: Parsing scripts for resource group Autodetect
18:43:12: Finished parsing scripts for resource group Autodetect
18:43:12: Parsing scripts for resource group Bootstrap
18:43:12: Parsing script OgreCore.material
18:43:12: Parsing script OgreProfiler.material
18:43:12: Parsing script Ogre.fontdef
18:43:12: Parsing script OgreDebugPanel.overlay
18:43:12: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
18:43:12: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
18:43:12: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:43:12: Font BlueHighwayusing texture size 512x512
18:43:12: Info: Freetype returned null for character 127 in font BlueHighway
18:43:12: Info: Freetype returned null for character 128 in font BlueHighway
18:43:12: Info: Freetype returned null for character 129 in font BlueHighway
18:43:12: Info: Freetype returned null for character 130 in font BlueHighway
18:43:12: Info: Freetype returned null for character 131 in font BlueHighway
18:43:12: Info: Freetype returned null for character 132 in font BlueHighway
18:43:12: Info: Freetype returned null for character 133 in font BlueHighway
18:43:12: Info: Freetype returned null for character 134 in font BlueHighway
18:43:12: Info: Freetype returned null for character 135 in font BlueHighway
18:43:12: Info: Freetype returned null for character 136 in font BlueHighway
18:43:12: Info: Freetype returned null for character 137 in font BlueHighway
18:43:12: Info: Freetype returned null for character 138 in font BlueHighway
18:43:12: Info: Freetype returned null for character 139 in font BlueHighway
18:43:12: Info: Freetype returned null for character 140 in font BlueHighway
18:43:12: Info: Freetype returned null for character 141 in font BlueHighway
18:43:12: Info: Freetype returned null for character 142 in font BlueHighway
18:43:12: Info: Freetype returned null for character 143 in font BlueHighway
18:43:12: Info: Freetype returned null for character 144 in font BlueHighway
18:43:12: Info: Freetype returned null for character 145 in font BlueHighway
18:43:12: Info: Freetype returned null for character 146 in font BlueHighway
18:43:12: Info: Freetype returned null for character 147 in font BlueHighway
18:43:12: Info: Freetype returned null for character 148 in font BlueHighway
18:43:12: Info: Freetype returned null for character 149 in font BlueHighway
18:43:12: Info: Freetype returned null for character 150 in font BlueHighway
18:43:12: Info: Freetype returned null for character 151 in font BlueHighway
18:43:12: Info: Freetype returned null for character 152 in font BlueHighway
18:43:12: Info: Freetype returned null for character 153 in font BlueHighway
18:43:12: Info: Freetype returned null for character 154 in font BlueHighway
18:43:12: Info: Freetype returned null for character 155 in font BlueHighway
18:43:12: Info: Freetype returned null for character 156 in font BlueHighway
18:43:12: Info: Freetype returned null for character 157 in font BlueHighway
18:43:12: Info: Freetype returned null for character 158 in font BlueHighway
18:43:12: Info: Freetype returned null for character 159 in font BlueHighway
18:43:12: Info: Freetype returned null for character 160 in font BlueHighway
18:43:12: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
18:43:13: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
18:43:13: Parsing script OgreLoadingPanel.overlay
18:43:13: Finished parsing scripts for resource group Bootstrap
18:43:13: Parsing scripts for resource group General
18:43:13: Parsing script DoF.program
18:43:13: Parsing script Examples.program
18:43:13: Parsing script StdQuad_vp.program
18:43:13: Parsing script Tests.program
18:43:13: Parsing script deferred.glsl.program
18:43:13: Parsing script deferred.hlsl.program
18:43:13: Parsing script deferred.program
18:43:14: Parsing script deferred_post_ambient.program
18:43:14: Parsing script deferred_post_debug.glsl.program
18:43:14: Parsing script deferred_post_debug.hlsl.program
18:43:14: Parsing script deferred_post_debug.program
18:43:14: Parsing script deferred_post_minilight.glsl.program
18:43:14: Parsing script deferred_post_minilight.hlsl.program
18:43:14: OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightFalloff does not exist. in GpuProgramParameters::_findNamedConstantDefinition at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogregpuprogram.cpp (line 1097)
18:43:14: Compiler error: invalid parameters in deferred_post_minilight.hlsl.program(27): setting of constant failed
18:43:14: Parsing script deferred_post_minilight.program
18:43:14: Parsing script deferred_post_multipass.glsl.program
18:43:14: Parsing script deferred_post_multipass.hlsl.program
18:43:14: Parsing script deferred_post_onepass.glsl.program
18:43:14: Parsing script deferred_post_onepass.hlsl.program
18:43:14: Parsing script deferred_post_vs.program
18:43:14: Parsing script ASCII.material
18:43:14: Parsing script ASMSwizzle.material
18:43:14: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
18:43:14: Parsing script BlackAndWhite.material
18:43:14: Parsing script Bloom.material
18:43:14: Parsing script Bloom2.material
18:43:14: Parsing script CGSwizzle.material
18:43:14: Parsing script DepthShadowmap.material
18:43:15: Parsing script Dither.material
18:43:15: Parsing script DOF.material
18:43:15: OGRE EXCEPTION(5:ItemIdentityException): Unable to locate vertex program called DoF_DepthVP_cg. in GpuProgramUsage::setProgramName at f:\codingextra\ogre\shoggoth_vc9\ogre\ogremain\src\ogregpuprogramusage.cpp (line 61)
18:43:17: PCZone Factory Type 'ZoneType_Octree' unregistered
18:43:17: PCZone Factory Type 'ZoneType_Terrain' unregistered
18:43:17: Unregistering ResourceManager for type BspLevel
18:43:17: *-*-* OGRE Shutdown
18:43:17: Unregistering ResourceManager for type Compositor
18:43:17: Unregistering ResourceManager for type Font
18:43:17: Unregistering ResourceManager for type Skeleton
18:43:17: Unregistering ResourceManager for type Mesh
18:43:17: Unregistering ResourceManager for type HighLevelGpuProgram
18:43:17: Uninstalling plugin: Octree & Terrain Scene Manager
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\Plugin_OctreeSceneManager_d
18:43:17: Uninstalling plugin: Octree Zone Factory
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\Plugin_OctreeZone_d.dll
18:43:17: Uninstalling plugin: Portal Connected Zone Scene Manager
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\Plugin_PCZSceneManager_d.dll
18:43:17: Uninstalling plugin: Cg Program Manager
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\Plugin_CgProgramManager_d
18:43:17: Uninstalling plugin: BSP Scene Manager
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\Plugin_BSPSceneManager_d
18:43:17: Uninstalling plugin: ParticleFX
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\Plugin_ParticleFX_d
18:43:17: Uninstalling plugin: GL RenderSystem
18:43:17: *** Stopping Win32GL Subsystem ***
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\RenderSystem_GL_d
18:43:17: Uninstalling plugin: D3D9 RenderSystem
18:43:17: D3D9 : Shutting down cleanly.
18:43:17: Unregistering ResourceManager for type Texture
18:43:17: Unregistering ResourceManager for type GpuProgram
18:43:17: D3D9 : Direct3D9 Rendering Subsystem destroyed.
18:43:17: Plugin successfully uninstalled
18:43:17: Unloading library .\RenderSystem_Direct3D9_d
18:43:17: Unregistering ResourceManager for type Material
The exception happens when the DOF.material is parsed.
I just installed cg toolkit from nvidia but I am a complete noob in cg.
Do I need to do something more like compiling the cg script ?
Any advice is appreciated.
Thank you in advance !
Florin
30-11-2009 20:54:48
I solved the problem by moving the new script to a new .material file