Hi Adrian, After looking at Shader compiler log, I suspect that using gl_TexCoord with const int as an index is not supported on your hardware. I made few changes to make it possible to change TexCoord indices without resorting to const ints, but as usual with such modifications I need to check them before sending. Since I also added Tim Moore & Your earlier suggestions - testing it all may require more time than I have currently. I have just returned from one trip and need to prepare for another tomorrow. I will make tests and submission in next week. I am really gratefull for all Your feedback. Thanks a lot.
Cheers, Wojtek -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Adrian Egli OpenSceneGraph (3D) Sent: Tuesday, August 19, 2008 4:38 PM To: OpenSceneGraph Submissions Subject: Re: [osg-submissions] Fw: View Dependent Shadow maps ( LispSM) sorry it doesn't work, when not set: --ViewBounds 2008/8/19 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]> Problem: Under VS 2003 the typedef in a method is not safty :-( have a look at my changes. 2008/8/19 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]> it builds, but the shadow doesn't work. sorry C:\Dokumente und Einstellungen\adegli>"C:\Dokumente und Einstellungen\adegli\Desktop\osgShadowViewDependent\osgShadowViewDependent\R elease\VSP.exe" --SingleThreaded chess.ive --lispsm VERTEX glCompileShader "" FAILED VERTEX Shader "" infolog: ERROR: 0:28: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:37: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:38: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:39: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:42: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:44: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:47: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:62: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:63: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:64: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:84: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:93: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:94: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:95: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:107: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:108: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:109: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:123: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:125: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:132: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:133: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:134: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:166: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:168: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 24 compilation errors. No code generated. glLinkProgram "" FAILED Program "" infolog: Link failed. All shader objects have not been successfully compiled. 2008/8/19 Jean-Sébastien Guay <[EMAIL PROTECTED]> Hi Adrian, Wojtek, FYI, to open the solution file Wojtek provided (which is a VS2008 solution) in VS2005, I just opened the .sln and .prj files in a text editor and modified their headers to match VS2005 project files (which is generally just changing the version to a lower one...). Perhaps this could be done to open the solution/project in VS2003 as well, thus removing the need to create a new solution/project and lose the settings that Wojtek had in the original files? I'm not sure if this would work, but for me since between 2005 and 2008 there didn't seem to be any major change in the solution/project file format, it worked fine. Also, I agree with Wojtek that there isn't much incentive to make CMake project files for this, since it's likely going to be integrated into the existing osgShadow nodekit soon. For simple testing it's not necessary. J-S -- ______________________________________________________ Jean-Sebastien Guay [EMAIL PROTECTED] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-opensce negraph.org -- ******************************************** Adrian Egli -- ******************************************** Adrian Egli -- ******************************************** Adrian Egli
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
