Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-08 Thread Boon Wah
Hi, I played with a variety of settings like varying LOD in the viewer, setting bound volume, range during the LOD building process, but is still unable to achieve my goal. In short, I wanted to aggressive load in new tiles with the DatabasePager. In this case, I wanted to pre-load

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-08 Thread Robert Osfield
Hi Boon, On Thu, Sep 8, 2011 at 2:32 PM, Boon Wah boon...@gmail.com wrote:    I played with a variety of settings like varying LOD in the viewer, setting bound volume, range during the LOD building process, but is still unable to achieve my goal.    In short, I wanted to aggressive load in

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-07 Thread Robert Osfield
Hi Boon, On Wed, Sep 7, 2011 at 7:04 PM, Boon Wah boon...@gmail.com wrote:    After some thought, I want to try to make the paging become more aggressive and load tiles further away from those in view. As my fly-pass is very fast, the paging mechanism must also 'cache' new tiles earlier.  

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-06 Thread Robert Osfield
Hi Boon Wah, Loading shouldn't cause frame drops as the loading is done in back ground thread. Downloading the objects to graphics card is much more likely to cause frame drops, but for most VPB database on modern hardware this usually isn't an issue. From the sound of it you are setting the

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-06 Thread Boon Wah
Hi Robert, In VPB, I have set my tile-image-size to 2048 and tile-terrain-size to be 2048. The rationale is for me to have larger tiles so as to minimize the number of files. My development platform is Windows and it is pretty poor at handle large number of files. Is it possible to

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-06 Thread Torben Dannhauer
Hi Jimmy, I also use VPB and osgTerrain with 500GB+ databases. Genereally you are right, NTFS isn't the best database for handling folders with lots of files. But I think you mix up two different aspects: In my opinion the handling capability of large file numbers is another topic than

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-06 Thread Robert Osfield
Hi Boon Wah, On Tue, Sep 6, 2011 at 12:25 PM, Boon Wah boon...@gmail.com wrote: Hi Robert,    In VPB, I have set my tile-image-size to 2048 and tile-terrain-size to be 2048. The rationale is for me to have larger tiles so as to minimize the number of files. My development platform is

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-06 Thread J.P. Delport
Hi, for forcing load from disk to CPU mem you can check what osgposter or osgSim HeightAboveTerrain does. This does not however force tiles to GPU memory. jp On 06/09/2011 13:25, Boon Wah wrote: Hi Robert, In VPB, I have set my tile-image-size to 2048 and tile-terrain-size to be

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-06 Thread Boon Wah
Hi all, Thanks for all of your replies. I will re-look and see how best to optimise my code. Thanks again! Kind Regards, Boon Wah -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42457#42457

[osg-users] Question on decreasing latency for database pagers...

2011-09-05 Thread Boon Wah
I will like to ask for some help on decreasing the latency for database pagers. I have basically a fly-pass scene, with the terrain generated by VPB. I require every frame to be generated within a 30ms timing. I note that there are a portion of frames (about 15%, well-spread across) that misses

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-05 Thread Robert Osfield
HI Boo? Wah? Please sign your posts so we known how best to address you, thanks. On Mon, Sep 5, 2011 at 8:53 AM, Boon Wah boon...@gmail.com wrote: I will like to ask for some help on decreasing the latency for database pagers. I have basically a fly-pass scene, with the terrain generated

Re: [osg-users] Question on decreasing latency for database pagers...

2011-09-05 Thread Boon Wah
Hi Robert, I will like to clarify on my question. I may not know the correct technical terms, but probably you are right, I am trying to minimize the frame drop rate. The scenario is like this: I have pre-compiled the data using VPB setting a tile size of 2048 by 2048. The