Hi Brian,
the code looks good and I like it. I am worried about cases where the tile
placement is done via matrix in the xref file then compiled in place tiles.
The pagedlod needs proper center and size (radius). In such a case where the
origin is set as a Tile Origin (from the OpenFlight compiler in TV), you
will end up with the same values for node->getCentar()/getRAdius() for all
the referenced tiles. If your database was exported with origin set to
Database origin, then your code will work just fine. There are couple of
modes in the OPenFlight compiler in TV and based on that the master.flt is
different. Hope this make sense. Its been a time since I was working on
these things

Nick

http://www.linkedin.com/in/tnikolov
Sent from Benoni, Gauteng, South Africa

On Tue, Aug 25, 2009 at 11:51 PM, Brian R Hill <[email protected]> wrote:

> Hi Nick,
>
> It won't touch any nodes other than the externally referenced node/file.
>
> Check out the code, it's really pretty simple.
>
> Brian
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery.
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
> any order or other contract unless pursuant to explicit written agreement
> or government initiative expressly permitting the use of e-mail for such
> purpose. •
> [email protected] wrote: -----
>
> To: OpenSceneGraph Users <[email protected]>
> From: Trajce Nikolov <[email protected]>
> Sent by: [email protected]
> Date: 08/25/2009 05:33PM
> Subject: Re: [osg-users] How to read big openscenegraph files?
>
> this will work for some cases , not for all. All depends how TerraVista
> exported the database. As I can recall, there are several options for the
> origins. You might end up with matrix attached to the Xref nodes in the
> master file. But it is worth of giving it a try
>
>
> Nick
>
> http://www.linkedin.com/in/tnikolov
>
> Sent from Benoni, Gauteng, South Africa
>
> On Tue, Aug 25, 2009 at 11:28 PM, Brian R Hill
> <
> [email protected]
> >
>  wrote:
>
> Use the source attached to this link. It should do what you want.
>
>
>
> http://www.mail-archive.com/[email protected]/msg05445.html
>
>
>
>
>
> Brian
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
>
> delete without copying and kindly advise us by e-mail of the mistake in
>
> delivery.
>
> NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
>
> any order or other contract unless pursuant to explicit written agreement
>
> or government initiative expressly permitting the use of e-mail for such
>
> purpose. •
>
> -----
> [email protected]
>  wrote: -----
>
>
> To:
> [email protected]
>
>
> From: Trajce Nikolov <
> [email protected]
> >
>
> Sent by:
> [email protected]
>
>
> Date: 08/25/2009 04:54PM
>
> Subject: Re: [osg-users] How to read big openscenegraph files?
>
>
> Hi Colli,
>
>
> please post the master.flt. I have done this in the past, and yes, I have
>
> managed dbs larger then 6gb. I ll help you. it is trivial
>
>
> Nick
>
>
> http://www.linkedin.com/in/tnikolov
>
>
>
>
> Sent from Benoni, Gauteng, South Africa
>
>
> On Tue, Aug 25, 2009 at 10:50 PM, Colli Bann
>
> <
>
> [email protected]
>
>
> >
>
>  wrote:
>
>
> Hi,
>
>
>
> i am sorry for not providing all informations! I was running osgconv on
>
> linux 11. The cpu tool over 90% and from memory over 90% as well, before it
>
> blew up with a "bad alloc". I resized the swap space to over 20Gig, because
>
> i thought, that he had problem with memory allocation because it seems,
>
> like some of you mentioned, that osgconv is first trying to get all of the
>
> 5 Gig into its memory.
>
>
>
> Yes, there is a master.flt, and i will try to transform it, but i do not
>
> know, if i am able to do that because i already to try to do an
>
> osgDB::ReadNodeFile but the outcome was the same: it stopped with a "Bad
>
> alloc".
>
>
>
> Thank you so much, but i wonder, how other companies manage to handle files
>
> bigger than 6 Gig.
>
>
>
> Thank you!
>
>
>
>
> ------------------
>
>
> Read this topic online here:
>
>
> http://forum.openscenegraph.org/viewtopic.php?p=16722#16722
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
>
> 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
>
>
> _______________________________________________
>
> 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
> _______________________________________________
> 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

Reply via email to