Help with 3D post processing example

Asked by Kieran on 2021-01-21

I am trying to determine a way to screen record or generate simulation videos. The open source 3D post processing example (http://www.yade-dem.org/doc/tutorial-examples.html) seems to implement the right idea ... however
qt.SnapshotEngine saves the images of the 3d view as it appears on the screen periodically, where I am hoping to simply capture the particle interactions during a simulation. I currently do not have a need to capture the simulation as it does in this file.

Capturing periodic simulation snapshots seems to be the best method of screen recording. This also seems to be the only way to capture simulations since I am not able to run dual commands from my VM terminal (I am a beginner Linux user, so this assumption might be incorrect).

Are there any suggestions/alternatives to capturing Yade simulations aside from the open source 3D post processing example?

Thanks!
Kieran

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
2021-01-21
Last reply:
2021-01-22
Jan Stránský (honzik) said : #1

Hello,

> since I am not able to run dual commands

what is "dual command"?

> seems to be the only way to capture simulations
> Are there any suggestions/alternatives ... ?

qt.SnapshotEngine is an option, if it is the best choice depends on your needs.
A more standard way is IMO to save simulation **data** (not just screenshot) and postprocess them separately.
Having data is "more valuable" then just an instant screenshots, you can export different results/images from one dataset.
E.g. you can save particle positions in a VTK format and postprocess them in Paraview [1].
There are other options for both file formats and postprocessing tool, but VTK/Paraview this is de facto standard (IMO).

cheers
Jan

[1] https://yade-dem.org/doc/user.html#id3

Can you help with this problem?

Provide an answer of your own, or ask Kieran for more information if necessary.

To post a message you must log in.