Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread James Killian
Yes, it's best to always use ref_ptr. I would agree with that if it means when working with osg classes / foundation. Not ALL pointers need a reference count like those which are private (not intended to be shared), that's one reason why boost created the scoped pointer... too bad all the

Re: [osg-users] Projective Texturing does not work when using shaders

2009-05-31 Thread Johannes Schüth
Hi Ulrich, thank you very much. You gave me the right hint to solve my problem. I just added the texture matrix and everything worked as expected: Code: /* set Texture matrix*/ osg::TexMat* texMat = new osg::TexMat; osg::Matrix mat; osg::Vec3 projectorPos =

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Ulrich Hertlein
On 31/5/09 7:07 PM, James Killian wrote: Not ALL pointers need a reference count like those which are private (not intended to be shared), that's one reason why boost created the scoped pointer... too bad all the c++ programmers I know never use them. Maybe because boost isn't exactly a light

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Ismail Pazarbasi
2009/5/31 Ulrich Hertlein u.hertl...@sandbox.de: On 31/5/09 7:07 PM, James Killian wrote: Not ALL pointers need a reference count like those which are private (not intended to be shared), that's one reason why boost created the scoped pointer... too bad all the c++ programmers I know never

Re: [osg-users] Can I change the plugin directory structure?

2009-05-31 Thread Jean-Sébastien Guay
Hello Rick, Once you've run the ALL_BUILD target (or INSTALL, which depends on ALL_BUILD) then the examples will find the plugins just fine, you can run them with F5 no problem. I am not finding this to be the case. When running with F5 or Ctrl-F5, VS runs the example from where it

[osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-05-31 Thread Matthias Asselborn
Hi, a want to force a Pick each Mouse move Code: case osgGA::GUIEventAdapter::MOVE: { if ( pick( ea, pViewer, aa ) ) { return true; } return false; } case osgGA::GUIEventAdapter::RELEASE: i set a breakpoint under the case MOVE: expression

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Ismail Pazarbasi
2009/5/31 Ulrich Hertlein u.hertl...@sandbox.de: On 31/5/09 9:06 PM, Ismail Pazarbasi wrote: 2009/5/31 Ulrich Hertleinu.hertl...@sandbox.de: Maybe because boost isn't exactly a light dependency to carry around? ... sorry but what's so heavy about boost to carry around? Do you use signal,

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Judd Tracy
Boost only needs to be installed if you use certain features. Shared pointers is not one of those features in which it needs to be installed. That was the point that Ismail was probably trying to bring forward. But boost shared pointers are a different beast from osg's. On Sun, May 31, 2009 at

Re: [osg-users] Website not reachable from france and austria

2009-05-31 Thread Alan Purvis
And Ireland. On 31 May 2009, at 17:45, Sebastian Messerschmidt wrote: same for germany Hi, i can access: blog.openscenegraph.org forum.openscenegraph.org but not www.openscenegraph.org / openscenegraph.org Seems to be a dns problem? ping www.openscenegraph.org PING lemonvm-osg.ai2.upv.es

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-05-31 Thread Paul Martz
Are you holding the mouse button down? If so, you'll get a DRAG event, right? (Is this not universal UI terminology?) Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 ___ osg-users mailing list

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Chris 'Xenon' Hanson
Judd Tracy wrote: Boost only needs to be installed if you use certain features. Shared pointers is not one of those features in which it needs to be installed. I like boost myself, and have used parts of it in different projects. But, I want to clarify the sense of installed here. I'd

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Judd Tracy
They do have a type that is somewhat similar to ref_ptr. I have not gone into the details of it to see how much it matches but it does use embedded reference counts. intrusive_ptrhttp://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/intrusive_ptr.html On Sun, May 31, 2009 at 9:21 PM, Chris 'Xenon'

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread Paul Martz
Judd is right in that most of boost does its magic at compile-time and doesn't need binary libraries at link-time. Everyone I talk to who actually uses Boost will agree with that statement, and they claim that Boost is a very lightweight dependency. Interestingly, everyone I talk to who

Re: [osg-users] osg::ref_ptr used anymore

2009-05-31 Thread James Killian
The real question is -- does boost even offer a smart pointer type that replicates ref_ptr, or is all this a pointless exercise? I've stepped through ref_ptr code before and it does seem similar to intrusive and perhaps shared as well. I have also discovered a few matrix classes that are

Re: [osg-users] Website not reachable from france and austria

2009-05-31 Thread Yurii Monakov
And Russia :) 2009/6/1 Alan Purvis alanpur...@eircom.net And Ireland. On 31 May 2009, at 17:45, Sebastian Messerschmidt wrote: same for germany Hi, i can access: blog.openscenegraph.org forum.openscenegraph.org but not www.openscenegraph.org / openscenegraph.org Seems to be a