Coder Social home page Coder Social logo

Comments (4)

DmitriySalnikov avatar DmitriySalnikov commented on June 1, 2024

This is expected, because in order to draw graphics, it needs to be added to some of the worlds. By default, the world of the root of the game is used.

I already have a method that changes the world for all meshes, but only 1 world can be selected. This method only needs to be exposed.

At the moment, a separate mesh is being created for each shape, there are 19 in total. +1 for lines. There is also a division into _process and _physics_process. That is, (19 + 1) * 2 meshes are created for one world.

I think it's not very difficult to add support for other worlds, but it will probably reduce performance a little more. And somehow you need to specify the world in which to draw (scoped configs are most likely).

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on June 1, 2024

I have added the ability to change World3D for the entire geometry. You can check how set_world_3d_from_viewport works using binaries from here.

The next goal is to be able to render to multiple Worlds at the same time, but I'm not completely sure how this will be implemented.

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on June 1, 2024

godot windows editor dev x86_64 mono_sxaI5oAoGT
more edits are needed, but the main part is already working.

from godot_debug_draw_3d.

DmitriySalnikov avatar DmitriySalnikov commented on June 1, 2024

fixed #42

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.