Giter VIP home page Giter VIP logo

Comments (7)

DmitriySalnikov avatar DmitriySalnikov commented on May 28, 2024 2

In this addon, I just draw wireframes that the engine displays with a thickness of 1 pixel at any resolutions. So I'm not sure if anti-aliasing will help.


It looks a little better with anti-aliasing, but I can't check it in 4K or even 1440p.

No AA:
image

MSAA 8x:
image

TAA:
image

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on May 28, 2024

I think this relates to #3


Is the editor interface also very thin in 4K? (when selecting 3d nodes, for example)

from godot_debug_draw_3d.

kitbdev avatar kitbdev commented on May 28, 2024

Using anti-aliasing on the lines should fix this and would allow for the lines to stay the same size. For reference I'm thinking of this

from godot_debug_draw_3d.

kitbdev avatar kitbdev commented on May 28, 2024

Possibly related: godotengine/godot#37016
Is this in Vulkan or the Compatibility OpenGL renderer?
I'm also curious what the 3D scene view looks like at 4k, does the grid there have the same issues?

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on May 28, 2024

Does this version look better (in terms of visibility)? Link to my personal server (Chromium only)
In this demo, all meshes are replaced with volumetric ones with a thickness of 0.1.

Unlike the usual wireframe lines, which are always rendered as 1px, these meshes change their size depending on the distance.
image

There are still distortion issues right now (with certain transformations), and I don't know if I can fix it.

And I have not decided how to change the API so that it is possible to switch to regular or volumetric models. Add another parameter to all draw_* methods? Or call another method before draw_*, for example set_line_thickness?

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on May 28, 2024
godot.windows.editor.dev.x86_64.mono_WkVTn0jFnz.mp4

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on May 28, 2024

Fixed in f96700b

from godot_debug_draw_3d.

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.