Thanks Mathias, I believe these changes should be safe. Nice to see more functionality but less code :-)
Changes now merged and submitted to svn/trunk. 2009/4/24 Mathias Fröhlich <[email protected]>: > > Hi Robert, > > On Thursday 23 April 2009 19:32, Robert Osfield wrote: >> I think it would be appropriate to simply get TextureRectangle to call >> Texture::applyTexParametes(). I can't see a problem with this unless >> TextureRectangle doesn't support the border clamping and anisotropic >> filtering. Given this having the separate applyTexShadowParameters >> isn't required. > > I did not verify all these parameters and extensions if they all apply to > Rectangular textures too. But if all these parameters apply as well for > rectancular textures this is perfectly ok for me. > > That means, the attached changes may be probably better. > > For my test program this works as well ... > > Greetings > > Mathias > > -- > Dr. Mathias Fröhlich, science + computing ag, Software Solutions > Hagellocher Weg 71-75, D-72070 Tuebingen, Germany > Phone: +49 7071 9457-268, Fax: +49 7071 9457-511 > -- > Vorstand/Board of Management: > Dr. Bernd Finkbeiner, Dr. Roland Niemeier, > Dr. Arno Steitz, Dr. Ingrid Zech > Vorsitzender des Aufsichtsrats/ > Chairman of the Supervisory Board: > Michel Lepert > Sitz/Registered Office: Tuebingen > Registergericht/Registration Court: Stuttgart > Registernummer/Commercial Register No.: HRB 382196 > > > _______________________________________________ > 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
