Would there be enough interest in an osgViewerActiveX? I have made a control 
which can be dropped into managed forms. This is for a particular purpose, 
however if there is enough interest I don't mind redoing it in a generic form 
and have it added as a osg project list (and maintaining it).

If you just want to hack my code as-is then I can email you the code (let me 
know paul dot mcintosh at internetscooter dot com).

Cheers, 

Paul 
-- 
Paul McIntosh 
www.internetscooter.com


>  -------Original Message-------
>  From: buidinhba5 <[email protected]>
>  Subject: Re: [osg-users] Windows forms and c#
>  Sent: 24 Jun '09 13:14
>  
>  Hi All
>  
>  I have download osgNETDemo.rar from
>  http://www.april1985.com/2008/02/19/osgnetdemo/#more-322
>  
>  Download link : http://www.april1985.com/?dl_id=7
>  
>  I Use OSG 2.8.1 , and in VSProj , in project I add /Lib and /include of  OSG
>  2.8.1
>  
>  In VS 2005
>  
>  In debug mode I compile success but  when I run it get error ; The
>  application failed to initialize properly (0xc015002). Click on OK to
>  terminate the application
>  
>  I Think this version OSG is newer and not compatible  in this Project , who
>  can show me version Compatible or how to fix this problem . Thank ^^
>  
>            
>  
>  I also read about FAQ:
>  
>  
>  http://www.openscenegraph.org/projects/osg/wiki/Support/FAQ#HowdoIembedanOSG
>  viewerina.NETcontrol
>  
>  
>  
>            I make another project but when I only add library  in stdafx.h
>  not use it, it take many time to compile !^! I don't know why K
>  
>  //TODO: reference additional headers your program requires here
>  
>  #include <osg/Geode>
>  
>  #include <osg/Node>
>  
>  #include <osg/Geometry>
>  
>  #include <osg/MatrixTransform>
>  
>  #include <osg/PolygonMode>
>  
>  
>  
>  #include <osgViewer/Viewer>
>  
>  #include <osgGA/TrackballManipulator>
>  
>  
>  
>  #include <osgViewer/ViewerEventHandlers>
>  
>  #include <osgGA/StateSetManipulator>
>  
>  
>  
>  #include <osgDB/ReadFile>
>  
>  #include <osgDB/WriteFile>
>  
>  
>  
>  #include <Windows.h>
>  
>  #include <osgViewer\api\Win32\GraphicsWindowWin32>
>  
>            
>  
>  Thanks,
>  
>  Ba.
>  
>  
>  
>  From: [email protected]
>  [mailto:[email protected]] On Behalf Of Smelik,
>  R.M. (Ruben)
>  Sent: Monday, June 22, 2009 1:34 PM
>  To: OpenSceneGraph Users
>  Subject: Re: [osg-users] Windows forms and c#
>  
>  
>  
>  Dear Ba,
>  
>  
>  
>  Here's a working example of integrating OSG with C++/CLI and WinForms, which
>  was made by Hesicong a year ago:
>  http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-
>  February/007430.html
>  
>  You can integrate this into a Visual Studio solution with a C# project.
>  
>  
>  
>  Kind regards,
>  
>  
>  Ruben
>  
>  
>  
>    _____  
>  
>  From: [email protected] on behalf of buidinhba5
>  Sent: Mon 6/22/2009 6:35 AM
>  To: 'OpenSceneGraph Users'
>  Subject: Re: [osg-users] Windows forms and c#
>  
>  Hi Jason Beverage
>  You can give more information use c++/cli to make a managed control ,some
>  example or link to learn
>  I have seach in Google and not see more about how to use c++/cli, it seem to
>  be not have more example and turtorial can you give some help
>  
>  Thanks,
>  Ba.
>  
>  
>  > -----Original Message-----
>  > From: [email protected] [mailto:osg-users-
>  > [email protected]] On Behalf Of Jason Beverage
>  > Sent: Sunday, June 21, 2009 12:16 AM
>  > To: OpenSceneGraph Users
>  > Subject: [osg-users] Windows forms and c#
>  >
>  > Hi all,
>  >
>  > This is a reply to the poster that asked about using OSG and c# and
>  > mentioned me :)
>  >
>  > Back when I first wrote that message I was using Tao and osgdotnet in
>  > some testing. These days the absolute best way to use osg with c# IMO
>  > is to use c++/cli to make a managed control and just use osg from
>  > native c++. You have full access to osg with no need to write
>  > wrappers.  Osgdotnet seems to have been abandoned anyway and hasn't
>  > been updated in quite some time.
>  >
>  > Thanks!
>  >
>  > Jason
>  
>  
>  _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>  
>  This e-mail and its contents are subject to the DISCLAIMER at
>  http://www.tno.nl/disclaimer/email.html
>  
>  _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>  
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to