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

Make the model warper write warped mesh data to disk #889

Open
adamkewley opened this issue Jun 17, 2024 · 1 comment
Open

Make the model warper write warped mesh data to disk #889

adamkewley opened this issue Jun 17, 2024 · 1 comment

Comments

@adamkewley
Copy link
Collaborator

The model warping UI currently performs the mesh warp in-memory for performance reasons (i.e. so that users can move the blending factor slider in the warping UI and get a fast response). However, this means that when the user clicks Warp Model in the UI the resulting model contains InMemoryMeshes that can't be feasily used outside of that particular session of OSC.

So what we need is to:

  • Continue performing mesh warps in-memory whenever the user is playing around in the model warping UI (so that they get fast feedback)
  • Have a write_meshes_to_disk option in the API that tells the model warper to write the mesh data to disk so that it can be linked by an OpenSim::Mesh rather than an osc::mow::InMemoryMesh
  • Make the explicit Warp Model button in the model warping UI use that option, so that the resulting warped model is OpenSim-compatible
@adamkewley
Copy link
Collaborator Author

Waiting on end-user feedback before closing this

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

No branches or pull requests

1 participant