mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Added POV-Ray exe.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user