Closed woshizh951 closed 2 years ago
Hi @woshizh951
It appears to me that POVray does not provide CLI for Windows 10
(https://github.com/POV-Ray/povray/issues/227). The script above assumes POVray available on CLI, which is why you are getting an error.
Suggestion
.pov
file created: remove frames/diag
or frames/top
directory.included = ["C:\\Users\\mattia-lab\\Downloads\\PyElastica-master\\examples\\Visualization\\default.inc"]
python continuum_snake_render.py
. It is okay to get an error, as long as .pov
files are created properly. They should be created in the directory frames\diag
and frames\top
..pov
files on POVrayOn POVray windows, you can run batch-rendering by pressing alt-Q
After generating all the frames, you can combine images to make movie. We use moviepy
in the script to do so:
I am closing this issue. @woshizh951 Please feel free to reopen this issue or create a new one if you have further questions.
Thank you so much, i can render the simulation through you tutorial now.
Describe the bug I want to run the example of snake visualization, the scripting process is running correctly. However, when the rendering process begin, Some error occured. File "G:\study\pyelastica\PyElastica-master\examples\Visualization\ContinuumSnakeVisualization_povmacros.py", line 138, in render
To Reproduce
Environment
Expected behavior I hope to run the visualization correctly. And I would like to simulation the manipulation of deformable linear objects(cable) by the pyelastca, would you please give me some advice?
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.