Hi,

I used osgdem to build a terrain using VPB. I now want to place an object on it 
whose coordinates would be a  random latitude-longitude.

I browsed the source and found the ObjectPlacer class. I assume that I will 
need to use this. But I do not know how to correctly use its place() method

objectPlacer.place(vpb::DestinationTile, osg::Node)  (do I need to give one of 
the subtiles .ive as the destinationTile and my object's Node)

I looked at the other interface files in the vpb source as well such as 
DataSet, SourceData, etc but am still confused how to achieve this.

Hoping to get some pointers so that I can head in the right direction.

Thanks in advance

Sincerely,
Sanat.

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





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

Reply via email to