On Wed, Apr 16, 2008 at 3:42 PM,  <[EMAIL PROTECTED]> wrote:
> Hi Robert,
>
>  Sorry for bad example, but the example is actually just the same as in the 
> osgbillboard example, which works.. So i guess there is some other error. I 
> do cast the Billboard pointer to an IntPtr and then back to a Node* before 
> inserting into the scenegraph root node. I do this in a ref (mixed mode)class 
> for building object from managed to native. But i guess that should be ok..?

Well you've lost me, what's a IntPtr??  Do you mean ref_ptr<>?  If so
just use the .get() to get the C pointer that you can pass into a
group->addChild(nodePtr) method.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to