Hi Mike,
Awesome job on the wrappers, I've got an embedded graphics window running
with Tao in a little test application now. One issue I'm having is that I'm
getting exceptions when I try to add a camera manipulator. Here is the
exception that I'm getting:
Unhandled Exception: System.InvalidOperationException: Handle is not
initialized
.
at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
at ___WS.SmartHandle<OsgViewer::Viewer
^>.makeWeak(SmartHandle<OsgViewer::Vie
wer ^>* )
at ___WS.?A0x27774b4a.refCountedAdapterFactory<class
OsgViewer::___Viewer_ada
pter>(Void* native, Boolean __unnamed001)
at ___WS.VTableTypeWrapperFactory.getWrapper<class
osgGA::GUIActionAdapter>(G
UIActionAdapter* native, Boolean isReference)
at OsgGA.___UFOManipulator_adapter.home(___UFOManipulator_adapter* ,
GUIEvent
Adapter* x, GUIActionAdapter* param2)
at osgViewer.View.setCameraManipulator(View* , MatrixManipulator* )
at OsgViewer.View.setCameraManipulator(MatrixManipulator manipulator)
at GeometryTest.Form1..ctor() in
C:\dev\DWA\GLRSS\GeometryTest\Form1.cs:line
21
at GeometryTest.Program.Main() in
C:\dev\DWA\GLRSS\GeometryTest\Program.cs:li
ne 17
I can manually set the camera position using
viewer.getCamera().setViewMatrixAsLookAt(eye,
center, up) though.
I'm really excited about this project:)
Thanks,
Jason
On 6/25/07, Mike Wittman <[EMAIL PROTECTED]> wrote:
Hi everyone,
I'm pleased to announce the release of osgDotNet, a binding of the
OpenSceneGraph libraries to the .NET/CLR platform. osgDotNet allows
OpenSceneGraph to be used and extended from C# with an API that closely
mirrors the C++ interface.
The initial version, osgDotNet 0.8, supports OpenSceneGraph 2.0 on .NET
2.0 and later. This release should be considered beta -- it's mature
enough to be usable although there are still some rough edges. I'd invite
anyone who may be interested in using OpenSceneGraph from C# to jump in and
give it a try.
Wrapper assembly binaries for x86 and x64, the generator that created
them, and information on getting started with both are on the osgDotNet Trac
wiki:
http://www.openscenegraph.com/projects/osgDotNet
Thanks go to my employer, Seismic Micro-Technology, Inc., for releasing
the osgDotNet wrapper generator under the GPL, and Robert Osfield and Jose
Luis Hidalgo for hosting the project on the OpenSceneGraph server.
*Mike Wittman*
[EMAIL PROTECTED]
*___________________________________________________*
*Seismic Micro-Technology, Inc.*
*8584 Katy Freeway, **Suite 400 / Houston, Texas 77024*
*Tel. +1 (713) 464-6188*
*Fax. +1 (713) 464-6440*
*Web: www.seismicmicro.com*
*___________________________________________________*
*Seismic through Simulation with KINGDOM, (RC)2, and SURE! - CONTACT US
TODAY for more information.*
* *
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/