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

2016-07-19 Thread Rick Irons
e 2016 at 16:34, Rick Irons 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_LAYERS_EXT enums (see change below). Otherwise, such calls will ge

[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 w

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

2016-06-21 Thread Rick Irons
: [osg-users] OpenThreads build error (OSG 3.4.0) Hi Rick, On 21 June 2016 at 15:33, Rick Irons wrote: > Any thoughts on this issue? > > We are trying out option #2 below (Define WIN32_IE to 0x0600 in the > Open Thread cmake list file) since it is the more conservative of the > a

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

2016-06-21 Thread Rick Irons
s. No issues so far. Thanks, Rick From: Rick Irons Sent: Friday, June 17, 2016 1:08 PM To: '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 encountering an OpenThread

[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, Configuratio

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

2016-06-14 Thread Rick Irons
check that everything should work without it. Robert. On 13 June 2016 at 15:29, Rick Irons wrote: > Hi Robert, > > > > Thank you for the response. > > > > I am still a little puzzled...shouldn't the code you refer to below > set '_boundingBoxComputed'

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

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

[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 http://lists.openscenegraph.org/listinfo.

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

2016-06-09 Thread Rick Irons
ra level of complexity, but for most users they shouldn't be using the getCameraContainingPosition() method directly and won't need to look at the PointerData either. What the PointerData gives you is a robust way of getting the mouse position relative to the active cameras. Robert.

[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 use

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

2016-05-27 Thread Rick Irons
e because the pointer to the Referenced base class isn't > castable directly to a CullVsititor as CullVisitor uses virtual > inheritance. > > Robert. > > > On 26 May 2016 at 22:04, Rick Irons wrote: >> Hi Robert, >> >> >> >> Unfortunately the

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

2016-05-26 Thread Rick Irons
d. 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: OpenSceneGraph Users Subject: Re: [osg-users] CullVi

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 > osg::Observer system I fina

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

2016-05-24 Thread Rick Irons
2016 at 20:33, Rick Irons 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 was added just prior to the release of 3.4.0. Here is the OSG 3.5.1 version of the

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

2016-05-23 Thread Rick Irons
ing. Robert. On 23 May 2016 at 17:45, Rick Irons 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 issue when updating from version 3.0.1. The source of the proble

[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... virtu