viz::Path and viz::Line are only drawn as single pixel line, i.e. do not consider with / lineWidth parameter
I recently added an example usage for viz::Path
and viz::Line
in to the ArViz example: https://gitlab.com/ArmarX/RobotAPI/-/merge_requests/263.
See an example image for Coin in that MR.
In ArViz Godot, they currently look like this (two left in magenta and lime, the two right ones are cylinders + spheres)
The client sets a width of 10
, which should somehow be respected.
In Coin, path and line are 2D OpenGL objects, as far as I know, so they do not scale when zooming. That makes them appear bigger and smaller depending on zoom, so this might not be optimal.
How could we do that in Godot?
Edited by Rainer Kartmann