[osg-users] Two basic OSG use Questions.

michael kapelko kornerr at gmail.com
Wed Jan 30 06:20:55 PST 2019


Hi.

I personally think you should describe the final goal you want to
achieve with OSG and WX, and then it'll be a lot easier for us to help
you.

As for texture mapping, you should assign osg::StateSet to your
osg::Shape (or its parent osg::Node) and then use that osg::StateSet
data in your fragment shader. osg::StateSet should hold a texture.

On Tue, 29 Jan 2019 at 13:46, Zachary1234 <osgforum at tevs.eu> wrote:
>
> -If you have a Shape, or a ShapeDrawable, really, how do you affix Materials and or Textures to that?
>
> -How does the collisions system OSG has work with a Shape or a ShapeDrawable?
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75558#75558
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list