Re: [osg-users] [3rdparty] OSG C#
On 4/27/2011 1:50 AM, Sander Lan wrote: Does anyone have experience with using OpenSceneGraph in a C# environment? http://forum.openscenegraph.org/viewtopic.php?t=3686 I'm pursuing a slightly different approach in a .NET application I'm interfacing with right now, but I won't have any info to share until after it's done and we know if it works. ;) -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. There is no Truth. There is only Perception. To Perceive is to Exist. - Xen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] OSG C#
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 osg-users@lists.openscenegraph.org 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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] OSG C#
Of course OSG can work well with c#, but i recommend you to patch the block about osg into dll. Just by calling the dll can help you easily use it -- Original -- From: Sander Lan; Date: 2011年4月27日(星期三) 下午3:50 To: osg-users; Subject: [osg-users] [3rdparty] OSG C# 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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org