How to use in external projects itowns debugging tools ? #2061
Replies: 3 comments 9 replies
-
I totally agree with your observation as we also need debug (3D Tiles) tools. My opinion is that we should publish it as a separate npm package (and I think we should do the same for widgets but this is another topic ^^). |
Beta Was this translation helpful? Give feedback.
-
Is anything scheduled for the realization of this matter ? Because it doesn't seem to be part on the roadmap. |
Beta Was this translation helpful? Give feedback.
-
It has not been planed yet. You can also check the items we plan to work on for [the next version]https://github.com/orgs/iTowns/projects/3) contains the items for the next version (scheduled soon). It is updated for the following version at each release. There is also a Roadmap project but it (sadly) does not yet contains all the items we plan to work on and it is not updated regularly enough yet too. We have to improve that. Would you be interested to participate in the implementation of this issue? |
Beta Was this translation helpful? Give feedback.
-
In our project ud-viz we need debugging tools, and particularly 3DTiles. We have developed a DebugTool but itowns has dedicated debugging tools. Sounds like we are doing the same thing twice (wasting resources to maintain our code + we cannot contribute to itowns ones).
The problem is that itowns does not expose its debugging tools as they are though to be use only in itowns project.
I tried to export a transpiled version of utils/debug/Main.js in package.json but the code transpiled is pointing to src folder... I tried then to bundle it and then use it directly in html but its require to have itowns as global variable (+ dat.GUI)...
Easiest solution could be to do the same way as widgets.
Another could be to do a separate npm package dedicated.
This imply to:
Note: I also tried when ud-viz was pointing to itowns folder locally to webpack directly pointing to the src but our webpack cant pack glsl files.
What's your opinion on this ?
Beta Was this translation helpful? Give feedback.
All reactions