diff --git a/src/main/java/me/cortex/voxy/client/TimingStatistics.java b/src/main/java/me/cortex/voxy/client/TimingStatistics.java index bd66d84c..f12a7b51 100644 --- a/src/main/java/me/cortex/voxy/client/TimingStatistics.java +++ b/src/main/java/me/cortex/voxy/client/TimingStatistics.java @@ -4,7 +4,7 @@ import java.lang.invoke.VarHandle; import java.util.ArrayList; public class TimingStatistics { - public static double ROLLING_WEIGHT = 0.975; + public static double ROLLING_WEIGHT = 0.96; private static final ArrayList allSamplers = new ArrayList<>(); public static final class TimeSampler { private boolean running; diff --git a/src/main/java/me/cortex/voxy/client/core/VoxyRenderSystem.java b/src/main/java/me/cortex/voxy/client/core/VoxyRenderSystem.java index 714e9b24..f520b35a 100644 --- a/src/main/java/me/cortex/voxy/client/core/VoxyRenderSystem.java +++ b/src/main/java/me/cortex/voxy/client/core/VoxyRenderSystem.java @@ -211,7 +211,7 @@ public class VoxyRenderSystem { this.renderDistanceTracker.setCenterAndProcess(cameraX, cameraZ); //Done here as is allows less gl state resetup - this.renderer.tickModelService(4_000_000-(System.nanoTime()-startTime)); + this.renderer.tickModelService(5_000_000-(System.nanoTime()-startTime)); } glBindFramebuffer(GlConst.GL_FRAMEBUFFER, oldFB); diff --git a/src/main/java/me/cortex/voxy/client/core/rendering/RenderService.java b/src/main/java/me/cortex/voxy/client/core/rendering/RenderService.java index 1c221833..9497d1b0 100644 --- a/src/main/java/me/cortex/voxy/client/core/rendering/RenderService.java +++ b/src/main/java/me/cortex/voxy/client/core/rendering/RenderService.java @@ -140,8 +140,9 @@ public class RenderService, J extends Vi this.sectionUpdateQueue.consume(128); - if (this.modelService.getProcessingCount() < 750) {//Very bad hack to try control things - this.geometryUpdateQueue.consumeNano(1_500_000 - (System.nanoTime() - frameStart)); + //if (this.modelService.getProcessingCount() < 750) + {//Very bad hack to try control things + this.geometryUpdateQueue.consumeNano(2_000_000 - (System.nanoTime() - frameStart)); } this.nodeCleaner.tick(this.traversal.getNodeBuffer());//Probably do this here??