Hello Johannes,

Johannes Brunen wrote:
> I have a question about the proper usage of the GraphOp classes. I have
> a complex scene graph with a lot of dispensable group nodes and also
> redundant materials and geometries in different tree branches. I would
> like to fuse the graph as much as possible without changing its visual
> representation. Especially, I would like to fuse the groups and remove
> the transform nodes and material nodes if possible. Additionally, I
> would like to share the materials as much as possible. Can anyone tell
> me which GraphOps I should use or recommend a proper usage of the
> GraphOps?

removing Transforms: OSGTransformPushGraphOp
sharing Materials: OSGSharePtrGraphOp with includes set to Material

NOt sure what you mean by removing "material nodes"; if it is pushing 
the Material from a MaterialGroup into the Geometries of the tree below, 
I don't think we have a GraphOp for that.

        Cheers,
                Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to