Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just one chunk ? #9

Closed
rom1504 opened this issue Jan 19, 2016 · 4 comments
Closed

Just one chunk ? #9

rom1504 opened this issue Jan 19, 2016 · 4 comments
Labels

Comments

@rom1504
Copy link

rom1504 commented Jan 19, 2016

It seems the world is not only flat but it is also small and you fall at the borders borders

Is it what's supposed to happen ? How do I make it work with an infinite world ?

@deathcap
Copy link
Member

Are you seeing this with the latest http://voxel.github.io/voxel-example/ (updated yesterday)? Recently changed to use this new example generator: https://github.com/voxel/voxel-flatland - it's supposed to generate solid chunks infinitely in each direction (X,Z and Y<=0)

@rom1504
Copy link
Author

rom1504 commented Jan 19, 2016

Yes, I tried today, I'm seeing this with the latest commits. (also seeing this in http://voxel.github.io/voxel-example/)
when I move toward the border I see the next chunk appear then disapear a few ms later.

(and I'm doing https://github.com/rom1504/voxel-prismarine-world based on this example, which works, but I have the same problem as in this issue)

Edit: could this be related to this computer not having a real GPU ? I'll try with an other computer

edit2: nope, seeing the same thing on another computer, with both chrome and firefox

@deathcap
Copy link
Member

Alright I'm able to reproduce this issue. The engine is actually displaying multiple chunks (which are 32x32x32), but it fails to show new chunks for some reason. What's weird is the problem does not occur with http://voxelmetaverse.com/ (which uses voxel-land, but it still doesn't occur if I disable land and load voxel-flatland instead), but it does with voxel-example, both using voxel-flatland and voxel-land. Will have to isolate how and where this broke.

screen shot 2016-01-19 at 8 41 06 pm

@deathcap
Copy link
Member

Got to the bottom of this, it's a conflict between the two modes of the engine's chunk generation. voxel-flatland (and voxel-land) must have generateChunks: false set in the voxel-engine-stackgl options. This is documented in voxel-land but wasn't in voxel-flatland; fixed in voxel/voxel-flatland@23f1198, and it was missing in voxel-example, fixed in 54132ec (also published updated http://voxel.github.io/voxel-example/).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants