You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While sanitising the list of open issues, I noticed that setting a custom line width is no longer working.
Here is a simple snippet for displaying a line through a set of random points:
using Colors
using MeshCat
vis =Visualizer()
open(vis)
points = [rand(3) for _ =1:100]
pointcloud =PointCloud(points)
material =LineBasicMaterial(color=colorant"yellow", linewidth=8)
setobject!(vis, Object(pointcloud, material, "Line"))
which results in the following:
Notice how the width of the rendered line is 1 despite setting linewidth=8.
julia>versioninfo()
Julia Version 1.9.0
Commit 8e630552924 (2023-05-0711:25 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU:8× Apple M1
WORD_SIZE:64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
Threads:1 on 4 virtual cores
The text was updated successfully, but these errors were encountered:
I've included and exported Line2, LineMaterial, and LineGeometry in ferrolho/meshcat@8fdb46b, but I am not sure if that is the proper way to do it. And to be honest, I have no idea what to do next on the MeshCat.jl end... For example, I suppose we need to define a Julia struct for LineGeometry in src/geometry.jl, right?
While sanitising the list of open issues, I noticed that setting a custom line width is no longer working.
Here is a simple snippet for displaying a line through a set of random points:
which results in the following:
Notice how the width of the rendered line is
1
despite settinglinewidth=8
.The text was updated successfully, but these errors were encountered: