but0n / recastCLI.js

CLI tool & Node.js addon to generate navigation mesh
MIT License
49 stars 16 forks source link

Node.js addon result Error! #4

Closed but0n closed 6 years ago

but0n commented 6 years ago

Correct

image

Bad result

image

but0n commented 6 years ago

image

but0n commented 6 years ago

使用 rcMeshLoaderObj::load 直接读取文件能正常工作:

image

6217757 问题应该出在 rcMeshLoaderObj::readBuffer

but0n commented 6 years ago

但是readBuffer之前测试是正常的, See #1

but0n commented 6 years ago

https://stackoverflow.com/a/16639079/6940633 v8 string problem

but0n commented 6 years ago

f044732

v8 sucks 😠 image

but0n commented 6 years ago

image Looks good 👍

but0n commented 6 years ago

image

Store with vertices array offset, NOT line num

Jeremzzzz commented 2 years ago

Thanks