As I know, shader is not the same as real adjustment of brightness and contrast.
I think it is .... -Nick On Wed, Mar 10, 2010 at 6:16 PM, zhenlong li <zxl1...@gmail.com> wrote: > Thanks, Nick. I just wonder if it is hard to create such a common function > in osg for brightness and > > contrast adjustment of JPEG image, say add a filter. As I know, shader is > not the same as real > > adjustment of brightness and contrast. > > with best wishes > Zhenlong > > Subject: Re: [osg-users] adjusting brightness and contrast in > osgviewer > Message-ID: > <6861bc941003042334yc80c2f2nc09163b27a5c6...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I dont think there are built in methods in osg for this. But I see it > doable > via shaders - this way you can do any image processing you want. > > -Nick > > > On Thu, Mar 4, 2010 at 9:59 PM, zhenlong li <zxl1...@gmail.com> wrote: > > > Dear all, > > > > Is there any function to adjust the brightness or contrast of image in > > osgviewer? > > > > If not, is it hard to add those functions in? Thanks! > > > > > > with best wishes > > Zhenlong > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org