public static string ShotOne(string acRoot, string carName, string showroomName, string skinName, string cameraPosition, string cameraLookAt, double cameraFov,
string filter, bool disableSweetFx) {
var s = new KunosShotter {
AcRoot = acRoot,
CarId = carName,
ShowroomId = showroomName,
UseBmp = true,
DisableWatermark = true,
DisableSweetFx = disableSweetFx,
Filter = filter
};
s.SetCamera(cameraPosition, cameraLookAt, cameraFov, 0d);
try {
s.Shot(skinName);
return s.OutputDirectory;
} finally {
s.Dispose();
}
}
}