Hi,

On 11/08/10 12:25 , ting zhang wrote:
> I write a map.earth file according to the original examples of .earth files in
> osgEarth project. The map.earth file is as follows:
> 
> <map name="tkm" type="projected">
>         <heightfield name="terrain-dem" driver="vpb">
>                 <url> C:\Test.ive </url>
>         </heightfield>
> </map>
>... 
> 
> The compilation is correct. When debugging the code, I find the Test_node 
> point is not
> empty. However, the ive terrain file is not shown in the whole scene. In the 
> whole scene,
> there is nothing but the blue background. I use cow.osg to replace Test.ive 
> for tests.
> However, I cannot find the cow, either.

This is just a wild guess, but is it possible that the 'Test.ive' file isn't 
loaded in the
first place?

Have you tried removing the spaces around the path in the <url> tag?  It seems 
to be using
it's own XML parsing (*sigh*) so maybe it's failing on those (or rather not 
stripping
leading/trailing spaces from the text node)?

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to