Try the child below the MultTextureControl, this should be the
CoordinateSystemNode you are after.

On 8/17/07, Gert van Maren <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
> > You don't say how you check for the CoordinateSystemNode as I suspect
> > this might be the source of your problem.
>
> Very simple:
>
> if((_osg_terrain = osgDB::readNodeFile(filename)))
> {
>         /* check if coordinate system */
>         osg::CoordinateSystemNode* csn =
> dynamic_cast<osg::CoordinateSystemNode*>(_osg_terrain);
>
> This result in csn == NULL;
>
> Had a look at the .osg and indeed the CoordinateSystemNode is a child node
> of the
> MultiTextureControl node.
>
> Thanks Gert
>
>
> --
> Gert van Maren
>
> Head of Research & Development
> K2Vi Virtual Reality Software
> Data Interface Technologies Ltd
>
> Phone: +64 21 2855581
> Email: [EMAIL PROTECTED]
> Web: http://www.k2vi.com
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to