Hi,
did you enable blending in your scene? What format texture are you loading?
jp
On 29/06/10 23:34, Tim Larson wrote:
I am attempting to utilize a transparent image as a texture map.
I can successfully display the transparent image as a texture on a simple
rectangular geometry.
But, I would like to be able to "see through" to the background wherever the
image is transparent.
I've utilized the osgHelp program "GeometryTexture" as a baseline and I can
load my image, but the transparent parts of the image show through to the default gray
material of the underlying geometry. I see a gray rectangle with my image on top of it.
Even though my image has many transparent areas.
I would like to be able to see through the transparent areas of the image into
the background. i.e. If all I have on the screen is a single rectangular
geometry with my transparent image, then I'd like to see the blue background
through the transparent parts of my image.
Can anyone give me a pointer or advise?
Thanks in Advance.
Tim
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29503#29503
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard.
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org