Skip to content

Conversation

@apapaion
Copy link

This is a request that provides mainly K3D support in menpo3d.
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.

Minor changes
An Introduction_to_K3D_Widgets notebook has been added. Useful if there is a 3DMM available.

Thanos added 30 commits November 18, 2021 18:54
…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
…nts are now casted as np.float32 in the initialization.
…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
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