Re: [osg-users] GL Error vulnerability in OSG 3.4.0 (invalid enum)

2016-07-19 Thread Rick Irons
issus with? Robert. On 30 June 2016 at 16:34, Rick Irons <rick.ir...@mathworks.com<mailto:rick.ir...@mathworks.com>> wrote: Hi, openscenegraph/src/osg/GLExtensions.cpp should probably be checking the OpenGL version prior to using the GL_MAX_3D_TEXTURE_SIZE and GL_MAX_ARRAY_TEXTURE_LAY

[osg-users] GL Error vulnerability in OSG 3.4.0 (invalid enum)

2016-06-30 Thread Rick Irons
Hi, openscenegraph/src/osg/GLExtensions.cpp should probably be checking the OpenGL version prior to using the GL_MAX_3D_TEXTURE_SIZE and GL_MAX_ARRAY_TEXTURE_LAYERS_EXT enums (see change below). Otherwise, such calls will generate GL errors when using older versions of OpenGL. Any concerns

Re: [osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-21 Thread Rick Irons
ers@lists.openscenegraph.org> Subject: Re: [osg-users] OpenThreads build error (OSG 3.4.0) Hi Rick, On 21 June 2016 at 15:33, Rick Irons <rick.ir...@mathworks.com> wrote: > Any thoughts on this issue? > > We are trying out option #2 below (Define WIN32_IE to 0x0600 in the > Ope

Re: [osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-21 Thread Rick Irons
oaches. No issues so far. Thanks, Rick From: Rick Irons Sent: Friday, June 17, 2016 1:08 PM To: 'osg-users@lists.openscenegraph.org' <osg-users@lists.openscenegraph.org> Subject: OpenThreads build error (OSG 3.4.0) Hi, Our internal development environment was just recently updated and we are now

[osg-users] OpenThreads build error (OSG 3.4.0)

2016-06-17 Thread Rick Irons
Hi, Our internal development environment was just recently updated and we are now encountering an OpenThreads build error on Windows with OSG 3.4.0. The build error is included in the following Visual Studios 2013 build output... 1>-- Rebuild All started: Project: OpenThreads,

Re: [osg-users] Drawable getBoundingBox() question

2016-06-14 Thread Rick Irons
to do another review now to double check that everything should work without it. Robert. On 13 June 2016 at 15:29, Rick Irons <rick.ir...@mathworks.com> wrote: > Hi Robert, > > > > Thank you for the response. > > > > I am still a little puzzled...shoul

Re: [osg-users] Drawable getBoundingBox() question

2016-06-13 Thread Rick Irons
] On Behalf Of Robert Osfield Sent: Saturday, June 11, 2016 3:07 AM To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org> Subject: Re: [osg-users] Drawable getBoundingBox() question On 10 June 2016 at 23:02, Rick Irons <rick.ir...@mathworks.com<mailto:rick.ir...@mathworks

[osg-users] Drawable getBoundingBox() question

2016-06-10 Thread Rick Irons
Hi, Shouldn't the inlined getBoundingBox() method in include/osg/Drawable set _boundingBoxComputed to 'true' or am I missing something? Thanks, Rick ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Use of getCameraContainingPosition in OSG 3.4.0 (deprecated?)

2016-06-09 Thread Rick Irons
tive cameras. Robert. Robert. On 8 June 2016 at 15:34, Rick Irons <rick.ir...@mathworks.com> wrote: > Hi, > > > > We are working on updating an application from OSG 3.0.1 to 3.4.0. We > have previously relied on getCameraContainingPosition() for selection, >

[osg-users] Use of getCameraContainingPosition in OSG 3.4.0 (deprecated?)

2016-06-08 Thread Rick Irons
Hi, We are working on updating an application from OSG 3.0.1 to 3.4.0. We have previously relied on getCameraContainingPosition() for selection, but now we are noticing that the function is marked as deprecated. Can someone identify the deprecation plan for this API? Is it still safe to

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-27 Thread Rick Irons
hould use ref_ptr<> to > make sure it's lifetime is correct - if in doubt use ref_ptr<>. > > I will have a look at the use of dynamic_cast<> again. I had to keep > it in there because the pointer to the Referenced base class isn't > castable directly to a

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-26 Thread Rick Irons
estructor so that the problematic dynamic cast will succeed. I am open to any other suggestions as well. I may have to resort to just creating a small example program that reproduces the issue. Thanks, Rick -Original Message- From: Rick Irons Sent: Wednesday, May 25, 2016 5:56 AM To: Op

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-25 Thread Rick Irons
Hi Robert, Thanks for the update. I will try out the fix. Rick > On May 24, 2016, at 3:53 PM, Robert Osfield wrote: > > Hi Rick, > > After a preplexing day looking at how the osgUtiil::CullVisitor, > osg::Camera and RenderStageCache were all interacting via the >

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-24 Thread Rick Irons
etting properly deleted Hi Rick, On 23 May 2016 at 20:33, Rick Irons <rick.ir...@mathworks.com<mailto:rick.ir...@mathworks.com>> wrote: The code where the static cast is failing is OSG code (openscenegraph\src\osgUtil\CullVisitor.cpp). I believe it is fairly recent code that wa

Re: [osg-users] CullVisitor object not getting properly deleted

2016-05-23 Thread Rick Irons
tom Observer to do house keeping. Robert. On 23 May 2016 at 17:45, Rick Irons <rick.ir...@mathworks.com<mailto:rick.ir...@mathworks.com>> wrote: Hi all, I am encountering an issue with a CullVisitor object not being properly deleted in version 3.4.0. I am encountering this iss

[osg-users] CullVisitor object not getting properly deleted

2016-05-23 Thread Rick Irons
Hi all, I am encountering an issue with a CullVisitor object not being properly deleted in version 3.4.0. I am encountering this issue when updating from version 3.0.1. The source of the problem is a failed Referenced to CullVisitor dynamic cast that occurs in the code below...