Skip to content

Antialiased circle/rectangle #375

Closed
Closed

Description

@madmaxio

Would you mind adding example for drawing antialiased circle/rectangle? It's interesting to see the approach.

Activity

  1. sotrh commented on Jul 2, 2022

    @sotrh
    Owner

    Are you talking about vector type graphics, or simply enabling multi-sampling?

  2. madmaxio commented on Jul 2, 2022

    @madmaxio
    Author

    I mean just drawing it with primitives, I found some examples from opengl/metal etc, they all say about smoothstep function.
    So it is about using primitves + smoothstep.

  3. madmaxio commented on Jul 2, 2022

    @madmaxio
    Author

    Here is an example of what I'm talking about, absolutelly briliant article imho, but it is about metal. But the content is exactly the same - primitive basics.
    https://www.warp.dev/blog/how-to-draw-styled-rectangles-using-the-gpu-and-metal

  4. sotrh commented on Jul 22, 2022

    @sotrh
    Owner

    Yeah I could probably do something like that with the signed distance field example I've been thinking of doing.

  5. madmaxio commented on Aug 6, 2022

    @madmaxio
    Author

    @sotrh I also need some wgpu related consulting on a payment basis, can you be up for this?

  6. sotrh commented on Aug 6, 2022

    @sotrh
    Owner

    @madmaxio what did you have in mind?

  7. madmaxio commented on Aug 6, 2022

    @madmaxio
    Author

    @sotrh I need to load and render a couple of gltf models with wgpu. So far I only succeeded with basic cube model. And also make a correct camera implementation.

  8. sotrh commented on Aug 7, 2022

    @sotrh
    Owner

    What do you mean by "correct camera implementation"? Also is there a better way I can contact you?

  9. madmaxio commented on Aug 7, 2022

    @madmaxio
    Author

    @sotrh Discord maximb 5928, or, drop your contacts.

  10. sotrh commented on Aug 31, 2022

    @sotrh
    Owner

    I sent you a friend request.

  11. Repository owner locked and limited conversation to collaborators on Oct 1, 2022
  12. converted this issue into a discussion #407 on Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions