zukonake / lux-client

2 stars 0 forks source link

Frustrum culling #7

Closed zukonake closed 6 years ago

zukonake commented 6 years ago

Culling chunks that are not visible could give some performance gain.

zukonake commented 6 years ago

Implemented in 59aed28f30b6b1f24fd848418fe4e48d490ad975, gives substantial performance gain, but is a bit unfinished, since it can skip visible chunks, thus the issue is not closed.

zukonake commented 6 years ago

Additionally the bounding box of a chunk is not computer properly, sides are smaller by 1.

zukonake commented 6 years ago

b625521b4af581638230e94347beb0bc71f00f06 fixes the skipping, but now the chunks are culled without regard for player fov.

zukonake commented 6 years ago

irrelevant with new engine