Skip to content

[Bug] Edge Opacity #3461

@eskandarih

Description

@eskandarih

Bug description

The edge opacity doesn't work in vtk-js

Steps to reproduce

import pyvista as pv
cone = pv.Cone(height=1.6, radius=0.5, resolution=7, direction=(0.0, 1.0, 0.0))
plotter = pv.Plotter()
plotter.add_mesh(
    cone,
    color="red",
    show_edges=True,
    edge_color="black",
    edge_opacity=0.2,
    line_width=6,
)
plotter.export_html("edge_opacity_doesnt_work_in_vtk_js.html")

Detailed Behavior

Image

Expected Behavior

The edge opacity should be 0.2

Environment

  • vtk.js version: newest
  • Browsers: Chrome
  • OS: windows

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions