[SOURCE] A* Pathing with 3D Viewer menu

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33
  1. #16
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow, Mad Respect from me bro. Great work and thank you. +Rep

    [SOURCE] A* Pathing with 3D Viewer
  2. #17
    Herleybob's Avatar Contributor
    Reputation
    178
    Join Date
    Jul 2007
    Posts
    663
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol, i have been.... Its making me mad.

    Nom Nom Nom :P

  3. #18
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PPathers actual pathfinder, just plain sucks. Period. I think all the actual developers would agree. (It works, for sure, but the computation needed for it is a royal pain in the ass.)

    Step 1) Split the parsed triangles into regions. (Note; you can literally remove 80% of the triangle mesh, by dumbing it down into larger regions.)

    Step 2) Implement a better A* engine (or even Dijkstra engine!). It can be done much better, and much faster than it currently is.

    Step 3) Well... there is no real step 3... Profit maybe?

  4. #19
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can compile everything fine and all, but when I run it , it will calculate the path... But the 3D model view doesnt show up... is that not included in the package..or...

    Im running WinXP SP3.

    Below is a screen shot...



    The error pops up about 2-3 seconds after I click the "search" button.

    Thanks for the app and help

  5. #20
    darrensmith0125's Avatar Member
    Reputation
    18
    Join Date
    Apr 2009
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LegacyAX View Post
    I can compile everything fine and all, but when I run it , it will calculate the path... But the 3D model view doesnt show up... is that not included in the package..or...

    Im running WinXP SP3.

    The error pops up about 2-3 seconds after I click the "search" button.

    Thanks for the app and help
    Hi, the error is coming from XNA, the XNA window is where the 3D view is shown it is opened when you click search. I assume you installed XNA 3.0. (not 3.1 or 1.0) You could see if XNA is working on your PC by running one of the simple samples like this one... Tutorial 1: Displaying a 3D Model on the Screen you will need to remove the XBox tutorial if it is included in the sample solution. If the sample works then it must be something I have done wrong, if it doesn't work then it must be your PC.

    Edit: It might also be a problem with DirectX, are you using Direct X 9, please try reinstalling it.
    http://www.gamedev.net/community/for...opic_id=434910
    Last edited by darrensmith0125; 08-03-2009 at 05:19 AM. Reason: Possibly DirectX issue

  6. #21
    xamxxl's Avatar Member
    Reputation
    1
    Join Date
    Jun 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont know how to start it... maybe im to silly but pls say me whyt i have to download... ich have this programm but i dont know how to run it...
    pls post mir the files i need to start ist--- im german an my english is bad so i cant read you first instruction

  7. #22
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well mt Dev PC cant support the Direct3D , But my laptop can atleast handle the program and second window to load but I dont get any image... just a blank blue screen in the window...

    Ill download Direct X 9

    Im wondering if this can be used to calculate paths from any XYZ to anouther.

    I like how its calculating in plain text so atleast I can see all the data...

    You think you could make it output the actual XYZ of the path it takes?

    Thanks again for this. It really has opened my eyes to a whole dif, way of pathing. Very inspiring.

  8. #23
    darrensmith0125's Avatar Member
    Reputation
    18
    Join Date
    Apr 2009
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LegacyAX View Post

    You think you could make it output the actual XYZ of the path it takes?
    See in frmTest.btnUseSearchPathThread_Click, at the end of the method...
    pathSearchThread.path is the path it has found. If you want to dump the steps found to the log:

    Replace:
    Code:
                if (pathSearchThread.path != null)
                {
                    this.Text = "Finished: " + pathSearchThread.path.Count();
                }
    With:
    Code:
                if (pathSearchThread.path != null)
                {
                    this.Text = "Finished: " + pathSearchThread.path.Count();
                    for (int i = 0; i < pathSearchThread.path.Count(); i++)
                    {
                        Logger.WriteToLog(pathSearchThread.path.Get(i).ToString());
                    }
                }

  9. #24
    Thidan's Avatar Contributor
    Reputation
    299
    Join Date
    Jan 2007
    Posts
    1,009
    Thanks G/R
    2/15
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rather interesting.
    Not 100% useable for me though, but awesome post indeed.


  10. #25
    obox's Avatar Contributor
    Reputation
    134
    Join Date
    Aug 2008
    Posts
    532
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think it was your SS i saw in the screenshot thread.. nice

  11. #26
    KOS0937's Avatar Member
    Reputation
    18
    Join Date
    May 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To make a few things clear: A* is a Dijkstra algorithm. Though the basic Dijkstra is non-informed.
    A* is very quick, but only in 'common' cases. If there is no path at all - or only a very strange one - it is as bad as checking EVERY possible combination of moves before realizing that there is no way to reach the destination.

    To avoid such an inconvenience coders usually devide the graph into connected-components and only allow the search for two nodes within the same connected component.
    As mentioned before, every component might be seperated into regions so that algorithms know wich region to pass very quickly before calculating the whole path.

    Btw the size of the graph does not matter. Only how many neighbouring nodes each node has and how many steps the final path will have.

    Everybody who wants to design a good pathing algorithm should read up on the topic first (for example in "AI Game Programming Wisdom Part I" - but there are a million and one books on the topic).

  12. #27
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Screw A* and forget Dijkstra's Algorithm. I made my own that is very efficient and is targeted towards making bots.

    Nawh, but if it came down to it I choose Dijkstra over A*; I'm simple like that.


  13. #28
    Maxmaximuss2's Avatar Member
    Reputation
    12
    Join Date
    Sep 2008
    Posts
    246
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol this is gonna be so funny, since now I had been off the forum for studying self-protection hacking and now I should be able to do whatever I want to , anywayes if someone need help with any kind of program then ofc. I will help you all, but this program is a good one I belive, but it can be cracked in 2 mins for eksample by me . But nice post .

    I will perhaps consider some programming for your noobs around this forum to perhaps hacking some accounts, since its easy .

    //Maxmaximuss2
    The CyberSpace will cover the future of AutoIT!
    Maxmaximuss2.

  14. #29
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Maxmaximuss2 View Post
    Lol this is gonna be so funny, since now I had been off the forum for studying self-protection hacking and now I should be able to do whatever I want to , anywayes if someone need help with any kind of program then ofc. I will help you all, but this program is a good one I belive, but it can be cracked in 2 mins for eksample by me . But nice post .

    I will perhaps consider some programming for your noobs around this forum to perhaps hacking some accounts, since its easy .

    //Maxmaximuss2
    wtf?
    )(Filrer)(

  15. #30
    FenixTX2's Avatar Active Member
    Reputation
    22
    Join Date
    Mar 2009
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really nice, +rep for the contribution.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. PPL with Model Viewers that works
    By qkrwlals in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 03-09-2009, 08:27 AM
  2. [Fun]Mess with peoples Flight Paths with Gamon
    By iceicebaby in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 01-23-2009, 05:37 PM
  3. [Question]Custom model error with Model viewer
    By Alexei in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 03-09-2008, 01:21 PM
  4. Problems with Model Viewer
    By Falcaram in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 01-04-2008, 09:15 AM
  5. Somwone help me with wowmodel viewer
    By OMGPWN in forum World of Warcraft General
    Replies: 0
    Last Post: 12-14-2006, 07:27 PM
All times are GMT -5. The time now is 12:23 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search