Added POV-Ray exe.

This commit is contained in:
Leonardo Zide
2018-01-14 15:37:07 -08:00
parent ce8a830d40
commit 74faeef382
4 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -109,8 +109,8 @@ lcProfileEntry gProfileEntries[LC_NUM_PROFILE_KEYS] =
lcProfileEntry("HTML", "PartsWidth", 128), // LC_PROFILE_HTML_PARTS_WIDTH
lcProfileEntry("HTML", "PartsHeight", 128), // LC_PROFILE_HTML_PARTS_HEIGHT
lcProfileEntry("POVRay", "Path", ""), // LC_PROFILE_POVRAY_PATH
lcProfileEntry("POVRay", "LGEOPath", "/usr/bin/povray"), // LC_PROFILE_POVRAY_LGEO_PATH
lcProfileEntry("POVRay", "Path", "/usr/bin/povray"), // LC_PROFILE_POVRAY_PATH
lcProfileEntry("POVRay", "LGEOPath", ""), // LC_PROFILE_POVRAY_LGEO_PATH
lcProfileEntry("POVRay", "Width", 1280), // LC_PROFILE_POVRAY_WIDTH
lcProfileEntry("POVRay", "Height", 720) // LC_PROFILE_POVRAY_HEIGHT
};
+2
View File
@@ -137,6 +137,7 @@ void lcRenderDialog::on_RenderButton_clicked()
#ifdef Q_OS_WIN
POVRayPath = QDir::cleanPath(QCoreApplication::applicationDirPath() + QLatin1String("/povray/povconsole32-sse2.exe"));
Arguments.append("+SMleocad-povray");
#endif
#ifdef Q_OS_LINUX
@@ -147,6 +148,7 @@ void lcRenderDialog::on_RenderButton_clicked()
#ifdef Q_OS_MACOS
POVRayPath = QDir::cleanPath(QCoreApplication::applicationDirPath() + QLatin1String("/povray/povconsole"));
Arguments.append("+SMleocad-povray");
#endif
mProcess = new QProcess(this);
+4
View File
@@ -0,0 +1,4 @@
This is a fork from POV-Ray 3.7 with small changes to make it use shared memory for rendering, so that LeoCAD can display the image while it's being rendered.
You can find the forked source code at https://github.com/leozide/povray, and the original version at http://www.povray.org
Binary file not shown.