There is a bit more to it.
Generally LDView will use the settings last used when it was fired up. So, in theory you can have "Random Color" instructions or wireframes.
On the other hand it has a set of hard coded parameters it uses to address LDView, see renderCSI and renderPLI in the file "render.cpp" for those.
The documentation of LDView has an extensive section to explain the arguments you can hand over.
Generally LDView will use the settings last used when it was fired up. So, in theory you can have "Random Color" instructions or wireframes.
On the other hand it has a set of hard coded parameters it uses to address LDView, see renderCSI and renderPLI in the file "render.cpp" for those.
Code:
QString w = QString("-SaveWidth=%1") .arg(width);
QString h = QString("-SaveHeight=%1") .arg(height);
QString s = QString("-SaveSnapShot=%1") .arg(pngName);
QString cg = QString("-cg0.0,0.0,%1") .arg(cd);
arguments << CA;
arguments << cg;
arguments << "-SaveAlpha=1";
arguments << "-AutoCrop=1";
arguments << "-ShowHighlightLines=1";
arguments << "-ConditionalHighlights=1";
arguments << "-SaveZoomToFit=0";
arguments << "-SubduedLighting=1";
arguments << "-UseSpecular=0";
arguments << "-LightVector=0,1,1";
arguments << "-SaveActualSize=0";
arguments << w;
arguments << h;
arguments << s;
The documentation of LDView has an extensive section to explain the arguments you can hand over.