[osg-users] Problem using osg::ColorMatrix

Rahul Jain rahulj at darshan3d.com
Tue Jul 29 00:31:52 PDT 2008


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 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 ,
>
> doesn't the color matrix only affect pixel transfer operations?  Like
> texture upload/download, framebuffer reads and such?  So you can't use
> it to modify object appearance on the fly.
>
> /ulrich
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>




More information about the osg-users mailing list