[osg-users] texturing osgSim::SphereSegment
robert.osfield at gmail.com
Fri Sep 21 12:21:56 PDT 2007
osgSim::SphereSegment is very specialist class that has been designed
not to be used with texturing, and its complex shape preclude any easy
tex coord mapping for them
Is there a reason why you aren't just rolling your own osg::Geometry?
This is exactly how I'd set up a sphere segment geometry with
On 9/21/07, sylvain cormier <sly at sat.qc.ca> wrote:
> I would like some help for texturing a movie on a sphere segment.
> I noticed by pressing "s" on the surface of a sphere segment I have
> created , that there are 10 drawables, no vertices and no primitives.
> Why is this?
> After having applied a texture,
> I can see something going on on the sphere segment because pressing
> "s"(start) and "p"(pause) cause the sphere segment to flicker with
> I can also toggle the texture on and off.
> On the contrary, texturing a cylinder with:
> was easy and contained 1 drawable, 166 vertices and 120 primitives.
> Not really knowing what to do, I tried removing some drawables with
> just to see.
> I still was able to get a sphere segment which gave me 1 drawable while
> pressing "s".
> Why is this? are those other 9 drawables not important?
> I do not know where to go from here, any help would be appreciated.
> thanks in advance.
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users