Thanks Sebastian, I've now reviewed and merged your changes to the polygon offset parameters, but for now have decided not to merge the changes to the "one shot" functionality. The reason for not merging the later is that I feel that this type of functionality needs to move up into a high level within osgShadow (i.e. shared by all shadow techniques), and the naming needs to be done in a say that is more consistent with the how other similar functionality is named. For instance continuous update and dirty and used elsewhere.
Robert. On Wed, Mar 5, 2008 at 9:33 AM, Sebastian Messerschmidt <[EMAIL PROTECTED]> wrote: > Hi, > > I've merged my changes with the current SVN and experienced some strange > things too. > Wojciech I think has added negative polygonoffset when culling back > faces. This leads to selfshadowing everywhere on my ATI card. > When supplying positive values however it works on ATI and NVIDIA (when > choosing a bigger value though) > > I've attached the merge as is, since my changes involve a function to > set the polyoffset from outside (see attached description for further > details). > I also agree to Robert, that we need definitely more unit tests for > this, but I have that strange feeling, that won't be enough, since I had > very different experiences with different card/driver combinations. > (e.g. ATI .. they have inverted the t-coordinate of the FBO-Texture in > their newest drivers ...) > > I hope my changes are of any value. > > cheers > psy > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
