Marco Musy

Results 216 comments of Marco Musy

Sorry, I have overlooked this issue. Did you solve it in the meanwhile? I guess a safer way to do this sort of things is to use the `show(camera=...)` command....

sorry for the late reply, you may need to provide a minimal script to allow reproducing the issue, have you tried calling `plt.interactor.Start()`

Hi @vene thanks for reporting this, unfortunately vtk versions 9.1 seem to have problems with transparent object rendering, not sure if this has been fixed in v9.2, apart from this...

Hi Stephen, try with `pip install vtk==9.0.3` (the latest vtk seems to have some problems with the rendering of transparent objects)

hi thanks for reporting, that is very strange.. can you reproduce this: ```python import vtk source = vtk.vtkCubeSource() mapper = vtk.vtkPolyDataMapper() mapper.SetInputConnection(source.GetOutputPort()) actor = vtk.vtkActor() actor.SetMapper(mapper) actor.GetProperty().SetOpacity(0.5) renderer = vtk.vtkRenderer()...

OK. What about this: ```python import vtk import vedo actor = vedo.Cube().alpha(0.5) renderer = vtk.vtkRenderer() renderer.AddActor(actor) renderWindow = vtk.vtkRenderWindow() renderWindow.AddRenderer(renderer) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renderWindow) iren.Initialize() renderer.ResetCamera() iren.Start() ``` if so,...

i was suspecting that! this is what it does: https://en.wikipedia.org/wiki/Depth_peeling It's probably a graphics card issue, but i'm not sure, I guess you can live without it?

Hi, this is actually an interesting feature to be added to `vedo`, so it not currently implemented. You have to options at the minute: 1. use vtk directly: ```python #...

> Is there a flag for the maxdepth= parameter to consider the complete initial mesh? just choose a large number. Long time ago I did this (inspired by the famous...

Uhm since they have a "GroupIds" array you can also use `mesh.threshold()` to extract any parts, or split them normally with `splitByConnectivity()` as discussed above... not sure if answering your...