[Request] Recast n' Detour menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Hi on helium's Avatar Member
    Reputation
    50
    Join Date
    May 2009
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] Recast n' Detour

    Hey there Memory Editing forum members, I'm currently in the process of learning C++(from basics to advanced C++ via books) and I'm mainly interested in making a bot for wow. I find the idea of making the movement process via a navigation mesh as a great plus as apposed to a bread crumb trail.

    I stumbled along Recast via a link from these forums, but I can't seem to find a tutorial for this program. If someone knows of a tutorial for this program or could tell me how to use this that would be great.

    -Hi on Helium

    P.S. I've googled "recast tut" "recast, detour, tut" "Recast and detour tutorial" and a couple other phrases along those lines but all google can find is the google page of recast, and stuff about setting tile(recasting tile)

    [Request] Recast n' Detour
  2. #2
    pendra's Avatar Active Member
    Reputation
    46
    Join Date
    Jul 2008
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There seem to be several projects on going using recast for WoW, do some searching on these forums and you'll find some info.

    As far as learning how recast works, get some OBJ files and load them into the RecastDemo program that comes with it and play with it, then look at the source code and try to understand how the demo program works. That will help you understand both C++ and recast at the same time.

    The older posts on Mikko's blog [digestung duck] will help to shed some light on his thinking, too, but play with the demo first so you have some context imo.

    Good luck.

  3. #3
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    As far as I know there are no tutorials, but the demo app is heavily commented. This library, like most content you will find referenced on this forum, is not targeted at beginners. It is assumed that you know C++ (or some other programming language) to serve as a foundation for the material presented here.
    Last edited by namreeb; 01-12-2010 at 03:41 AM.

  4. #4
    migrar's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm in pretty much the same place.
    I'm new to bot programming, but I got my bot up and running using waypoints. Now I try to implement a navigation mesh, as it's clearly the weak link in my bot.

    I have never used c++ before, but I managed to make a program that create the mesh and save it to a file, in a couple of hours coding (after spending more time than I'm proud of, just getting the project to work in Visual studio).

    There are no tutorials for recast and detour other than the sample comments, so I guess you are better of asking specefik questions.
    Here are a quick summery of the steps I took:

    -look at the included .obj files to see what input you need to generate the mesh.

    -create .obj files of the wow geometry, there are severel guides and source code to do this. I ran into two problems here:
    --You need to draw your triangles counter clockvise, so the normal points up.
    --You have to swich the Z and Y axis compared to wow coordinates.

    -Get the lates source code to work on your system.
    --It took me quite some time to get it running, mostly becouse I've never used Visual Studio C++ before. Once I got it running I added a method very similar to duDumpPolyMeshToObj to dump the mesh to a file.

    -Make a new project where the actual parsing is done.
    --I made a clean console project, and included recast, detour and debugtools. then I made a parser class. the parser class can be made pretty much by c/p the relevant code from the sample and Sample_SoloMeshSimple classes.


    This is basicly where I'm at now. My next step will be to try to implement a mesh from a single adt in my bot, and when/if I get that working I will begin to generate meshes for the rest of the world.

Similar Threads

  1. Path Generator – Recast/Detour and WowMapper – Step
    By RivaLfr in forum WoW Memory Editing
    Replies: 32
    Last Post: 05-13-2022, 05:38 AM
  2. Recast + Detour - Connecting tiles
    By Tanaris4 in forum WoW Memory Editing
    Replies: 12
    Last Post: 12-21-2011, 04:04 PM
  3. Pathing w/Recast + Detour - Potential issue - thoughts?
    By Tanaris4 in forum WoW Memory Editing
    Replies: 0
    Last Post: 12-12-2011, 10:41 AM
  4. Replies: 1
    Last Post: 12-12-2011, 02:31 AM
  5. [Link] C++ Recast/Detour Wrapper
    By Millow in forum WoW Memory Editing
    Replies: 11
    Last Post: 08-02-2011, 04:26 AM
All times are GMT -5. The time now is 02:10 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search