Hi Sebastien, On 22 November 2014 10:08, Sebastian Messerschmidt < [email protected]> wrote:
> Clamping is one way to tackle it, but in my case (using the > IntersectionVisitor and calculate the texture coordinates) I sometimes get > negative texture coordinates, which have to be wrapped to modify the > correct texel. > I think we can live with this behaviour, as one should do the wrapping as > desired on his end. Maybe we could provide the wrapping function somewhere > in the Math section? > How one should wrap the texcoords depends upon the Texture settings, so if one wants to support all the different combinations you'd need to passing the wrap parameters for all dimensions and then have handling of this in the get/set method. This is getting to overkill for what is very specialist method. Robert.
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
