Ogre3d 使用CG程序时出现问题,没有任何效果
11:32:54: OGRE EXCEPTION(2:InvalidParametersException): Parameter called diffuse does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1451)
11:32:54: Compiler error: invalid parameters in Examples.program(256): setting of constant failed
11:32:56: Parsing script Examples.material
11:32:57: Compiler error: unknown error in Examples.material(26): token "ambient" is not recognized
11:32:57: Compiler error: unknown error in Examples.material(27): token "cull_hardware" is not recognized
11:32:57: Compiler error: unknown error in Examples.material(28): token "cull_software" is not recognized
11:32:59: Parsing script Ogre3DBeginnersGuid.material
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(4): token class, Ogre3DBeginnersGuide/Comp1, unrecognized.
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(17): token class, Ogre3DBeginnersGuide/Comp2, unrecognized.
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(4): base object named "material" not found in script definition
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(4): base object named "Ogre3DBeginnersGuide/Comp1" not found in script definition
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(17): base object named "material" not found in script definition
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(17): base object named "Ogre3DBeginnersGuide/Comp2" not found in script definition
11:33:00: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ogre3DBeginnerGuideShaders.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
11:33:00: High-level program MyVertexShader1 encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ogre3DBeginnerGuideShaders.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
11:33:00: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
11:33:00: Compiler error: invalid parameters in Ogre3DBeginnersGuid.material(53): setting of constant failed
11:33:00: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ogre3DBeginnerGuideShaders.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
11:33:00: High-level program MyVertexShader3 encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ogre3DBeginnerGuideShaders.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
11:33:00: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
11:33:00: Compiler error: invalid parameters in Ogre3DBeginnersGuid.material(76): setting of constant failed
11:33:00: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ogre3DBeginnerGuideShaders.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
11:33:00: High-level program MyVertexShader5 encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Ogre3DBeginnerGuideShaders.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
11:33:00: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
11:33:00: Compiler error: invalid parameters in Ogre3DBeginnersGuid.material(88): setting of constant failed
11:33:00: Compiler error: unknown error in Ogre3DBeginnersGuid.material(212): token "tex_border_color" is not recognized
11:33:00: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVScg: The compile returned an error.
<invalid atom 65535>(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::compileMicrocode at ..\..\..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
11:33:00: High-level program Ogre/ParticleGS/DisplayVScg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVScg: The compile returned an error.
<invalid atom 65535>(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
in CgProgram::compileMicrocode at ..\..\..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
11:33:02: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/RTShader/shadow_receiver_vs: The compile returned an error.
(0) : error C3001: no program defined
in CgProgram::compileMicrocode at ..\..\..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
11:33:02: High-level program Ogre/RTShader/shadow_receiver_vs encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/RTShader/shadow_receiver_vs: The compile returned an error.
(0) : error C3001: no program defined
in CgProgram::compileMicrocode at ..\..\..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
11:33:02: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
11:33:02: Compiler error: invalid parameters in HardwareSkinningShadow.material(206): setting of constant failed
11:33:02: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
11:33:02: Compiler error: invalid parameters in HardwareSkinningShadow.material(207): setting of constant failed
11:33:02: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/RTShader/shadow_receiver_ps: The compile returned an error.
(0) : error C3001: no program defined
in CgProgram::compileMicrocode at ..\..\..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
11:33:02: High-level program Ogre/RTShader/shadow_receiver_ps encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/RTShader/shadow_receiver_ps: The compile returned an error.
(0) : error C3001: no program defined
in CgProgram::compileMicrocode at ..\..\..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 67)
11:33:02: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
11:33:02: Compiler error: invalid parameters in HardwareSkinningShadow.material(219): setting of constant failed
11:33:02: Parsing script RTShaderSystem.material
11:33:02: Compiler error: unknown error in RTShaderSystem.material(23): token "rtshader_system" is not recognized
11:33:04: Mesh: Loading Sinbad.mesh.
11:33:04: Skeleton: Loading Sinbad.skeleton
11:33:04: WARNING: Sinbad.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
11:33:04: Texture: sinbad_body.tga: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:33:04: Texture: sinbad_clothes.tga: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:33:04: Texture: sinbad_sword.tga: Loading 1 faces(PF_R8G8B8,256x256x1) Internal format is PF_X8R8G8B8,256x256x1.
11:33:04: WARNING: the mesh 'Sinbad.mesh' includes vertices with more than 4 bone assignments. The lowest weighted assignments beyond this limit have been removed, so your animation may look slightly different. To eliminate this, reduce the number of bone assignments per vertex on your mesh to 4.
11:34:03: *** Initializing OIS ***
11:34:03: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name Core/AverageFps not found. in OverlayManager::getOverlayElementImpl at ..\..\..\..\OgreMain\src\OgreOverlayManager.cpp (line 612)
11:34:06: DefaultWorkQueue('Root') shutting down on thread 0076C808.
11:34:06: DefaultWorkQueue('Root')::WorkerFunc - thread 037946A0 stopped.