Giter Club home page Giter Club logo

Comments (11)

tr7zw avatar tr7zw commented on September 22, 2024

Minecraft does a view frustum cull. So anything outside the screen gets skipped already.

from entityculling.

andreasdc avatar andreasdc commented on September 22, 2024

Are you sure? On f3 it shows that they are rendered.

from entityculling.

tr7zw avatar tr7zw commented on September 22, 2024

This mod doesn't touch the f3 numbers. Also, an easy way to check it: put a thousand mobs into a pen. Look at it, then look away. Even in vanilla, this works.

from entityculling.

andreasdc avatar andreasdc commented on September 22, 2024

image

from entityculling.

tr7zw avatar tr7zw commented on September 22, 2024

These numbers are incorrect in combination with other mods like iris or optifine, and are only meant to indicate that stuff is working correctly and the expected ratios. Like I said, just test it. Alternatively: bind the debug hotkey to toggle culling on/off on the fly, so check the fps difference.

from entityculling.

andreasdc avatar andreasdc commented on September 22, 2024

Ok, I'm back after some testing. Entities outside of the screen still lag. When you have entities behind a wall with entity culling I had around 150 fps, without I had around 60. Without the entities the fps are way higher.

from entityculling.

tr7zw avatar tr7zw commented on September 22, 2024

As I said, the screen is entirely unused by this mod. Vanilla Mc skips the rendering of entities behind you. This mod does some optimizations like not updating the animations of things that didn't render. But of, having a ton of entities is still more stuff to calculate, so it will have some inpact on the fps. Just less with this mod.

from entityculling.

andreasdc avatar andreasdc commented on September 22, 2024

Yes, but it still takes fps even when entities are outside of the screen/behind a wall.

from entityculling.

tr7zw avatar tr7zw commented on September 22, 2024

And? They still need to update, move, network packets, Mc needs to check rather they are I'm the screen space, this mod needs to check rather they have become visible. Still lots of calculations, and if your cpu is not that fast, you will still feel that with enough entities.

from entityculling.

andreasdc avatar andreasdc commented on September 22, 2024

There for sure is a way to optimize it, you don't need 1k entities to feel the lag, with 100 you already have fps drop.

from entityculling.

tr7zw avatar tr7zw commented on September 22, 2024

I can just repeat myself: Vanilla already does a good job, and EntityCulling cuts out as much as possible.
If 100 entities outside your view lag your game, that sounds like you are playing on hardware that is just too old/slow. I don't know what you want to hear from me^^

from entityculling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.