This is my first post with Hexo.
Hello World
Recast 学习记录之六:构建细节网格
序本文根据 Sample_SoloMesh::handleBuild 中的 Step 7. Create detail mesh which allows to access approximate height on each polygon 进行...Detour 学习记录之零:总览
序施工中… Recast 负责构建导航网格,而根据导航网格进行寻路就是 Detour 要做的事情了。 这篇文章主要讲一下 detour 的代码结构,navmesh 和 tile 如何组织,poly link 是什么关系,navmeshquery 和 ...Recast 学习记录之五:构建多边形网格
序本文根据 Sample_SoloMesh::handleBuild 中的 Step 6. Build polygons mesh from contours 进行源码解析。 函数 rcBuildPolyMesh 负责将前面得到的轮廓顶点集合转换为可...Recast 学习记录之四:构建轮廓
序本文根据 Sample_SoloMesh::handleBuild 中的 Step 5. Trace and simplify region contours 进行源码解析。 前面已经将高度场内的 span 都划分和标记了区域,这一步就是要给区域描...Recast 学习记录之三:划分区域
序本文根据 Sample_SoloMesh::handleBuild 中的 Step 4. Partition walkable surface to simple regions 进行源码解析。 前面 Recast 已经将三角形面体素化为了高度场,...Recast 学习记录之二:过滤可行走表面
序本文根据 Sample_SoloMesh::handleBuild 中的 Step 3. Filter walkables surfaces 进行源码解析。 前面 Recast 将三角形表面根据坡度进行了可行走性的标记,并将三角形进行了光栅化,转换...Recast 学习记录之一:三角形光栅化
序本文根据 Sample_SoloMesh::handleBuild 中的 Step 2. Rasterize input polygon soup 进行源码解析。 rcCreateHeightfield 创建高度场HeightField 和 spa...Detour 学习记录之一:创建 dtNavMesh
序施工中… 这边文章主要讲如何创建 navmesh,添加 tile 的细节流程,tile 内部 link、off-mesh link 的建立,tile 间 link、off-mesh 的建立。以及 navmeshquery 的初始化,其中的成员用处是...Detour 学习记录之二:findPath 寻路
序施工中… 这边文章主要讲如何利用 navmeshquery 和 dtNavMesh 进行寻路,主要是 A* 算法和 string pulling。 dtNavMeshQuery::findPathdtNavMeshQuery::findStraig...