[osg-users] Optimizer improvements

2010-04-13 Thread Rick Appleton
Hi everyone, Recently I've noticed some issues with the optimizer which I'd like to fix. However, I'd like to request some feedback on what the best course would be. I have a file like this Code: Group Transform Group (UniqueID 1) Geode 1 StateSet

Re: [osg-users] Increase image-quality - increase 'Draw' time

2010-03-19 Thread Rick Appleton
Thank you both for your replies. I think this little bit from Robert might be the issue: robertosfield wrote: However, if OpenGL FIFO fills up because the rate at which you are pushing data into it exceeds the rate at which it's been emptied then the application thread will stall and the

[osg-users] Increase image-quality - increase 'Draw' time

2010-03-18 Thread Rick Appleton
Hi everyone, We were just doing some performance testing when we noticed that increasing the image quality in the NVidia control panel (adding anisotropic filtering, anti-aliasing and multi-sampling) makes the time spent in the 'Draw' section increase greatly. This wasn't something we were

[osg-users] Enabling osgSim::DOFTransform animation

2009-10-19 Thread Rick Appleton
Hi, Recently we've implemented a model of a building with moving doors by adding osgSim::DOFTransform nodes for the doors (the geometry added as child of the DOFTransform). While this works quite well, there's an issue I've had with enabling the animation to open the door. When

Re: [osg-users] Positioning PrecipitationEffect

2009-05-13 Thread Rick Appleton
Hi Jason, Thanks for the update. That's exactly what I'm seeing as well. However, as far as I can see in the code, the effect is positioned correctly around the camera. Cheers, Rick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11956#11956

Re: [osg-users] Positioning PrecipitationEffect

2009-05-13 Thread Rick Appleton
Hi Robert, You asked Jason for a repro case back then. I've been simpifying my test case such that is is now a simply plane. plane.osg Geode { DataVariance STATIC nodeMask 0x num_drawables 1 Geometry { DataVariance STATIC PrimitiveSets 1 {

Re: [osg-users] Positioning PrecipitationEffect

2009-05-12 Thread Rick Appleton
Hi Robert, I'm assuming nothing has happened on this front after the last message? I'm seeing the same effect here on a terrain database which is about 80kmx80km. If I get far away from the center of the bounding box (note: not the origin of the model) the rain becomes patchy and then

[osg-users] RTT and viewport offset

2009-04-06 Thread Rick Appleton
Hi, I've encountered an issue with rendering to texture and then displaying that texture with a viewport that doesn't start at 0,0. I'm using osgPPU for this, but I believe the issue is in OSG. In osgUtil/RenderStage.cpp, in RenderStage::runCameraSetUp the width and height are calculated as:

[osg-users] Multisample Coverage in FBO

2009-04-02 Thread Rick Appleton
Hi, I'm looking into using Multisampled Coverage in FBOs in our application, and I've run into an interesting snafu. According to the extension specification coverage_samples cannot be larger than color_samples. This is enforced in OSG in two places: osgUtil/RenderStage.cpp(352) and

Re: [osg-users] DatabasePager failed when loading ive with outside image

2009-01-15 Thread Rick Appleton
Sorry for the delays, but here I am. Robert, I've not been able to test my issue with the Registry turned off. It simple takes too long and a non-variable amount of time to see if that would avoid the issue. We were getting the crash when running for anything between 2 and 24 hours. As far as

Re: [osg-users] osg-users Digest, Vol 17, Issue 97

2008-11-26 Thread Rick Appleton
::ReadResult rather than a Image* would be safe as ReadResult uses ref_ptr internally. Robert. On Tue, Nov 25, 2008 at 1:49 PM, Rick Appleton [EMAIL PROTECTED] wrote: Sorry for the delay on this. Here's some more information. Below is a complete callstack which should be similar to when

Re: [osg-users] Multi-threading bug related to Registry

2008-11-25 Thread Rick Appleton
] Multi-threading bug related to Registry Hi Rick, The solution is for ref_ptrImage to be used, but where I can't say as you don't provide full details on what code is at fault. Which plugins are you invoking in this instance? .osg? .ive? Others? Robert. On Mon, Nov 17, 2008 at 1:23 PM, Rick

[osg-users] Multi-threading bug related to Registry

2008-11-17 Thread Rick Appleton
There is a nasty multi-threading bug related to osgDB::DatabasePager and the _objectCache in osgDB::Registry. This is the situation. * Thread 2 stack (DatabasePager thread): ReaderWriter::ReadResult Registry::readImplementation ReaderWriter::ReadResult Registry::readImageImplementation

Re: [osg-users] DatabasePager questions

2008-10-30 Thread Rick Appleton
the DatabasePager is supposed to be used for me? Kind regards, Rick Appleton ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] DatabasePager questions

2008-10-30 Thread Rick Appleton
questions Hi Rick, On Thu, Oct 30, 2008 at 12:17 PM, Rick Appleton [EMAIL PROTECTED] wrote: I see the point in having a single osgDB::DatabasePager for a single osgViewer::Scene. However, this immediately raises the question which DatabasePager osgDB::Registry would point to, as osgDB::Registry