Thanks Guillaume, change looks reasonable now merged and submitted to
svn/trunk. In future could you post the whole modified file as well as
often patch fails to merge cleanly and makes requires more steps for
me to achieve a proper graphical review. Cheers, Robert.

On 27 February 2012 17:51, Guillaume Millet <[email protected]> wrote:
> Hi all,
>
> When using the texture Atlas builder, it will convert from REPEAT to
> CLAMP all textures using only texcoord between [-0.001 1.001] to give a
> chance to create an Atlas.
> If the atlas creation failed for other reason (texture size, only one
> compatible texture, ...) the texture remain modified in CLAMP mode.
>
> But if you use texcoords between [0.0 1.0] using CLAMP mode instead
> REPEAT it is not safe because you will have a blend to the border color
> at extremities.
> If we want to have exactly the same rendering after changing mode from
> REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of CLAMP to
> avoid blending to border color at extremities.
>
> Please find as attachment the proposed patch against latest svn version.
>
> Regards
>
> _______________________________________________
> 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

Reply via email to