Skip to content

Conversation

@apapaion
Copy link

This is a request that provides mainly K3D support in menpo3d. Some new functionalities have also been added.
Specifically:
Major changes:

  • K3D-Jupyter support. A new way to visualize 3D objects in Jupyter. This functionality depends on K3D-Jupyter package but we get rid off mayavi and we can support headless servers. In a similar way with mayavi support, a viewk3dwidgets.py has been added.
  • menpowdidgets.py has been added. A lot of code was copied from menpowidgets package to support 3DMM.
  • decimate_mesh was added in vtkutils as it uses vtk.
  • Some more functions on meshes can be found on spirals
  • Setup has been changed to make remove mayavi from dependencies and adding vtk, k3d and scikit-sparse(for registration). Also jedi 0.17.2 was added which is not a dependency but there are some issues with ipython 7.18 and 7.19.
    Minor changes
  • An Introduction_to_K3D_Widgets notebook has been added. Useful if there is a 3DMM available.

apapaion and others added 30 commits July 13, 2018 15:30
…aph)

- Add checks for figure_id
- Automatic naming for nonename figure_id
- Update introduction notebook
- Use K3D and LinearModelParametersWidget from menpowidget
- Support of landmarks in shape model
…owidgets if someone wants to view the models
…nstall it manually. As a consequence, we had to add dependency on vtk.
Thanos and others added 30 commits October 13, 2020 10:15
…lse and the figure_id does not exist, then we raise an exception
…lected_values is casted as numpy.arrays with type float32 in render_function in K3dwidgetsPCAModelViewer3d
…he distance from the mesh and z-axis is towards us. Ref menpo#4
…s. Default value is wireframe with opacity 0.3. Other option is surface. menpo#7
- K3dwidgetIdentity has a list of figure_ids and a dictionary
  with keys figure_id and values model_id.
- If a figure does not have a figure_id and new_figure is false,
  then we check the list of figure_ids. If empty, we raise an exception.
  Otherwise, we plot in the last figure of figure_id.

Address in part Issue menpo#6
- Add rgbint function
- K3dwidgetsPointGraphViewer3d supports colours for each point
- K3dwidgetsPointGraphViewer3d will use as a shader the 3dSpecular
  if the number of points is greater than 1000
- Create  menpowidgets.py where LinearModelParametersWidget
  is defined (copy from menpowidgets package)
- Modify viek3dwidgets to call LinearModelParametersWidget
  from the abovementioned file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant