Hi Mach, TXP databases are paged databases so you'll need to manually page the data in bit by bit and then disgard the data once you've used it to ensure that your memory doesn't blow up. For a bit of an example that does something along these line have a look at the include/osgSim/LineOfSight implementation and in particular how it uses the DatabaseCacheReadCallback.
Getting the coords for the models will be straight forward, but I don't know if the TXP databases even store the mapping from local coords to lat/longs so the coords may not be of any use. Robert. On Mon, Jul 20, 2009 at 2:00 PM, Mach Bhai<[email protected]> wrote: > Hi, > I am totally new to OSG. I have a small task and i just wanted an opinion to > know whther its even possible or not and if its possible how much of an > effort will be required to be put in? > > I have a txp file and i need to export all 3d models used within the file > with thei latitude and longitude. Is this possible or not ? I know the > coordinates of the upper right and lower left corner. Manually it will be a > laborious task and so i wanted to do it programmatically. > > Any help/comments/suggestions will be appriciated > ... > > Thank you! > > Cheers, > mach > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=15135#15135 > > > > > > _______________________________________________ > 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

