Hi Miguel,

I can't really make out what you exactly want, but at a guess
multi-texturing and texgen might well be one route to look into.  Have a
look at the osgtexture1D example.

Robert.

On Wed, Sep 16, 2009 at 9:13 AM, Miguel Lokida <[email protected]> wrote:

> Hi,
>
> I have try to find a specific solution to my problem but I really don't how
> to do it.
>
> I have an osg shape (I suppose that it could work on a 3d model from a 3D
> file).
> I would like to give a specific color to a portion of a shape (along an
> axis) using a begin distance and stop distance vectors describing the
> interval to render the geometry.
>
> I have looked at the osgClip example but when the geometry is FILL (and not
> LINE) the rendering is ugly. May be a specific state to activate ?
>
> Any idea ?
>
> Thank you.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=17407#17407
>
>
>
>
>
> _______________________________________________
> 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