little ai demo (steering behaviours)

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
Vectrex
Ogre Magi
Posts: 1266
Joined: Tue Aug 12, 2003 1:53 am
Location: Melbourne, Australia
Contact:

Post by Vectrex » Wed Feb 28, 2007 4:48 pm

handcircus wrote:
jacmoe wrote:I am still keen on making OgreSteer happen. :wink:
Probably not of interest as its .net only but I just ported OpenSteer to C# and Mogre - I'll try and post it up somewhere soon. All that mix-in stuff was a bit weird - made me feel a bit dizzy.

This looks fun. that Buckland book is ace! Nice work :)
There's plenty of interest, even from us c++ gimps :) I teach using MOgre and C#, so a mogre version would be very much appreciated. In fact just today we were trying to figure out how we could get pathing and avoidance going :) So post away or PM me and I'll test the sucker out. Thanks
0 x

antarctica2007
Kobold
Posts: 27
Joined: Sun Feb 11, 2007 11:18 pm
Location: Sunny Scotland

Post by antarctica2007 » Wed Feb 28, 2007 5:04 pm

sorry handcircus i must of missed your post somehow - sounds like you have done some excellent work, the mixin stuff etc was what put me off using opensteer as i dont really understand it, hope you post your ported version up soon! :)

jacmoe - have signed up to your forum, but the registration confirmation email seems to be taking a long time to come through
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Post by jacmoe » Wed Feb 28, 2007 7:25 pm

antarctica2007 wrote:jacmoe - have signed up to your forum, but the registration confirmation email seems to be taking a long time to come through
You should have received the activation email by now.
The forum is run from the sourceforge servers, and they don't allow PHP to access the mail client, for security reasons.
I've made a cron job run on my shell account, sending the queued messages on an hourly basis. A work-around which works, but requires some patience. The CEGUI folks are doing the same thing, AFAIK.

Anyway, looking forward to seeing you there. :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

antarctica2007
Kobold
Posts: 27
Joined: Sun Feb 11, 2007 11:18 pm
Location: Sunny Scotland

Post by antarctica2007 » Wed Feb 28, 2007 7:54 pm

Hmm been having a rethink - as i mentioned in an earlier post i was going to have the physics&ai tightly coupled as i wanted it to be able to cope with obstacles of just about any shape,so i was going to use OgreNewts convex hull and do ray/tri tests etc, but im now not sure thats the best idea as it forces people to use the same physics implementation as i do.

as spannerman says i guess it would be better to decouple the ai layer from the movement/physics layer, which would make it more portable; ideally it would be so that the user just added the .h/.cpp or the .dll to their project and didnt really have to worry too much about how it works.

also from what spannerman said i think i should not bother trying to make a contrived wall avoidance behaviour work, and instead improve the obstacle avoidance to be more generic & dynamic,

although the basics could be achieved with simple RaySceneQueries vs bounding boxes/spheres, perhaps i would be better off with something like coldet or OgreOpcode (i havent really checked these out much yet though) as a halfway house solution, removing the depenancy on any one particular physics library, but allowing them to be used at the users disgression- of course this adds a new dependancy but hopefully a less obtrusive one to the user :)

still no email - i checked i hadnt used the wrong on by trying to sign up again and it says its definitely taken though, i dont suppose you can process a confimation email by hand if its still not through soon?
0 x

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
Contact:

Post by jacmoe » Wed Feb 28, 2007 8:06 pm

I will check your account, and activate you manually if need be. :wink:

About OgreSteer:
I think it should be a steering/pathing library, not relying on any particular library for collision detection, etc.

I had in mind something like a PathAffector (just like particle systems, actually).
If a collision happens, the path is affected. And so on.
Some ready-made affectors could be provided. One is those would of course be a plain old raycast.
Others would be hooks into OgreNewt, NxOgre, OgreBullet, etc.

IMO, the library should be using Ogre - that's why it's a wrapper.
Wrapping not only OpenSteer, but also MicroPather.
And our very own home-made code..
Some helper code/classes will probably be made, like state machines and so on, but I don't think it should be an AI library.

Well, I guess I should move this discussion to the OgreSteer forum .. :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

antarctica2007
Kobold
Posts: 27
Joined: Sun Feb 11, 2007 11:18 pm
Location: Sunny Scotland

Post by antarctica2007 » Thu Mar 08, 2007 11:59 pm

It looks like im not going to be able to work on this much atm so i thought i would release the source "as is" in case its of use to anybody,

http://homepages.nildram.co.uk/~ant2k3/projects.html

even though it doesnt actually use any ogrenewt physics body's atm its still requires it for compliation etc- this needs to be sorted out in project settings plus modifying the includes etc
0 x

handcircus
Halfling
Posts: 43
Joined: Wed Apr 05, 2006 8:00 pm

Post by handcircus » Fri Mar 09, 2007 12:02 pm

Vectrex wrote:
handcircus wrote:
jacmoe wrote:I am still keen on making OgreSteer happen. :wink:
Probably not of interest as its .net only but I just ported OpenSteer to C# and Mogre - I'll try and post it up somewhere soon. All that mix-in stuff was a bit weird - made me feel a bit dizzy.

This looks fun. that Buckland book is ace! Nice work :)
There's plenty of interest, even from us c++ gimps :) I teach using MOgre and C#, so a mogre version would be very much appreciated. In fact just today we were trying to figure out how we could get pathing and avoidance going :) So post away or PM me and I'll test the sucker out. Thanks
Cool, it basically there but really wanna tidy it up a little - working on quite a few projects at the mo and have no time, but as there is interest i'll prioritise :)

Ive not ported the demo framework, just opensteer itself, so i'll plonk in a few demos and try to get that up in the next week. Might make it eihort dependent when it comes out too (which should be this weekend, according to Bekas).
0 x
HandCircus Game Studio - http://www.handcircus.com - Creators of Rolando and Rolando 2

User avatar
SpannerMan
Gold Sponsor
Gold Sponsor
Posts: 446
Joined: Fri May 02, 2003 10:05 am
Location: UK
Contact:

Re: little ai demo (steering behaviours)

Post by SpannerMan » Thu Sep 10, 2009 9:38 am

Hey, did anybody manage to retain a copy of this sourcode for antarctica2007's Steering demo? All the links are dead.
0 x

User avatar
Danoli3
Halfling
Posts: 53
Joined: Wed Jul 29, 2009 8:25 am
Location: Sydney, Australia
Contact:

Re: little ai demo (steering behaviours)

Post by Danoli3 » Thu Sep 17, 2009 6:14 pm

Also interested if anyone has source?
0 x
Studying BSc in Games Development @ the University of Technology of Sydney Australia
Ogre Projects so far: Mall Rush
Finished a Diploma in Games Development 2009

yaoyansi
Kobold
Posts: 29
Joined: Mon Apr 02, 2007 4:42 pm

Re: little ai demo (steering behaviours)

Post by yaoyansi » Mon Sep 21, 2009 2:44 am

steersuite http://www.magix.ucla.edu/steersuite/ is another steering behaviors project which provoids more test enviroments.
0 x

User avatar
Danoli3
Halfling
Posts: 53
Joined: Wed Jul 29, 2009 8:25 am
Location: Sydney, Australia
Contact:

Re: little ai demo (steering behaviours)

Post by Danoli3 » Sat Sep 26, 2009 3:37 pm

awesome thanks yaoyansi
0 x
Studying BSc in Games Development @ the University of Technology of Sydney Australia
Ogre Projects so far: Mall Rush
Finished a Diploma in Games Development 2009

Post Reply