- Joined
- Jun 29, 2013
- Messages
- 1,929
- Reaction score
- 636
Is the chunk there? Yes. Is it loaded? No, it's out of the chunk loading range. Is the chunk at least X% full of blocks? Yes. Take the predominant hull color in that chunk and render the entire chunk as a smooth cube of that hull color. Don't bother trying to load the chunk. Just render its position as a 16x16x16 smooth cube.
Replace that smooth block with actual chunk loading when the chunk loads, not if the chunk fits the criteria for loading. Put that smooth chunk replacement code in with the actual chunk loading, or you'll end up with a lot of invisible ships at close range.
It'd make it a lot easier to do battle when the server stops sending chunk updates, or when you're near a massive titan, or whatever, and it allows you to get a visual idea of whatever other ships are in the area, and makes it easier to try to avoid collisions with invisible/unrenderable ships.
Replace that smooth block with actual chunk loading when the chunk loads, not if the chunk fits the criteria for loading. Put that smooth chunk replacement code in with the actual chunk loading, or you'll end up with a lot of invisible ships at close range.
It'd make it a lot easier to do battle when the server stops sending chunk updates, or when you're near a massive titan, or whatever, and it allows you to get a visual idea of whatever other ships are in the area, and makes it easier to try to avoid collisions with invisible/unrenderable ships.