Thanks Laurens. I have a concern though.

Your change to "createTexture2D" breaks the texture caching feature. I
believe I understand why you made that change, since the texture wrap modes
might be different per texture instance. Maybe a better approach would be to
only create a new texture instance if the wrap mode is different? I wish OSG
supported setting the wrap mode independently of the texture.

Cheers,
Farshid

On Fri, May 20, 2011 at 5:46 AM, Laurens Voerman <[email protected]> wrote:

> Hi Farshid,
> attached is a patch for svn revision 205 (current Fri 20 May) for setting
> the texture repeat/tile mirror options according to the max material
> settings.
>
> Regards,
> Laurens.
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to