Can you provide an example of how you're using the osgdem command (i.e.
flag settings, etc.)?

-Shayne

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Xiaofeng Yang
Sent: Wednesday, November 09, 2011 3:48 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] [vpb] How to add texture to the terrain using
vpbmaster

Hi,
I have downloaded the hgt format file from the dds.cr.usgs.gov
and I used the osgdem to generate the terrain(ive format),
I use osgDB::readNodeFile to get a node from the terrain file and I can
get the lat,lon information everywhere in the terrain right.
But the terrrain does not have the texture,So I download a jpg format
picture and use globalmapper to set the coordinate system and the
lat,lons. I can also use gdalinfo to get the information about the
texture file.
But when I use vpbmaster to patch the texture file to my terrain file,it
always prints No soure file found to base database patching on.
When I use osgdem to generate the terrain with texutre,I can get the ive
terrain with texture,but it does not have the coordinate system or its
system is not right.
I do not know why and how to add the texture to the terrain well.


Thank you!

Cheers,
Xiaofeng

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43794#43794





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to