it is not getting corrupted data from the cache but loading the files.
Will there be a fix coming for the cache issue or should I do a workaround
(perhaps re-using the 3.4.0 OpenFlight cache code)?
Thanks.
On Friday, December 6, 2019 at 1:35:45 PM UTC-6, Greg D wrote:
>
> I have been
My quick fix is to clear the cache on the first render (and call clear
thereafter). OpenFlight files open and render fine now. Is this a safe
fix?
void ViewerBase::frame(double simulationTime)
{
if (_done) return;
//
OSG_NOTICE
Thanks Robert. I moved the line to clear the cache into my calling code
and out of OSG.
I don't understand exactly what the cache does. If it has an expiration
time and objects are removed after a minute or so (which seems to happen)
it would appear it is a short-term cache, perhaps to
I have been using OSG for a number of years for a commercial product. Our
product loads various models and earth views as the user requires them (for
security monitoring – buildings and campuses mostly). I have a problem
with 3.6.3/4 that wasn't there in 3.4.0.
I have an OpenFlight
Robert,
Thanks for the fix. That solved the problem. I had previously worked
around it with your suggestion to disable texture caching.
unsigned int options = osgUtil::Optimizer::ALL_OPTIMIZATIONS;
options ^= osgUtil::Optimizer::OPTIMIZE_TEXTURE_SETTINGS;
optimizer.optimize(model, options);
5 matches
Mail list logo