If you're using standard Visual Studio, using C++/CLI interop to write
managed ("ref") classes that interop with OSG and are callable from C#
is going to be the most powerful approach. In order to render into a
Windows Forms control, you create an empty control, get the native HWND
and provide it to osgViewer.
If you are using Visual Studio Express or Mono, or hate C++, you need to
deal with osgWrappers and P/Invoke and unsafe memory management, which
is going to be considerably more brittle.
On 4/27/2011 3:50 AM, Sander Lan wrote:
> Hi,
>
> Does anyone have experience with using OpenSceneGraph in a C# environment?
>
> Thank you!
>
> Cheers,
> Sander
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=38802#38802
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Peter Amstutz
Senior Software Engineer
Technology Solutions Experts
Natick, MA
02131
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org