Hi Gert,

You don't say how you check for the CoordinateSystemNode as I suspect
this might be the source of your problem.

I have just looked at the relevant code in
VirtalPlanetBuilder/src/vpb/DataSet.cpp and the code for decorate the
scene with a CoordinateSystemNode is followed by the decoration of the
scene with a MultiTextureControl node, the later will just sit above
the former, but won't replace it.  Could it be that you are assuming
the root node is a CSN?

Robert.

On 8/17/07, Gert van Maren <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> It seems as soon as I try to add a layer to a geocentric db ->
> CoordinateSystemNode ==NULL;
>
> -t %SRC_TEX2% -t %SRC_TEX3% --layer 1 -t %SRC_TEX8%^
> -d %SRC_ELE1% -d %SRC_ELE2% -d %SRC_ELE3%^
> --no-terrain-simplification --geocentric --skirt-ratio 0.06 -l %NUM_LVL%
> -o %TGT_IVE%
>
> result in CoordinateSystemNode ==NULL
>
> -t %SRC_TEX2% -t %SRC_TEX3% --layer 0 -t %SRC_TEX8%^
> -d %SRC_ELE1% -d %SRC_ELE2% -d %SRC_ELE3%^
> --no-terrain-simplification --geocentric --skirt-ratio 0.06 -l %NUM_LVL%
> -o %TGT_IVE%
>
> result in a proper CoordinateSystemNode.
>
> Any ideas?
>
> 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
> [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