Now the user can click on a position with the mouse where the path-data generation should start scanning from:

As you can see that the sectors are displayed with some alpha and portals displayed with full alpha and red color(some flickering appears but this is only due to the fact that the portals are placed at perfect alignment to the "sector walls", hence they are called clip planes). The app still doesn't perform accurate collision tests though, so there are still some errors left.

It also saves the generated information to a XML structured file. You can view a full copy of the generated file for the above sample here.
Also, today I've started reading some articles about state of the art AI and found a really interesting article based on the game Fear. Here's the link to it http://aigamedev.com/open/reviews/fear-ai/, this is probably what I will be spending my time on for the rest of this week and I really recommend you to read it if you are interested in advanced AI programming, for games of course.
No comments:
Post a Comment