Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update to rerun 0.16.1 #30

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading