Hi Sam,

Your expectations are unreasonable, please them recalibrate otherwise
you are going to constantly disappointed that everything in the world
doesn't conform to you prior conceptions.  In the case of the
NodeVisitor where you are seeing a limitation, it's actually a
positive and deliberate feature.

The OSG's NodeVisitor is extremely powerful and flexible, this is
achieved by handing over responsibility to the developer and makes as
few assumptions as possible.  With this it does have usage patterns
that you have to follow, there are plenty of examples that illustrate
it's use, and I have given you examples and explanations.

Robert.

On Tue, Jan 25, 2011 at 11:54 AM, Sam Warns <[email protected]> wrote:
> Hi Robert,
>
> I suppose I expect that because let's say a "RemoveGroupsVisitor" should 
> remove Groups from a given graph, when I apply this visitor to a scene by
>
>
> Code:
>
> RemoveGroupsVisitor r;
> scene->accept(r);
>
>
>
>
> I personally would expect that now the groups are removed, which they are not 
> by the limitation of the apply methods
>
> Regards
> Sam
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=35952#35952
>
>
>
>
>
> _______________________________________________
> 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