コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="KerkytheaLauncher"/> class.
        /// </summary>
        /// <param name="executable">
        /// Path to the Kerkythea executable file.
        /// </param>
        public KerkytheaLauncher(string executable = null)
        {
            if (executable == null)
            {
                executable = ProgramFilesHelper.FindProgramFile("Kerkythea Rendering System", "Kerkythea.exe");
            }

            this.Executable = executable;
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="OctaneLauncher"/> class.
        /// </summary>
        /// <param name="octaneExecutable">
        /// The octane executable.
        /// </param>
        public OctaneLauncher(string octaneExecutable = null)
        {
            if (octaneExecutable == null)
            {
                octaneExecutable = ProgramFilesHelper.FindProgramFile("Refractive Software", "Octane.exe");
            }

            this.OctaneExecutable = octaneExecutable;
            this.MaxSamples       = 16000;
            this.FilmWidth        = 1000;
            this.FilmHeight       = 600;
            this.Aperture         = 1.0;
            this.FocalDepth       = 1.0;
            this.FieldOfView      = 45;
            this.IsNewProject     = true;
            this.Link             = true;
        }