ting, I am a little confused. Did you get your earth.ive working? Is that it in the first screenshot? I had some comments but I want to verify exactly where you are with this now.
As for the missing texture, that is becuase you need both an <image> and a <heightfield> definition if you want both the texture and dem in a vpb file. Refer to the example on the wiki page. Glenn Waldron : Pelican Mapping : +1.703.652.4791 On Wed, Aug 11, 2010 at 10:04 PM, ting zhang <[email protected]> wrote: > Hi, > > I changed my .earth file again. Here it is: > <heightfield name="dem" driver="vpb"> > <url>e:\earth.ive</url> > </heightfield> > Then I use osgviewer to view this .earth file. However, the texture on this > ive file disappear, as shown in fig.1. > (The original image directly viewed by osgviewer (without using .earth > file) is shown in fig. 2) > Could any one tell me what is going on with my codes so that the texture is > gone? > > Thank you! > > Cheers, > ting > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=30703#30703 > > > > > Attachments: > http://forum.openscenegraph.org//files/fig2_106.jpg > http://forum.openscenegraph.org//files/fig1_111.jpg > > > _______________________________________________ > 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

