Could OpenTK or AgateLib be the solution?

freegamer

User avatar

Site Admin

Posts: 119

Joined: Fri Mar 14, 2008 3:11 pm

Post Thu Dec 04, 2008 2:31 am

Could OpenTK or AgateLib be the solution?

I just saw OpenTK (aka Open Toolkit) posted as a suggestion to somebody with Winforms (or Gtk#) with OpenGL on .NET/Mono requirements.

The Open Toolkit is a game development library for .Net/Mono with an elegant, yet powerful, API. It enables you to bring your ideas to fruition, leveraging the full power of .Net, OpenGL and OpenAL. (Features)

OpenTK needs no setup. It runs on Linux and Windows and works with all .Net languages, like C#, VB.Net and IronPython. Best of all, it is - and will remain! - free for both commercial and non-commercial projects.


Is this a viable solution?
Free Gamer - open source games blog
FreeGameDev forums - open source games development community

freegamer

User avatar

Site Admin

Posts: 119

Joined: Fri Mar 14, 2008 3:11 pm

Post Thu Dec 04, 2008 3:05 am

Re: Could OpenTK be the solution?

Of more interest is AgateLib, which is implemented on top of OpenTK:

It's a 2D, cross-platform library with hardware acceleration for rotation, scaling, zooming. The current version supports Windows and Linux and the next one which I am working on for this summer should add Mac OS to that list.
Free Gamer - open source games blog
FreeGameDev forums - open source games development community

freegamer

User avatar

Site Admin

Posts: 119

Joined: Fri Mar 14, 2008 3:11 pm

Post Fri Dec 05, 2008 9:33 am

Re: Could OpenTK or AgateLib be the solution?

Wow, I was really tired yesterday and it showed - had to correct my naming of AgateLib in 3 different ways!

Sorry about that! :roll:
Free Gamer - open source games blog
FreeGameDev forums - open source games development community

freegamer

User avatar

Site Admin

Posts: 119

Joined: Fri Mar 14, 2008 3:11 pm

Post Fri Dec 05, 2008 3:09 pm

Re: Could OpenTK or AgateLib be the solution?

Ok, I've done a lot of the grunt work for this but, really, I don't know what I'm doing.

I've avoided committing changes to the actual source or deleting things because they sound MS-y.

The branch is here:
https://freetrain.svn.sourceforge.net/s ... TrainAgate

AgateLib docs are here:
http://agate.sourceforge.net/docs/

I would really appreciate somebody who knows a bit about .NET development looking into the few files that do depend on DirectX and assessing how easy (or not) it would be to move to AgateLib.

Theoretically, if the abstraction is sufficient and the changes required to move the DirectDraw/Audio stuff from DirectX to AgateLib are not overwhelming, the port should be pretty feasible because Winforms should work fine with OpenTK (unlike our Winforms/SDL woes).
Free Gamer - open source games blog
FreeGameDev forums - open source games development community

Return to Core Development

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.