Skip to content

[MISC] Migrate to native Python API for 'splashsurf'.#1531

Merged
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa:native_splashsurf
Aug 10, 2025
Merged

[MISC] Migrate to native Python API for 'splashsurf'.#1531
duburcqa merged 1 commit intoGenesis-Embodied-AI:mainfrom
duburcqa:native_splashsurf

Conversation

@duburcqa
Copy link
Collaborator

@duburcqa duburcqa commented Aug 9, 2025

Description

Related Issue

Resolves #1523
Resolves #1524

Motivation and Context

How Has This Been / Can This Be Tested?

Screenshots (if appropriate):

Checklist:

  • I read the CONTRIBUTING document.
  • I followed the Submitting Code Changes section of CONTRIBUTING document.
  • I tagged the title correctly (including BUG FIX/FEATURE/MISC/BREAKING)
  • I updated the documentation accordingly or no change is needed.
  • I tested my changes and added instructions on how to test it for reviewers.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@duburcqa duburcqa requested a review from YilingQiao as a code owner August 9, 2025 19:22
@duburcqa duburcqa force-pushed the native_splashsurf branch from ef8c968 to 716fb4f Compare August 9, 2025 23:22
@duburcqa duburcqa enabled auto-merge (squash) August 9, 2025 23:23
@duburcqa duburcqa merged commit fe3bd62 into Genesis-Embodied-AI:main Aug 10, 2025
18 checks passed
@duburcqa duburcqa deleted the native_splashsurf branch August 12, 2025 01:53
YilingQiao pushed a commit to YilingQiao/Genesis that referenced this pull request Aug 22, 2025
@w1th0utnam3
Copy link

@duburcqa It will probably not make a big difference but I would recommend you to use

vertices, triangles = mesh_with_data.take_mesh().take_vertices_and_triangles()

to move the data out of the mesh (here: (https://github.com/duburcqa/Genesis/blob/70ae3d0d65e96b74bc36ceb1a76e905f541e7edf/genesis/utils/particle.py#L352)) - this avoids a copy which is otherwise necessary at the moment for the getters. I will probably rename/replace the getters in the future to make this more obvious.

@duburcqa
Copy link
Collaborator Author

@w1th0utnam3 Thank you! I will do this 👍

winnieyangwannan pushed a commit to winnieyangwannan/Genesis that referenced this pull request Sep 14, 2025
Kashu7100 pushed a commit to Kashu7100/Genesis that referenced this pull request Jan 26, 2026
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.

[Bug]: 'trans_quat_to_T' exception when passing integer arrays [Feature]: Improve support of 'splashsurf'

3 participants