Comments (7)
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.
from godot_debug_draw_3d.
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.
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.
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.
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.
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.
godot.windows.editor.dev.x86_64.mono_WkVTn0jFnz.mp4
from godot_debug_draw_3d.
Fixed in f96700b
from godot_debug_draw_3d.
Related Issues (20)
- [Bug]: Not working with Godot 4.1 RC1/2/3 HOT 22
- [Bug]: DebugDraw.draw_grid generates an error on Godot 4.0 HOT 2
- [Feature Request]: Web/WASM Support HOT 2
- API documents seems not work? HOT 4
- [Bug]: Duration in set_text doesn't seems to work HOT 2
- C# bindings generator HOT 8
- [Feature Request]: iOS Support HOT 4
- [Bug]: weird constant high gpu usage anywhere in the editor HOT 8
- [Feature Request]: Drawing Planes HOT 4
- [Bug]: Macos Arm64 Support HOT 22
- [Bug]: Can't Draw In Viewports that use thier own worlds HOT 4
- [Feature Request]: DebugDraw2D should be visible on 2D viewport too HOT 6
- [Bug]: Rotation of DebugDraw3D.DrawBox() draws a warped/flattened box. HOT 5
- [Bug]: DebugDrawDefaultCanvas Control Node filters mouse input HOT 2
- [Bug]: DrawCylinder radius results in cylinders that are 2x as wide as they should be. HOT 2
- [Bug]: HOT 9
- [Feature Request]: Provide source code for the telemetry module HOT 3
- [Feature Request]: Set Render priority HOT 13
- [Feature Request]: Statically link libgcc and libstdc++ on linux HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot_debug_draw_3d.