Re: [osg-users] Inserting Alpha values in RGB textures
Hi Abhishek, for the sake of goodness you are asked to post your solution in this thread. This might help new people to find an answer before posting a question. cheers, art Abhishek Bansal wrote: Hi, Okay guys the problem has been solved !! thanx for approving my post in just 5 days :( Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48270#48270 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Inserting Alpha values in RGB textures
Hi, Yeah Sure !! Actually previously i was using TexuredQuad which was not showing up any textures when i used shader. I changed it to Box and it worked. Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48273#48273 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Inserting Alpha values in RGB textures
Hi, I have just started with OpenSceneGraph. I am working on a project in which i need to capture frames from a video source and render them as texured quads. I need to enable transparency on these textures but my problem is that frames i am grabbing are in RGB format so need to add an alpha channel. My research told me if i set texture internal format to RGBA OSG will create an alpha channel for me. Now problem is how do i insert value in that alpha channel at runtime. I only need one alpha value that will apply to whole texture. I cannot use shaders in this for some reasons. Please Help !! Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48104#48104 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Inserting Alpha values in RGB textures
Hi, Okay guys the problem has been solved !! thanx for approving my post in just 5 days :( Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48223#48223 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org