Skip to content

Commit

Permalink
fix: update to rerun 0.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ipuch committed Jun 5, 2024
1 parent 25bda55 commit 74aae3b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ We can rerun c3d files and display their original content.
And all also animate biorbd models from the pyomeca organization.

# Installation prerequisites
``` conda install -c conda-forge ezc3d rerun-sdk trimesh numpy biorbd pyomeca tk imageio imageio-ffmpeg```
``` conda install -c conda-forge ezc3d rerun-sdk=0.16.1 trimesh numpy biorbd pyomeca tk imageio imageio-ffmpeg```

Then, ensure it is accessible in your Python environment by installing the package:

Expand Down
2 changes: 1 addition & 1 deletion pyorerun/biorbd_components/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _set_rerun_mesh3d(self):
vertex_positions=self.__mesh.vertices,
vertex_normals=transformed_trimesh.vertex_normals,
vertex_colors=np.tile(self.__color, (self.__mesh.vertices.shape[0], 1)),
indices=self.__mesh.faces,
triangle_indices=self.__mesh.faces,
)

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion pyorerun/timeless/floor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def to_rerun(self) -> None:
vertex_positions=self.vertices,
vertex_normals=np.tile([0.0, 0.0, 1.0], reps=(self.vertices.shape[0], 1)),
vertex_colors=np.tile([144, 181, 198], reps=(self.vertices.shape[0], 1)),
indices=self.faces,
triangle_indices=self.faces,
),
)

Expand Down
2 changes: 1 addition & 1 deletion pyorerun/timeless/force_plate.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def to_rerun(self) -> None:
vertex_positions=self.vertices,
vertex_normals=np.tile([0.0, 0.0, 1.0], reps=(self.vertices.shape[0], 1)),
vertex_colors=np.tile([44, 115, 148], reps=(self.vertices.shape[0], 1)),
indices=self.faces,
triangle_indices=self.faces,
),
)

Expand Down

0 comments on commit 74aae3b

Please sign in to comment.