Argorha Pathfinding (In a polygon soup)
-
- Posts: 9
- Joined: Tue Jul 01, 2008 4:19 pm
Argorha Pathfinding (In a polygon soup)
Hi guys,
I'm the author of the Argorha Pathfinding https://sourceforge.net/projects/argorha/
I've made an integration of my Argorha Pathfinding into Irrlicht engine for demo of my pathfinding. I'm not 100% satisfied yet, but it works and I might not rework on it soon.
I've used the collision demo pretty much as is and added necessary code. The code is on the svn. The demo can be downloaded here : http://downloads.sourceforge.net/argorh ... se_mirror=
So screenshot :
Have fun trying it and maybe integrating it into your engine
bibiteinfo
I'm the author of the Argorha Pathfinding https://sourceforge.net/projects/argorha/
I've made an integration of my Argorha Pathfinding into Irrlicht engine for demo of my pathfinding. I'm not 100% satisfied yet, but it works and I might not rework on it soon.
I've used the collision demo pretty much as is and added necessary code. The code is on the svn. The demo can be downloaded here : http://downloads.sourceforge.net/argorh ... se_mirror=
So screenshot :
Have fun trying it and maybe integrating it into your engine
bibiteinfo
why is there a sharp curve at the upper lright? is it moving up a stair or somehting? looking good.
Last edited by Virion on Wed Dec 10, 2008 4:52 am, edited 1 time in total.
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Posts: 9
- Joined: Tue Jul 01, 2008 4:19 pm
oppsbibiteinfo wrote:Thanks Halifax,
For Virion, yep it's the finish of a stair. And it's in the right of the picture, I was searching in the left
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
It's very interesting. Great work
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
is excellent, as it knew, but when i try to move from ogre to irrlicht, I was very bad,
i will use this with my project(Bennu3D), which is a 3d wrapper for the language bennu,
this project is excelent..!!!!
question.. limits?
thx....
...
i will use this with my project(Bennu3D), which is a 3d wrapper for the language bennu,
this project is excelent..!!!!
question.. limits?
thx....
...
Bennu (Best 2d and 3D dev-tool)
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
http://bennupack.blogspot.com
Pixtudio (Best 2D development tool)
http://pixtudiopack.blogspot.com
Bennu3D(3D Libs for bennu)
http://3dm8ee.blogspot.com/
Colombian Developers - Blog:
http://coldev.blogspot.com/
-
- Posts: 9
- Joined: Tue Jul 01, 2008 4:19 pm
-
- Posts: 101
- Joined: Wed Dec 03, 2008 5:33 pm
- Location: ger
wow I'm impressed, i thought A* algorithms only work for 2D...
suggestions:
-since it is loading very long for generating the pathfinding data, why don't you store it to an file and load it on startup? the map doesn't change, so...
-it seems like longer ways are not working correctly, you might have an eye on that.
-maybe you can add an extend feature for an path (left mouse sets new, right adds an point to the existing one)
-those boxes are not shown, when not looking at the map, do you want this to be like this?
i've got a question too, what does the red and the blue color of the boxes mean?
stats on my pc (might help?):
i loaded (full map generation) about 2 minutes, and FPS were around 20 on winXP, AMD sempron 2800, nVidia Geforce 4MX 400, 512mb DDR400, normal collision demo is around 30 FPS.
suggestions:
-since it is loading very long for generating the pathfinding data, why don't you store it to an file and load it on startup? the map doesn't change, so...
-it seems like longer ways are not working correctly, you might have an eye on that.
-maybe you can add an extend feature for an path (left mouse sets new, right adds an point to the existing one)
-those boxes are not shown, when not looking at the map, do you want this to be like this?
i've got a question too, what does the red and the blue color of the boxes mean?
stats on my pc (might help?):
i loaded (full map generation) about 2 minutes, and FPS were around 20 on winXP, AMD sempron 2800, nVidia Geforce 4MX 400, 512mb DDR400, normal collision demo is around 30 FPS.
i love skateboarding!
-
- Posts: 9
- Joined: Tue Jul 01, 2008 4:19 pm
Yep, A* is not just for 2D and not just for finding a path.psychophoniac wrote:wow I'm impressed, i thought A* algorithms only work for 2D...
suggestions:
-since it is loading very long for generating the pathfinding data, why don't you store it to an file and load it on startup? the map doesn't change, so...
-it seems like longer ways are not working correctly, you might have an eye on that.
-maybe you can add an extend feature for an path (left mouse sets new, right adds an point to the existing one)
-those boxes are not shown, when not looking at the map, do you want this to be like this?
i've got a question too, what does the red and the blue color of the boxes mean?
stats on my pc (might help?):
i loaded (full map generation) about 2 minutes, and FPS were around 20 on winXP, AMD sempron 2800, nVidia Geforce 4MX 400, 512mb DDR400, normal collision demo is around 30 FPS.
As for your suggestions :
-Loading and Saving in the file seems to be a good idea for the demo. In the code I don't think it's worth it, since I find myself to change the sectors/portals generation code pretty often. (This code is engine specific)
-The longer ways are the glitch I was talking about.
-Extended feature seems like a good idea, my only problem with it is that I don't want to complexify the demo code. There's a complete demo in GOOF, which is about 2 000 lines of code just to make it work the right way it should be used, with threading and dynamic recalculation. It was a demo which wasn't really friendly user, and I think not a lot of people really tried it.
-Well I've used the default way to create boxes in Irrlicht, I don't know if there's any other way.
Red is for sectors and blue for portals. My pathfinding is heavily based on http://www.gamasutra.com/features/20020 ... th_pfv.htm
The performance are normal, the generation of the boxes are supposed to be an offline process and I've just used a list to store them, for simplicity. The drop in FPS is due to the number of boxes shown.
To improve the A*, check this page : http://argorha.wiki.sourceforge.net/Pat ... ith+tought
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
-
- Posts: 9
- Joined: Tue Jul 01, 2008 4:19 pm
Seems strange, I know there's some glitch where sectors dosen't connect correctly. But are you in the complete or partial mode in the demo? Also in the pathfinding the ladders and falling and stuff like that are not supported yet, so that's normal if the path is from one level to another it won't connect.marrabld wrote:Great Job!
I can only get it to find very short paths, say a few boxes. Am I doing something wrong or is it limited to short paths?
Cheers
@christianclavet Yep, with a few modifications it could be used as a portal system for occluding.