Hi Robert et. al.,
A custom cull visitor wouldn't be related to the osgViewer, rather
it's something you'd instantiate and call yourself on demand. The
custom cull visitor needn't even subclass from CullVisitor. The
subclass from IntersectionVisitor with a Polytope representing the
view
Hi Robert,
One way around this would be just write a custom CullVisitor that
kicks of the database request for a given camera set up.
Just one small problem, where would I add the custom CullVisitor?
Neither osgViewer::Viewer nor any of its base classes has any public
methods for assigning
Hi,
A custom cull visitor wouldn't be related to the osgViewer, rather
it's something you'd instantiate and call yourself on demand. The
custom cull visitor needn't even subclass from CullVisitor. The
subclass from IntersectionVisitor with a Polytope representing the
view frustum way
Hi Robert,
I made it work! However, to make the example work I had to a new
statistics counter to DatabasePager. I added the method the DatabasePager:
/** Get number of fileRequest that are currently being processed in
DatabaseThreads */
int getRequestsInProgress() const { return
Hi John,
Although this works, it takes a looong time for the program to capture
the full-res image. I'll send the example and DatabasePager mods to
osg-submissions, and I hope the community can find a better / faster
way
to implement this example.
One suggestion to speed up the loading of
Hi Robert,
There isn't much to go wrong is this method, so I doubt there is a bug
in it. I suspect the read queues are just being emptied really fast
so you are missing when they are not empty. Or perhaps you are
testing the wrong DatabasePager.
I think I've got the correct
Hi John,
Are you planning to submit this example for inclusion with the OSG
example set? If so then I could integrate then I and others could
tweak it so it works.
Robert.
On Wed, Oct 29, 2008 at 12:51 PM, John Vidar Larring
[EMAIL PROTECTED] wrote:
Hi Robert,
There isn't much to go wrong
Hi Robert,
Are you planning to submit this example for inclusion with the OSG
example set? If so then I could integrate then I and others could
tweak it so it works.
Yes, that was basically the plan, only that I originally wanted to
submit a working example;)
The reason for putting
Hi John,
I haven't personally tried this but an educated guess is that you'll
need to do is keep polling the DatabasePager::getFileRequestListSize()
till it returns 0.Something like:
while(!viewer.done()
viewer.getDatabasePager()-getFileRequestListSize()0) frame();
Robert.
On Tue, Oct 28,
Hi Robert,
I haven't personally tried this but an educated guess is that you'll
need to do is keep polling the DatabasePager::getFileRequestListSize()
till it returns 0.Something like:
while(!viewer.done()
viewer.getDatabasePager()-getFileRequestListSize()0) frame();
I was hoping
Hi John,
On Tue, Oct 28, 2008 at 4:16 PM, John Vidar Larring
[EMAIL PROTECTED] wrote:
I was hoping this would work too, but
getDatabasePager()-getFileRequestListSize() _always_ returns 0 (zero).
So I am hoping that this is either a bug that can be fixed or that there is
another method for
11 matches
Mail list logo