C# Steering port

GenericJoe

24-10-2008 17:10:35

Personally I am of the opinion that I would like to keep all the hardcore graphics calculations in the C++ library, and everything else in C#, because C# is my language of choice - That is why I use Mogre.

I have recently ported (almost a direct port) a version of the Steering code and example as originally released in the OpenSource code that accompanies the excellent Programming Game AI by Example book (http://www.ai-junkie.com/books/toc_pgaibe.html). I would just like to point out that currently there is no interaction with Mogre - the included example is simply rendering to a win Form for now.

I would just like to get an idea if there are any other interested people out there to see this sort of thing? Ideally I would like to share this code via SVN and get peoples feedback/improvements i.e. all the good stuff that OpenSource is all about :)
Eventually I would like the included example to be running a scene via Mogre, but that is a secondary objective following the settling down of the Steering code itself.

So, anyone interested in this sort of thing? Anyone know if this has already been done elsewhere anyway?

Vectrex

25-10-2008 10:02:36

yeah I love steering stuff. Plus I teach students using MOgre so it'd be really cool for them to use.

GenericJoe

25-10-2008 22:34:20

Thats excellent to hear Vectrex, the more people working on it, the more feedback / bugfixes / optimisations etc.

Ive created an SVN project on GoogleCode, but I wont upload anything until Monday when I would have tidied up the code a little. I'll let you know when its up.

Just as a heads-up, the code is currently 2D only as its a straight port of the books demo code, so the following will be my order of priorities:

- Make proper use of C# data structures and functionality.
- Add that third dimension.
- Make the testrig application use Mogre for the rendering.

GenericJoe

27-10-2008 23:52:30

Ive checked in the source code to the new Google Code project called ThinkSharp. Its a V.S. 2005 solution, and there is a small accompanying text file with some notes. Heres a small screenshot showing the windows form and some boids:

Vectrex

28-10-2008 01:06:26

nice one. I'll check that out soon. Next year when semester starts again I'll use it as the students first assignment is to make a marble madness type game. This can be used by the more advanced students to do some decent ai :)

GenericJoe

04-01-2009 15:54:27

Just wanted to post a small update that I've made some improvements to the code, more noticeably the demo application. You can download a demo now from the thinksharp webpage





After some experimentation with Mogre, I have decided to wait until their is a version for Ogre 1.6.0 before I begin work on creating the Mogre demo application.

Beauty

04-01-2009 18:39:19

After some experimentation with Mogre, I have decided to wait until their is a version for Ogre 1.6.0 before I begin work on creating the Mogre demo application.
What are the reasons? What you miss or what are the problems?
I'm just curious :wink:
For my project I use an older versions and had no problems and the new features (e.g. DirectX 10) I don't need. Also I suppose that an application update to a newer Mogre version is not difficult.

GenericJoe

04-01-2009 21:09:20

What are the reasons? What you miss or what are the problems?

Nothing ominous, simply that the upgrade of Mogre to the latest version is inevitable (I suppose?), so since I have not started work on it yet I might as well wait a short while for that to come. I have yet to complete the support for 3D in the ThinkSharp Steering library anyway, so once done I will see how the Mogre upgrade has progressed and make a decision then.