Molecular graphics software is usually interactive.
But I am looking for a library or program that would be able to render a given molecule based on the commands from another program. I would like to give it a molecule description, the vantage point, options, etc, and it should produce the picture without opening any windows.
The input is the same data as contained in an XYZ file (or the file itself), the expected output is a 3D molecule drawing.
What is the easiest way to do this?