Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Debug Draw 3D (4.2.2+)

An asset by DmitriySalnikov
The page banner background of a mountain and forest
Debug Draw 3D (4.2.2+) thumbnail image
Debug Draw 3D (4.2.2+) thumbnail image
Debug Draw 3D (4.2.2+) hero image

Quick Information

0 ratings
Debug Draw 3D (4.2.2+) icon image
DmitriySalnikov
Debug Draw 3D (4.2.2+)

This is an add-on for debug drawing in 3D and for some 2D overlays, which is written in C++ and can be used with GDScript.= Features =3D:* Arrow* Billboard opaque square* Box* Camera Frustum* Cylinder* Gizmo* Grid* Line* Line Path* Line with Arrow* Plane* Points* Position 3D (3 crossing axes)* SphereOverlay:* Text (with grouping and coloring)Precompiled for:* Windows* Linux (built on Ubuntu 22.04)* macOS (10.15+)* Android (5.0+)* iOS* Web (Firefox is supported by Godot 4.3+)This addon supports working with several World3D and different Viewports.There is also a no depth test mode and other settings that can be changed for each instance.This library supports double-precision builds, for more information, see the Documentation -> Double Precision.= Examples and documentation =During installation, you can unpack the "examples_dd3d" folder and examine its contents or go to the online documentation via 'Project - Tools - Debug Draw - Open the Documentation'. A list of all functions is available in the documentation inside the editor.!! Restart the editor after installation! !!

Supported Engine Version
4.2
Version String
1.5.0
License Version
MIT
Support Level
community
Modified Date
28 days ago
Git URL
Issue URL

README icon

Debug drawing utility for Godot

This is an add-on for debug drawing in 3D and for some 2D overlays, which is written in C++ and can be used with GDScript.

Based on my previous addon, which was developed only for C# https://github.com/DmitriySalnikov/godot_debug_draw_cs, and which was inspired by Zylann's GDScript addon https://github.com/Zylann/godot_debug_draw

Godot 3 version

Support me

Your support adds motivation to develop my public projects.

README ko-fi

README paypal

qiwi

Features

3D Primitives:

  • Arrow
  • Billboard opaque square
  • Box
  • Camera Frustum
  • Cylinder
  • Gizmo
  • Grid
  • Line
  • Line Path
  • Line with Arrow
  • Points
  • Position 3D (3 crossing axes)
  • Sphere

Overlay:

  • Text (with grouping and coloring)
  • FPS Graph
  • Custom Graphs

Precompiled for:

  • Windows
  • Linux
  • macOS
  • Android

Download

To download, use the Godot Asset Library or download the archive by clicking the button at the top of the main repository page: Code -> Download ZIP, then unzip it to your project folder. Or use one of the stable versions from the GitHub Releases page (just download one of the "Source Codes" in assets).

Usage

  1. Copy addons/debug_draw_3d to your addons folder, create it if the folder doesn't exist
  2. Restart the editor

    README screenshot_1

    API

    A list of all functions is available in the documentation inside the editor. README screenshot_4

    Besides DebugDraw, you can also use Dbg3.

        DebugDraw.draw_box_xf(Transform3D(), Color.GREEN)
        Dbg3.draw_box_xf(Transform3D(), Color.GREEN)
    

    But unfortunately at the moment GDExtension does not support adding documentation.

    Known issues and limitations

    Enabling occlusion culing can lower fps instead of increasing it. At the moment I do not know how to speed up the calculation of the visibility of objects.

    The text in the keys and values of a text group cannot contain multi-line strings.

    The entire text overlay can only be placed in one corner, unlike DataGraphs.

    Frustum of Camera3D does not take into account the window size from ProjectSettings.

    The C# binding is not ready yet.

    More screenshots

    DebugDrawDemoScene.tscn in editor README screenshot_2

    DebugDrawDemoScene.tscn in play mode README screenshot_3

This is an add-on for debug drawing in 3D and for some 2D overlays, which is written in C++ and can be used with GDScript.

= Features =
3D:
* Arrow
* Billboard opaque square
* Box
* Camera Frustum
* Cylinder
* Gizmo
* Grid
* Line
* Line Path
* Line with Arrow
* Plane
* Points
* Position 3D (3 crossing axes)
* Sphere

Overlay:
* Text (with grouping and coloring)

Precompiled for:
* Windows
* Linux (built on Ubuntu 22.04)
* macOS (10.15+)
* Android (5.0+)
* iOS
* Web (Firefox is supported by Godot 4.3+)

This addon supports working with several World3D and different Viewports.
There is also a no depth test mode and other settings that can be changed for each instance.

This library supports double-precision builds, for more information, see the Documentation -> Double Precision.

= Examples and documentation =
During installation, you can unpack the "examples_dd3d" folder and examine its contents or go to the online documentation via 'Project - Tools - Debug Draw - Open the Documentation'.

A list of all functions is available in the documentation inside the editor.

!! Restart the editor after installation! !!

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Debug Draw 3D (4.2.2+) icon image
DmitriySalnikov
Debug Draw 3D (4.2.2+)

This is an add-on for debug drawing in 3D and for some 2D overlays, which is written in C++ and can be used with GDScript.= Features =3D:* Arrow* Billboard opaque square* Box* Camera Frustum* Cylinder* Gizmo* Grid* Line* Line Path* Line with Arrow* Plane* Points* Position 3D (3 crossing axes)* SphereOverlay:* Text (with grouping and coloring)Precompiled for:* Windows* Linux (built on Ubuntu 22.04)* macOS (10.15+)* Android (5.0+)* iOS* Web (Firefox is supported by Godot 4.3+)This addon supports working with several World3D and different Viewports.There is also a no depth test mode and other settings that can be changed for each instance.This library supports double-precision builds, for more information, see the Documentation -> Double Precision.= Examples and documentation =During installation, you can unpack the "examples_dd3d" folder and examine its contents or go to the online documentation via 'Project - Tools - Debug Draw - Open the Documentation'. A list of all functions is available in the documentation inside the editor.!! Restart the editor after installation! !!

Supported Engine Version
4.2
Version String
1.5.0
License Version
MIT
Support Level
community
Modified Date
28 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers