Everything is correct.
The TriangleMesh doesn't have an means of controlling the texture
coordinate that should be applied in any sensible fashion so all maps
to 0.0. The other shapes have regular geometric shapes so you can
apply a sensible texture coordinate mapping to them.
All the osg::Shape classes all primary purpose is representing
primitive shapes for tasks like intersection or collection detection.
Being able to render them with the osg::ShapeDrawable is just a
If you want to properly control rendering in a fine grained way they
you use osg::Geometry.
On 17 September 2016 at 12:12, Yan Xin Wu <eye5002...@gmail.com> wrote:
> Hi, everyone
> My OSG version is 3.5.5
> The sample osgShape show a few object with same texture.
> But there is only one object without texture.(see my image file)
> That must be something wrong!
> Or I am the only one?
> Read this topic online here:
> osg-users mailing list
osg-users mailing list