Jump to content
  • Advertisement
Sign in to follow this  
nirVaan

OpenGL porting win32 game engine to .NET

This topic is 3789 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi im currently doing my uni project which is of course is a game engine ( thankz for all the help provided by you guys in ironing out some issues ) which suppose to be multi platform.i was hoping to convert the DirectX rendering layer in to OPenGL/Mesa and port it to linux but it seems i wont have enough time to do that (way behind schedule).so at least i want to make the framework be compatible with .Net with out rewriting everything in managed directX or XNA.so was thinking of using some sort interop techniques. so wat kind of issues must i look out for if im taking this route.im thinking of just having managed C++ wraper classes around native C++ clases. the engine does not pass any directX specific stuff to the user of the framework and the engine only requires (platform specific) is the windows handle.so will it work if i pass the form handle if not what kind of conversion must i do and what are the other technical issues that i must keep and eye out thankz

Share this post


Link to post
Share on other sites
Advertisement
It could be a little hardcore, but you might try looking into the SlimDX codebase - they have to solve much the same problem with their library.

Alternatively, look into P/Invoke for more procedural style DLL calls, the managed C++ route you mentioned, or consider wrapping your native code up in a COM object.

hth
Jack

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!