other
This commit is contained in:
@@ -4,7 +4,7 @@ import java.lang.invoke.VarHandle;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class TimingStatistics {
|
public class TimingStatistics {
|
||||||
public static double ROLLING_WEIGHT = 0.975;
|
public static double ROLLING_WEIGHT = 0.96;
|
||||||
private static final ArrayList<TimeSampler> allSamplers = new ArrayList<>();
|
private static final ArrayList<TimeSampler> allSamplers = new ArrayList<>();
|
||||||
public static final class TimeSampler {
|
public static final class TimeSampler {
|
||||||
private boolean running;
|
private boolean running;
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ public class VoxyRenderSystem {
|
|||||||
this.renderDistanceTracker.setCenterAndProcess(cameraX, cameraZ);
|
this.renderDistanceTracker.setCenterAndProcess(cameraX, cameraZ);
|
||||||
|
|
||||||
//Done here as is allows less gl state resetup
|
//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);
|
glBindFramebuffer(GlConst.GL_FRAMEBUFFER, oldFB);
|
||||||
|
|||||||
@@ -140,8 +140,9 @@ public class RenderService<T extends AbstractSectionRenderer<J, ?>, J extends Vi
|
|||||||
|
|
||||||
this.sectionUpdateQueue.consume(128);
|
this.sectionUpdateQueue.consume(128);
|
||||||
|
|
||||||
if (this.modelService.getProcessingCount() < 750) {//Very bad hack to try control things
|
//if (this.modelService.getProcessingCount() < 750)
|
||||||
this.geometryUpdateQueue.consumeNano(1_500_000 - (System.nanoTime() - frameStart));
|
{//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??
|
this.nodeCleaner.tick(this.traversal.getNodeBuffer());//Probably do this here??
|
||||||
|
|||||||
Reference in New Issue
Block a user