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
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 =
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
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
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
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
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,
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
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
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
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
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'
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
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
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
15 matches
Mail list logo