buf = new StringBuilder(povray); if(verbose) { buf.append(" +V "); } if(!width.equals("")) { buf.append(" +W"); buf.append(width + " "); } if(!memory.equals("")) { buf.append(" +IM"); buf.append(memory + " "); } if(!height.equals("")) { buf.append(" +H"); buf.append(height + " "); } if(!quality.equals("")) { buf.append(" +Q"); buf.append(quality + " "); } if(smooth) { buf.append(" +A "); } if(!type.equals("")) { buf.append(" +F" + type + " "); } buf.append(file); buf.toString();