voxel / voxel-land

a terrain generator with grass, dirt, stone, and trees (addon for voxel-engine)
6 stars 2 forks source link

CulledMesh error #15

Open dyoxyne opened 10 years ago

dyoxyne commented 10 years ago

Hello,

I am trying to use voxel-land but I am having trouble to make it work.

I got this error : Uncaught TypeError: Cannot read property '0' of undefined in culled.js line 17

I installed all the dependencies and I am using voxel-engine 0.20.1.

Thank you.

lawik commented 9 years ago

I got this on the greedy mesher as well.

lawik commented 9 years ago

It seems that voxel-land does not use the normal meshing from voxel-engine and voxel/meshers. I'm currently trying to get voxel-mesher and dependencies (game-shell?) in to see if it works as it seems to be a more intended usage.

deathcap commented 9 years ago

voxel-land has to be used (iirc, haven't tested earlier but older versions might work) with the voxel-engine#ndarray branch

lawik commented 9 years ago

Okay, I had no idea about that. I'm having decent success with it modified for use with the greedy mesher in normal voxel-engine. Having some odd cases here and there though.