Hi,

Just a comment regarding "My initial wish was to have everything in one file.".
You can achieve this by placing all you data into an archive format. I have 
used osga before and I have seen quite a bit of activity around the zip plugin 
recently. I ended up creating my own OSG archive based on SQLite but I havent 
managed to submit that code yet.

One thing to note when using archives and PagedLODs, you have to make sure that 
rescources in sperate files are specified relative to the root of the archive, 
not relative to the loading file. I wrote a simple visitor to do this before 
adding all my data to the archive.

Cheers,
Brad

-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of PC John
Sent: Thursday, 8 December 2011 4:27 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] best format for paged database

Hi Torben and Xenon,

I was studying OSG sources... (as usual way to study OSG)

> BTW: What are your performance requirements?

Main requirement: I need to load base level geometry and base resolution 
textures ASAP, f.ex <1s. I will probably inline base-level texture data into 
the base-level scene database.

Then, paging of geometry: Seems that high-res geometry need to stay in 
separate file, otherwise it would be loaded at start-up, slowing down the 
opening process, that has to complete in 1s.

The last goal - to page in and page out textures depending on spatial 
proximity. The testing model is 72MB of jpegs and they take approximately 
4.5GB when decompressed to memory while using several resolutions for each 
texture.

What archtecture would you propose?
I guess, I will need to place high-res textures to external files. And high-res 
geometry as well to avoid them being parsed on start-up and prolonging opening 
process. (My initial wish was to have everything in one file.)

John

On Wednesday 07 of December 2011 09:02:25 Chris 'Xenon' Hanson wrote:
> On 12/7/2011 12:29 AM, PC John wrote:
> > Thanks Chris and J.P.,
> > I am wondering that flt and vpb and similar formats does not support
> > paging
>   VPB isn't a format. VPB is a tool. It generates data in any OSG-writable
> format, including .osg/.ive/.osgt/.osgb. It does support terrain paging
> with PagedLOD.
> > (PagedLOD). In that case, osgb seems to be the best format. Can it store
> > texture data internally, or all jpegs and pngs have to stay as separate
> > files (possibly increasing data fragmentation)?
> 
>   It can do either way.
> 
> > osgEarth is definitely the project to look at. Thanks,
> 
>   Yes.
> 
>   If you're not interested in building it from scratch (it can be difficult
> the first time), my company, AlphaPixel offers subscriptions to a
> binaries-download system that builds projects like osgEarth every night,
> whenever the source has changed.
> > John
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


-------------------------------------------------------------------------
DISCLAIMER: This e-mail transmission and any documents, files and 
previous e-mail messages attached to it are private and confidential.  
They may contain proprietary or copyright material or information that 
is subject to legal professional privilege.  They are for the use of 
the intended recipient only.  Any unauthorised viewing, use, disclosure, 
copying, alteration, storage or distribution of, or reliance on, this 
message is strictly prohibited.  No part may be reproduced, adapted or 
transmitted without the written permission of the owner.  If you have 
received this transmission in error, or are not an authorised recipient, 
please immediately notify the sender by return email, delete this 
message and all copies from your e-mail system, and destroy any printed 
copies.  Receipt by anyone other than the intended recipient should not 
be deemed a waiver of any privilege or protection.  Thales Australia 
does not warrant or represent that this e-mail or any documents, files 
and previous e-mail messages attached are error or virus free.  

-------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to