PorkStudios / FarPlaneTwo

Level-of-Detail renderer in Minecraft. Allows for render distances of millions of blocks. (Cubic Chunks-compatible) (WIP)
https://daporkchop.net/
Other
1.45k stars 48 forks source link

Async ViewDistance - Sentence #50

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi, I have a cool idea! Your plugin generates chunks, but if you can implement visibility like this plugin, it will be a breakthrough!

https://www.spigotmc.org/resources/fartherviewdistance.84950/

I would really like to see a similar implementation for 1.17 for my future Fabric server.

NotStirred commented 3 years ago

Define "visibility". fp2 is an LOD renderer, the server is the only one generating and holding onto the LOD data, it just updates the clients as they move

ghost commented 3 years ago

Define "visibility". fp2 is an LOD renderer, the server is the only one generating and holding onto the LOD data, it just updates the clients as they move

Eh, if only someone could implement something like that...

NotStirred commented 3 years ago

If you want more information you're going to need to give more information, or ask another question. What do you mean by Async ViewDistance anyway?

DaMatrix commented 3 years ago

the plugin you linked simply loads more chunks without ticking them, allowing you to see further without making server ticks significantly slower. while that's a neat idea, it has absolutely no relevance to FarPlaneTwo. the whole idea behind FarPlaneTwo is to be able to see the chunks' shape without having them loaded, as the overhead caused by loading chunks is non-linear in relation to the render distance.

in response to your initial comment: FarPlaneTwo generates chunks, yes. but it's not supposed to: the only time chunks will be generated is as a last resort if all other optimizations fail.