Skip to content

Setting a custom line width is no longer working #246

@ferrolho

Description

@ferrolho

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:

image

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-07 11: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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions