Giter VIP home page Giter VIP logo

Comments (7)

alexey-lysiuk avatar alexey-lysiuk commented on July 18, 2024

The lag depends greatly on particular hardware/OS/drivers combination.
For example, I'm experiencing delays like 100 ms using integrated Intel on macOS. And Apple's drivers are far from being the best.

At least 25 textures need to be processed and uploaded to video memory with every new blood variation which was not spawned yet on this map.
By the way do you have texture upscaling enabled? This option may increase processing times greatly.
Texture precaching (gl_precache CVAR) may also affect the delay as it's disabled by default.

There is no global textures precache list. For custom maps there is PrecacheTextures property in MAPINFO although I have no idea is it applicable to your mod.

from gzdoom.

coelckers avatar coelckers commented on July 18, 2024

About this: "Attempt to get invalid state Death from actor RBloodHitP10."

Your death state is just a 'stop', meaning the state is effectively not present. All the subclasses try to jump here but cannot find a valid death state. Either add a valid state after the 'death' label or change the 'goto death' to 'stop'.

from gzdoom.

coelckers avatar coelckers commented on July 18, 2024

Fixing this will require global Precache... entries in the gameinfo section in MAPINFO so that they get set for each map. On my system without scaling there is no lag. Even with 4x upscaling it's only very minor.

from gzdoom.

ammonita avatar ammonita commented on July 18, 2024

This seems not to work for me but I am not sure this is how PrecacheTextures is used.
adddefaultmap {

PrecacheTextures = "1P10A0", "1P10B0", "1P10C0", "1P10D0", "1P10E0", "1P10F0",
"1P10G0", "1P10H0", "1P10I0", "1P10J0", "1P10K0", "1P10L0",
"1P10M0" (...)

}

from gzdoom.

coelckers avatar coelckers commented on July 18, 2024

The usage is correct but this won't be added to the previously defined maps.
This will need an engine side fix where you can specify textures to be precached globally.

from gzdoom.

ammonita avatar ammonita commented on July 18, 2024

Ok. Thank you for the support.

from gzdoom.

coelckers avatar coelckers commented on July 18, 2024

Moved to Mantis tracker with a more specific title.

from gzdoom.

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.