Hi Miguel,

If you want fine control of texture coordinates then you are probably best
to create the geometry yourself rather than use the ShapeDrawable as it
really isn't resigned for this type of work. See the osggeometry example.

Robert.

On Wed, Sep 16, 2009 at 2:07 PM, Miguel Lokida <[email protected]> wrote:

> I try to use a 1DTexture (basing on the example) but when I want to apply
> it to a osg::cone, I can 't  apply it correctly from the top to the basis of
> the cone (without any repeat or mirror)
> .
> I try to use texgen but the map didn't fit on the surface cone and, I don't
> find any example about it.
>
> How can it be done correctly ?
>
> Thank you.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=17426#17426
>
>
>
>
>
> _______________________________________________
> 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