Re: [osg-users] Converting TerraPage to IVE
Hi Ben, There isn't 1:1 mapping between standard OSG paging and the tweaks to it that the TerraPage plugin introduces to get things to work the way terrapage is designed to work, given this you can't just load and save the data and get the same result using standard OSG nodes and paging. Robert. On Mon, Sep 19, 2011 at 11:26 PM, Ben Cain brca...@gmail.com wrote: Hello, Is there a way (e.g. using osgconv or similar) to convert a TerraPage format database (.txp, txf, tpf) to OSG native format (.ive)? Note that the TerraPage database (in this case) has a multi-level directory tree structure containing many children. The file paging is horrendous with the raw TerraPage format. I'm wondering if the paging might be more efficient with an OSG native optimized format. Thanks, Ben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42882#42882 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Converting TerraPage to IVE
It's puzzling why the initial page-in of the highest LOD is so slow. My apologies for long post (trying to be complete in description). As a test, I removed all the directory children nodes except for 1 cell. The original directory structure consisted of 2 levels (1st containing 26 children subdirectories, and each of those children containing 15 additional children subdirectories) ... for a total of 390 cells (26x15=390). My assumption was that removing the other nodes would cause the 1 remaining cell to load much more quickly, since the remaining cells wouldn't be available to load. Unfortunately, the 1st time to load the highest LOD for the 1 remaining cell still took over 30 seconds. It seems removing the other cells had no effect. I've noticed there are many buildings used that are OpenFlight format. They all reside at the top-level of the directory tree. Is it the compile time to load the buildings that's the problem ... rather than the terrain itself? If so, I wish I could tweak the TerraPage files to reference IVE versions of the buildings rather than FLT. Am I missing something here? Is it possible to edit the top-level TerraPage file and remove the references to all the other nodes and change to IVE buildings -- without terrain tools? For now, I only care about one cell. BTW, the render frame rate is at a steady 60Hz. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42902#42902 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Converting TerraPage to IVE
Hello, Is there a way (e.g. using osgconv or similar) to convert a TerraPage format database (.txp, txf, tpf) to OSG native format (.ive)? Note that the TerraPage database (in this case) has a multi-level directory tree structure containing many children. The file paging is horrendous with the raw TerraPage format. I'm wondering if the paging might be more efficient with an OSG native optimized format. Thanks, Ben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42882#42882 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Converting TerraPage to IVE
Hi Ben, My understanding of OSG loading is that once your model has been read in it gets transformed from the original data on disk into OSG's internal memory format. Once you have the osg::Node you should be able to write that back out to disk as an IVE. I've seen some nice speed improvements by saving obj's and flts to IVE. Good luck! Eric -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42886#42886 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org