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

Storing Surface Painter output #22

Closed
csverma610 opened this issue May 14, 2019 · 3 comments
Closed

Storing Surface Painter output #22

csverma610 opened this issue May 14, 2019 · 3 comments

Comments

@csverma610
Copy link

Hello Marco,

How can we store the colors painted on a model using surface_painter tool?

Regards

@mlivesu
Copy link
Owner

mlivesu commented May 14, 2019

Hi,
the surface painter acts on per vertex colors, which are currently not stored in any of the file formats supported by cinolib. One way to do it would be to transform those values in a cinolib::ScalarField, and use serialize()/deserialize() to save them on a text file, and re-load them whenever needed

@mlivesu mlivesu closed this as completed May 16, 2019
@mlivesu mlivesu reopened this May 16, 2019
@csverma610
Copy link
Author

csverma610 commented May 16, 2019 via email

@mlivesu
Copy link
Owner

mlivesu commented May 17, 2019

Sorry but there are no attached files in your message.
Also note that this thread you opened is about the surface painter (?)
It's difficult to follow the logic of your messages...

@mlivesu mlivesu closed this as completed Sep 4, 2019
francescozoccheddu pushed a commit to francescozoccheddu/cinolib that referenced this issue Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants