Hi Alexey,

Could you use the osg::TransferFunction1D class to help build an
osg::Image that you can attach to a texture.  See the osgvolume
example.

Can I also recommend that you upgrade to OSG-2.8 as it has an improved
TransferFunction1D that is easier to use.

Robert.

On Fri, Feb 27, 2009 at 8:51 AM, Alexey Yurov <[email protected]> wrote:
> Hi all, i need to calculate some function f(x) values and pass it to shader 
> through texture1d. Please, can you show me some examples how to do it with 
> osg 2.6?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=7577#7577
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to