ShapeWorks icon indicating copy to clipboard operation
ShapeWorks copied to clipboard

Subcommand to visualize particles updates given a saved model

Open sheryjoe opened this issue 4 years ago • 8 comments

If the user saved the particle system over iterations, e.g., run on a server, this subcommand/API should provide the user to visualize saved particle updates to trouble shoot correspondence optimization.

sheryjoe avatar Jun 16 '20 00:06 sheryjoe

Does this mean that we launch Studio?

akenmorris avatar Jun 16 '20 01:06 akenmorris

I think so. It would be redirecting Studio to get particle updates from saved checkpoints for visualization. I think implementing this outside Studio would entail duplicate viz functionality. Other thoughts?

sheryjoe avatar Jun 16 '20 01:06 sheryjoe

Wait, how does a remote server fit into this? We need network communication?

akenmorris avatar Jun 16 '20 01:06 akenmorris

do you mean cloud? or if the user ran his optimization on a server? For this issue, we assume that the input is an (accessible) path where shapeworks optimize results were saved.

sheryjoe avatar Jun 16 '20 01:06 sheryjoe

I see. So you mean you want to monitor a folder for changes being made by another shapeworks process, potentially on a different machine.

akenmorris avatar Jun 16 '20 01:06 akenmorris

No. Assume that the user has already optimized a shape model while keeping checkpoints and saving them to the shapeworks output folder (using the keep_checkpoints xml tag). This command just visualizes particles saved at these checkpoints, i.e. retrospectively visualizing particles updates, rather than life updates in Studio. Does this make sense?

sheryjoe avatar Jun 16 '20 01:06 sheryjoe

Oh, I see, yes. Cool. I’ve been thinking about adding a history slider to let you go back and forth through the optimization.

akenmorris avatar Jun 16 '20 01:06 akenmorris

Yep. Exactly. This will also help a user who needs a hefty machine to optimize the model using batch processing (command line optimize) but also need a way to troubleshoot the correspondence optimization process offline.

sheryjoe avatar Jun 16 '20 02:06 sheryjoe