[osg-users] Issue with texturing label

sam brkopac at gmail.com
Mon Oct 26 10:52:01 PDT 2015


Hi Robert,

What is the best way to send a small example through the mailing list?
Pastebin? Inline? I'm not very familiar with how the mailing lists formats.

Thanks, Sam

On Mon, Oct 26, 2015 at 4:25 AM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Sam,
>
>
> It's hard to know what is wrong without more concrete information on
> exactly how you are setting things up, so I can only provide general
> thoughts.
>
> First up, could well be blending as you suspect.  Have a look at making
> sure the texture quad doesn't have blending enabled somewhere, or blending
> being enabled further up in the scene graph which is overriding the local
> state.   Another issue might be texture clamping of the texture.  Clamp to
> border, or setting the border colour of the texture.  This is just
> clutching at straws though, really don't know enough about the specifics of
> how you are doing things to know what it might be.
>
> Robert.
>
> On 25 October 2015 at 19:56, sam <brkopac at gmail.com> wrote:
>
>> Hi All,
>>
>> I'm struggling with finding out why I have some discrepancy between my
>> texture and what my osg is drawing. I have setup a label and put a texture
>> against it as follows:
>>
>> [image: Inline image 1]
>>
>> But unfortunately I get that thin white bar at the bottom of the label.
>> It seems to change color based on what is below it. I have tried to turn
>> off blending and change the blend function but no luck thus far. Any help
>> would be greatly appreciated. Here is the original texture image:
>>
>> [image: Displaying b_gui_cmn_button5_center_up.png]
>>
>> Thanks, Sam
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151026/da5774b7/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 1933 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151026/da5774b7/attachment-0003.png>


More information about the osg-users mailing list