private int doHeadlessRender() {
System.setProperty("java.awt.headless", "true");
RenderContext renderContext = new RenderContext(options);
RenderManager renderManager = new RenderManager(
new PlaceholderRenderCanvas(),
renderContext, new ConsoleRenderListener(), true);
try {
renderManager.loadScene(options.sceneName);
if (options.target != -1) {