Hi Gang,

You'll need to write a custom NodeVisitor that traverses down to the
Geode's in the scene graph then gets its Drawables, then from cast to
Geometry and then query it's info.  There dozens of examples osg
NodeVisitor's in the OSG code base that do similar things to this so I
recommend you just search from places which subclass from
osg::NodeVisitor.

Robert.

On Thu, Oct 9, 2008 at 2:10 AM, 吴亚刚 <[EMAIL PROTECTED]> wrote:
>
>
>             Hi everyon. I have a question about the osgDB::ReadNodeFile();
>
>             I used that API to read a FLT format model simply, and I could
> visit the Nodes using NodeVisitor.
>
>             But now , my question is, can I get some information of some
> exact Nodes in that model, eg. the vertex coordinates ?
>
>             could someone give any suggestions or explain it for me?
>
>              thanks
>
>              adam
>
> --
>
>  All the best !
>
>   Gang.
>
> _______________________________________________
> 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