[osg-users] LineWidth for Textured Geometry doesn't seem to work

2013-04-14 Thread Abhishek Bansal
Hi, I am trying to get line thickness using osg::LineWidth on a TexturedQuadGeometry but I cannot get it working. Does it not work on TexturedGeometry ? Basically i want to get a border on my textured quad using this. here is sample in which its reproduced Image size is 300x200 Code:

Re: [osg-users] LineWidth for Textured Geometry doesn't seem to work

2013-04-14 Thread Robert Osfield
Hi Abhishek, A textured quad doesn't have any lines so won't be affected by glLineWidth/osg::LineWidth, only line primitives are affected by this bit of OpenGL state. If you want a line outline around your quad you'll need to create an geometry with a line around it. Have a look at the

Re: [osg-users] LineWidth for Textured Geometry doesn't seem to work

2013-04-14 Thread Abhishek Bansal
Hi, Ohkay ! I will look at that example. Thank you! Cheers, Abhishek -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53626#53626 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [osgCompute] Export in osgCuda

2013-04-14 Thread Sajjadul Islam
Hi forum, There is an Export file inside the osgCuda/include/ Could anyone explain its purpose ? I am trying to extend osgcompute for opencl and would it be fine to clone the file contents for opencl as well like osgOpenCL/include/osgOpenCLExport or i have to make some changes ? Looking