Ogre keeps loggin this, maybe it's a bug

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Steve3d
Gnoblar
Posts: 20
Joined: Tue Mar 09, 2004 7:02 am

Ogre keeps loggin this, maybe it's a bug

Post by Steve3d »

Code: Select all

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named eyePosition. 
File: \Projects\OgreNew\OgreMain\src\OgreGpuProgram.cpp
Line: 452
Stack unwinding: <<beginning of stack>>
15:32:46: Error in material Examples/Athene/NormalMappedSpecular at line 1095 of Examples-Advanced.material: Invalid param_named_auto attribute - An exception has been thrown!
I have check the OgreGpuProgram.h file, there is no paramater called eyeposition or something like, only ACT_CAMERA_POSITION_OBJECT_SPACE.

I'm using OGRE 1.00 final.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

eyePosition is a parameter name in the shader, not an auto type. This error means that you have an incompatible version of cg.dll on your path; we provide cg.dll v1.1 with the Ogre dependencies which definitely works, this issues can occur with 1.3 beta and has been reported to nVidia (although with no response in 4 months despite follow-ups).