Repository navigation
examples: live SDF deformation + zero-copy texture demos - #14
Merged
Merged
Conversation
Add two volrover3 Jobs-tab example scripts exercising the native mesh/image + zero-copy interop work: - volrover_live_sdf_deform.py: Stanford bunny -> pycvc.sdf -> volume, then mutate the voxel field in place each frame via the zero-copy numpy view (volume.grid()) and re-upload, so the SDF surface ripples and erodes live. - volrover_live_texture.py: a UV'd quad textured with a pycvc.image, whose pixels are edited in place each frame via the zero-copy numpy view (image.numpy()) + node.texture_modified(), so the mapped texture updates live with no per-frame copies. Guards for the Phase-5 pycvc.image/set_texture bindings and raises a clear message on older builds.
transfix
force-pushed
the
feat/live-deform-texture-examples
branch
from
July 26, 2026 09:25
799b265 to
557b9c1
Compare
transfix
added a commit
that referenced
this pull request
Jul 26, 2026
These two Jobs-tab demos (volrover_live_sdf_deform.py, volrover_live_texture.py) exercise general volrover3 embedded-Python capabilities (pycvc.sdf, pycvc.image, zero-copy interop), not GRL-SNAM lab functionality, so they belong with the other volrover example scripts under volrover3/scripts/examples/ (transfix/volrover#24) rather than here. Added in #14; relocating.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two volrover3 Jobs-tab example scripts exercising the native mesh/image + zero-copy interop work (roadmap §C).
volrover_live_sdf_deform.pyStanford bunny →
pycvc.sdf→ volume, then each frame mutates the voxel field in place through the zero-copy numpy view (volume.grid()) and re-uploads — the SDF surface ripples and erodes live and fast. Runs on the currently shipped bindings.volrover_live_texture.pyA UV'd quad textured with a
pycvc.image; each frame edits the texture pixels in place via the zero-copy numpy view (image.numpy()) +node.texture_modified()— the mapped texture updates live with no per-frame copies. This is the acceptance demo for the Phase-5pycvc.image/set_texturebindings (libcvc PR #156); it imports cleanly and raises a clear message on builds without those bindings.Both are pure additions under
examples/— no code changes.