Re: [osg-users] Problem using osg::ColorMatrix

2008-07-29 Thread Sebastian Messerschmidt
Hi Rahul. If I recall correctly the color matrix isn't working on most consumer cards. You need the the GL_ARB_IMAGING extension. Alternatively you can achieve the desired effect with a shader. cheers psy Hi all, I am trying to use OpenFL color matrix functionality through osg::ColorMatrix but

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-29 Thread Rahul Jain
Hi Ulrich, Thanks for the reply, you are absolutely right, color matrix is part of imaging subset which is used during pixel transfer operation. The concept just slipped out of my mind ;) thanks for the correcting my thoughts cheers RJ Ulrich Hertlein wrote: Hi Rahul, Rahul Jain wrote: Color

[osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Rahul Jain
Hi all, I am trying to use OpenFL color matrix functionality through osg::ColorMatrix but not able to do so. When i apply this to a node |(cessna.osg) i do not see any effect. I am pasting the code below for you guys to have a look. I don't know what am i doing wrong in this simple piece of code

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Gordon Tomlinson
, 2008 10:40 AM To: 'OpenSceneGraph Users' Subject: [osg-users] Problem using osg::ColorMatrix Hi all, I am trying to use OpenFL color matrix functionality through osg::ColorMatrix but not able to do so. When i apply this to a node |(cessna.osg) i do not see any effect. I am pasting the code below

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Rahul Jain
28, 2008 10:40 AM To: 'OpenSceneGraph Users' Subject: [osg-users] Problem using osg::ColorMatrix Hi all, I am trying to use OpenFL color matrix functionality through osg::ColorMatrix but not able to do so. When i apply this to a node |(cessna.osg) i do not see any effect. I am pasting the code

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Ulrich Hertlein
Hi Rahul, Rahul Jain wrote: Color matrix in OpenGL is used for color space conversion, for example using color matric you can convert RGB to BGR , RGB to CMY. Unfortunately i do not have any screen grabs for the moment, but i am trying to achieve night vision effect using this code ,