GithubHelp home page GithubHelp logo

Comments (9)

lhecker avatar lhecker commented on September 25, 2024 1

I'm aware about this technique but my understanding is that it's significantly slower than using a glyph atlas. The reason games use mesh shaders (or the more venerable, but patented Slug library) is because games require text to be drawn in a size according to their distance to the camera. Do you disagree? Are mesh shaders actually faster for our use case?

from terminal.

lhecker avatar lhecker commented on September 25, 2024 1

I'll be closing this issue for now. The good news is that I do have future improvements in mind when it comes to text rendering: In particular, I'm hoping to one day implement a "tiled deferred shading" renderer with a compute shader. The reason I didn't chose this approach for the current AtlasEngine is because this app needs to work reasonably well on some particularly bad hardware. Older Intel iGPUs don't have good support for compute shaders, but I'm worried that this is most of our users.

Yes, I'm using it, and if I switch to Direct2D, the stuttering improves, but there is still a slight stutter.

Do you by any chance use an Intel GPU?

from terminal.

github-actions avatar github-actions commented on September 25, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

from terminal.

Andarwinux avatar Andarwinux commented on September 25, 2024

I don't know anything about the low-level details of this 😅, you certainly know more about it than I do. But I was extremely impressed with the original WebGL demo of this, zooming and panning without any stuttering. Windows Terminal only achieves the same smoothness when scrolling vertically via trackpad.

from terminal.

lhecker avatar lhecker commented on September 25, 2024

Wow yeah that demo is definitely really cool, especially when using Alt+Mouse. The author does note though:

This technique is harder on the GPU than atlas textures but avoids the need to use the CPU to render at runtime when a required glyph size is missing.

Since we mostly scroll text if anything, and don't really zoom or scale a lot, I think atlases may still have the best performance.

Windows Terminal only achieves the same smoothness when scrolling vertically via trackpad.

Do you mean to say that zooming is slow/stuttery for you? If so, I'm assuming this is when you use the newer AtlasEngine text renderer, right?

from terminal.

Andarwinux avatar Andarwinux commented on September 25, 2024

Do you mean to say that zooming is slow/stuttery for you? If so, I'm assuming this is when you use the newer AtlasEngine text renderer, right?

The AtlasEngine option disappeared in WT Canary, I guess Direct3D11 is the AtlasEngine. Yes, I'm using it, and if I switch to Direct2D, the stuttering improves, but there is still a slight stutter.

from terminal.

Andarwinux avatar Andarwinux commented on September 25, 2024

Do you by any chance use an Intel GPU?

I'm using RTX3080. Intel UHD750 is laggy running anything on 4K monitors.

from terminal.

lhecker avatar lhecker commented on September 25, 2024

Do you use G-SYNC? If so, what happens if you disable that?

from terminal.

Andarwinux avatar Andarwinux commented on September 25, 2024

Do you use G-SYNC? If so, what happens if you disable that?

I disabled GSYNC, enabled it on only makes it worse.

from terminal.

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.