Hi Karoly,

The OSG allows a single subgraph to be shared by multiple parents, and
these parents can provide their own osg::StateSet that is inhertied
down onto the subgraph to enable you to provide defaults or override
the local state in the subgraph.

See the osgscribe example for a simple example of this in action.

Robert.

On Tue, Jul 26, 2011 at 5:36 PM, Karoly Gemesi <[email protected]> wrote:
> Hi All,
>
> I'm totally new in osg, and I'm interested in following:
>
> I want to create 2 different link nodes, which refer a common complex node, 
> but applies different materials/textures for it's subnodes, while the 
> internal transformations, groups, geometry etc. are the same.
>
> I have attached a graphical example in pdf.
>
> Is it possible to do with OSG? If yes, can you show me some example codes, or 
> links to tutorials?
>
> Thank you!
>Hi
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=41632#41632
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/scenegraph_question_775.pdf
>
>
> _______________________________________________
> 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