Please see a C++/CLI demo here: http://www.openscenegraph.org/projects/osg/wiki/Community/WindowingToolkits

Gordon Tomlinson wrote:

HI

 

Have a look at the examples  \OpenSceneGraph\Src\Examples osgviewerQT, MFC SDL,  FLTK etc they all show how to use a different window container etc….

 

 

__________________________________________________________
Gordon Tomlinson

Email   : [EMAIL PROTECTED]
YIM/AIM : gordon3dBrit
MSN IM  : [EMAIL PROTECTED]
Website : www.vis-sim.com www.gordontomlinson.com

__________________________________________________________

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ernest Abbott
Sent: Tuesday, May 06, 2008 9:53 PM
To: [email protected]
Subject: [osg-users] How to get the Handle for C# displays

 

I'm very very new to OSG. I'm writing in C# and have a limited understanding of C++. I am, as vehicle of learning OSG, converting a sample OSG C++ program to C#. I want to be able to display my rendered image in an area within my windows Form. I realise that I need to get the handle for the render object, which is easily done. But I can't see where/how I can let OSG know what this handle is. ie How can I pass the handle to OSG so that it renders within my window control?

A bit of sample code would be of a great help.

regards

Ernest Abbott


Messenger's gone Mobile! Get it now!



__________ Information from ESET NOD32 Antivirus, version of virus signature database 3080 (20080506) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

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



__________ Information from ESET NOD32 Antivirus, version of virus signature database 3080 (20080506) __________

The message was checked by ESET NOD32 Antivirus.

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

Reply via email to