Re: [osg-users] OSGViewer 'o' save scene key removed?

2010-02-03 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi Chris, Robert, Thanks for bringing this up. I never knew the feature existed before. And it definitely could have saved me quite a bit of work in the past. I guess I wasn't diligent enough in going over the code to see this. What I would find useful in this feature is how to

Re: [osg-users] Geometryconsidered in near+far plane auto computation

2009-04-28 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi J-S, Thanks for keeping this post going with what you've done. I've been keeping an eye on it with keen interest. I do have one question though out of curiosity ... what dimensions (particularly the radius) did you use to generate the skydome? I see that you use the radius to determine

Re: [osg-users] Geometryconsidered in near+far plane auto computation

2009-04-28 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi J-S, I just realized I didn't give you actual information, just how we get the values... The radius turns out to be around 5000m most of the time. In our simulators, most of the time the user will stay in an area about 100mx100m in the center of the scene, so this works well. I think if we

Re: [osg-users] Problems shutting down Composite Viewer/View/Custom drawables

2009-03-30 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi J-S, One thing you need to be careful of when deriving classes from OSG base classes which themselves derive from osg::Referenced ... In most cases, the destructors of those classes should be protected. Since they're normally protected already (as in osg::Object, osg::Drawable, etc) you

Re: [osg-users] Problems shutting down Composite Viewer/View/Custom drawables

2009-03-30 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi David, Thanks for the response. It ended up being how I declared the destructor for my derived class as J-S pointed out. I was going down the path of when and if I needed to call releaseGLObjects() and nothing seemed to make a difference. And I'm still a little unsure of when that method

[osg-users] Problems shutting down Composite Viewer/View/Custom drawables

2009-03-27 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi all, I've been chasing an error in my code for many, many days that I'm hoping that someone can help me track down. I'll try to explain my application as best I can. I'm using a composite viewer to load multiple views. In each view, I'm loading a database scene (generally a TXP database)

Re: [osg-users] Problems shutting down Composite Viewer/View/Custom drawables

2009-03-27 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi all, I forgot to mention in my long-winded post that I'm using OSG 2.8.0. chuck -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users- boun...@lists.openscenegraph.org] On Behalf Of Cole, Charles E. (LARC- B702)[RAYTHEON TECHNICAL SERVICES COMPANY

Re: [osg-users] Problems shutting down Composite Viewer/View/Custom drawables

2009-03-27 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi J-S, When I referred to destroy, what I'm doing is calling 'delete' on the classes that contain the ref_ptrs. For instance, I call delete on my view class, and in the view class' destructor, I (eventually) call delete on the drawables. So I'm in effect doing what you're saying, with the

Re: [osg-users] osgText::readFontFile returns NULL on valid argument

2009-03-18 Thread Cole, Charles E. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
Hi Jesper, My first inclination is that the path is incorrect, or at least doesn't match with where the font file actually is. With the code snippet you listed, I believe that the file (and path) that you list must be relative to your project's compiled executable. That would be the first