Thanks!
I'm trying a few things but it difficult for me without real knowledge of exactly what all the parameters do.
Here's what I did :
- cloned Sample_SoloMesh class from recast demo
- in the HandleBuild(), removed the whole "Step 2. Rasterize input polygon soup." part. Instead I randomly generate either passing tiles (height = 0) or blocking tiles (height = 1), in the rcHeightfield data
- launched Recast Demo
- set Cell Size to 1 : this gives me 60x60 voxel grid
- hit build
- the voxel data generated is basically the kind of input I want to work with, so that's ok ( img :
http://imgur.com/KHr2dZi,H8kB6XA)
- however the nav mesh generated is really inprecise (img :
http://imgur.com/KHr2dZi,H8kB6XA#1)
can someone please shed some light on this ? I assume I recuce the resolution of the navmesh a lot when I set the CellSize to 1 ( = 60x60 voxels)
How can I fix this ? Ideally I'd like to keep my 60x60 voxel input because it's closer to what data I'll actually have