Skip to content

Latest commit

 

History

History
115 lines (85 loc) · 3.87 KB

CHANGELOG.md

File metadata and controls

115 lines (85 loc) · 3.87 KB

Changelog

  • Drop Python 3.10 support
  • Add hash() support (e.g. after etree.spec_like).
  • Added: visu3d.math.rotation_utils.rot_to_rad.

[1.5.4] - 2023-11-23

  • Add use_hw_coords flag to interp_img.

[1.5.3] - 2023-06-29

  • Fix etils import error.

1.5.2 - 2023-06-29

  • Fix import error in Python 3.11
  • Now require Python 3.9 (drop 3.8 support)

1.5.1 - 2023-03-20

  • Add torch==2.0.0 support

1.5.0 - 2023-03-13

  • Add torch support! (Fix #12)
  • v3d.math:
    • Fixed: .ndim attribute error when using @tf.function
  • Breaking: @dataclass(frozen=True) is now automatically applied

1.4.0 - 2023-01-16

  • DataclassArrays:
    • Added: v3d.Spec360 camera spec to support 360 videos.
  • v3d.math:
    • Added: v3d.math.interp_img
    • Added: v3d.math.carthesian_to_spherical and v3d.math.spherical_to_carthesian
  • Visualization:
    • Added: v3d.make_fig supports v3d.make_fig(a, b, c) (in addition of v3d.make_fig([a, b, c]))
    • Added: v3d.fig_config.cam_scale to globally control the size of the cameras.
    • Changed: Do not add 0 suffix in the figure labels (for the first element)
    • Fixed: v3d.make_fig(pts, num_samples_point3d=None) works (previously the argument had no effect).
  • Fixed: Subsampling for displaying simple np.array point clouds (regression from previous release).

1.3.0 - 2022-10-17

Added

  • v3d.math to expose:
    • Rotation utils (convert from/to rotation matrix)
    • Subsampling util (v3d.math.subsample)
    • Interpolation util (v3d.math.interp_points)
  • DataclassArray now supports dynamic shape fields (shape with None), like Array[..., None, None].
  • More trace customization options:
    • All v3d.DataclassParams objects now have a .fig_config property (customizable with obj = obj.replace_fig_config(**options)).
    • Automatic subsample customizable with points.replace_fig_config(num_samples=10_000).
    • Object names displayed in plotly are customizable using points.replace_fig_config(name='My point cloud').
    • v3d.fig_config.num_sample_xyz = 123 to overwrite the default number of sampled rays, points,... (None for no subsampling)
  • DataclassArray.__dca_params__ can be set to v3d.DataclassParams to configure the dataclass options.

Changed

  • v3d dataclass array implementation has been moved to it's independent dataclass_array package.
  • Any object implementing the .make_traces protocol is not visualizable by v3d.make_fig. No need to inherit v3d.Visualizable anymore.
  • Support more complex DType (FloatArray,... accept bfloat16, float64,...).

Fixed

  • Translation by subtraction (ray - np.array([0, 0, 0])) now works
  • FigConfig property (cam.fig_config,...) works correctly for batched camera.

1.2.0 - 2022-05-27

Changed

  • Camera are now displayed with a complete frame.

1.1.0 - 2022-05-13

  • Normalize look_at by default