Giter Club home page Giter Club logo

Comments (3)

slime73 avatar slime73 commented on June 9, 2024 1

GPU line drawing modes are have a bunch of their own problems - for example they have no antialiasing, no well-supported way to configure line widths, and the method that they use to draw (and therefore the exact pixels that they cover) is different depending on the GPU and graphics driver.

A lot of games and projects tend to use geometry (e.g. two triangles to make a quad) instead of GPU line drawing even when the latter is available, because of those issues. Does that definitely not work for your use cases?

from love.

heiyu17 avatar heiyu17 commented on June 9, 2024

thank you, now i get it, I don't have much knowledge of graphics, everything need to become triangles, even though line, or calculating it in shader to simulate, sorry for the inconvenience.

from love.

slime73 avatar slime73 commented on June 9, 2024

There's nothing to be sorry about, I just try to be thorough about making sure new love features are as useful and polished in practice as they appear at first glance. :)

I'm still open to adding this if you (or someone else) has example situations where its downsides matter less than its upsides.

from love.

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.