Just a reminder. When you want to use Managed C++ to make the C# wrapper (which i think is possible and also the implementation with less performance penalties) you cannot use it on Linux. Mono does not support Managed C++ wrappers.

I started a year ago searching for a solution to make OSG work with C#. My conclusion was that Managed C++ would be the best way to create this wrapper but will take a lot of time. I am now looking at the possibility to use an application where you can define the grammer of programming languages. There are grammer descriptions of C++ which can read the header files and gives a abstract description of the code. These can be used to generate the Managed C++ wrapper.

With Managed C++ 2.0 you can also use generics, maybe a good alternative for templates, and there is also a Managed STL extension for Managed C++ which support things like vectors.

This are some ideas from my side. I hope we can help each other to create a C# wrapper for OSG.

Best regards,

Johan de Koning

Serge Lages schreef:
Don't forget that C# works pretty well on Linux with the Mono project. :)


Or alternatively, switch on to using a dynamic language for integrating with the OSG, and integrate with C# with the dynamic language instead. Do all
the key OSG controls in Lua/Python,  and high level app stuff in C#.


I like this way to do it, I think it's a really good way to have
something clean and scalable.
I am also interested by wrapping OSG with C# but currently I am really
busy. Let us know how it goes and I will try to help you as soon as I
can.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to