LuxRender: Difference between revisions

From FreeCAD Documentation
(Removed the Render_project link.)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
{{VeryImportantMessage|LuxRender is no longer in development as the project has been rebooted as [[LuxCoreRender]] with a major code rewriting and a lot of compatibility breaking changes. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the [[Raytracing Workbench]], that officially only supports LuxRender. Anyway it also seem to work with [[LuxCoreRender]], so consider giving it a try before using LuxRender. Please remove this warning if the situation changes}}
<translate>


<!--T:1-->
{{VeryImportantMessage|This page is actually a work in progress, feel free to contribute}}
{{VeryImportantMessage|LuxRender is no longer in development as the project has been rebooted as [[LuxCoreRender|LuxCoreRender]] with a major code rewriting and a lot of compatibility breaking changes. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the [[Raytracing_Workbench|Raytracing Workbench]], that officially only supports LuxRender. Anyway it also seem to work with [[LuxCoreRender|LuxCoreRender]], so consider giving it a try before using LuxRender}}


=Description=
=Description= <!--T:20-->
[https://luxcorerender.org/history/ LuxRender] is one of the two render engines supported by the [[Raytracing Workbench|Raytracing Workbench]] together with [[POV-Ray]]. In 2013 the project has been rebooted becoming [[LuxCoreRender]], with a major code rewriting and compatibility breaking changes, thus the LuxRender project has been abandoned. Officially [[LuxCoreRender]] is not supported by the [[Raytracing Workbench|Raytracing Workbench]], although it might be worth to try.


<!--T:2-->
=Installation=
[https://luxcorerender.org/history/ LuxRender] is one of the two render engines supported by the [[Raytracing_Workbench|Raytracing Workbench]] together with [[POV-Ray|POV-Ray]]. In 2013 the project has been rebooted becoming [[LuxCoreRender|LuxCoreRender]], with a major code rewriting and compatibility breaking changes, thus the LuxRender project has been abandoned. Officially [[LuxCoreRender|LuxCoreRender]] is not supported by the [[Raytracing_Workbench|Raytracing Workbench]], although it might be worth to try.
==Raytracing Workbench==
{{VeryImportantMessage|The [[Ray Tracing Workbench|Raytracing workbench]] is being superseded by the new [https://github.com/FreeCAD/FreeCAD-render Render Workbench], which is intended as its replacement. This must not be confused with the halted and outdated [[Render_project|Render project]]. The Render Workbench can be installed through the [[AddonManager|Addon Manager]]. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the Raytracing Workbench}}


=Installation= <!--T:21-->
===Stable Version===
The latest stable version is LuxRender 1.6 (2017-12-28).


==Raytracing Workbench== <!--T:22-->
====Linux====
'''Compiled binaries'''


<!--T:3-->
{{VeryImportantMessage|The [[Raytracing_Workbench|Raytracing Workbench]] is being superseded by the new [https://github.com/FreeCAD/FreeCAD-render Render Workbench], which is intended as its replacement. The Render Workbench can be installed through the [[Std_AddonMgr|Addon Manager]]. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the Raytracing Workbench}}

===Stable Version=== <!--T:23-->

<!--T:4-->
The latest stable version is [https://github.com/LuxCoreRender/LuxCore/releases/tag/luxrender_v1.6 LuxRender 1.6 (2017-12-28)].

====Linux==== <!--T:24-->

<!--T:5-->
'''''Compiled binaries'''''

<!--T:6-->
As LuxRender is no longer developed, almost no distribution still has it in its repositories, so you will have to manually install the official binaries.
As LuxRender is no longer developed, almost no distribution still has it in its repositories, so you will have to manually install the official binaries.
First determine if your graphic cards supports [https://en.wikipedia.org/wiki/OpenCL OpenCL] and if you have all the necessary dependencies installed.
First determine if your graphic cards supports [https://en.wikipedia.org/wiki/OpenCL OpenCL] and if you have all the necessary dependencies installed.
Line 21: Line 33:
Otherwise download [https://github.com/LuxCoreRender/LuxCore/releases/download/luxrender_v1.6/lux-v1.6-x86_64-sse2-NoOpenCL.tar.bz2 LuxRender 1.6 without OpenCL], but consider getting a newer graphic card or installing the necessary software to enable it on your computer.
Otherwise download [https://github.com/LuxCoreRender/LuxCore/releases/download/luxrender_v1.6/lux-v1.6-x86_64-sse2-NoOpenCL.tar.bz2 LuxRender 1.6 without OpenCL], but consider getting a newer graphic card or installing the necessary software to enable it on your computer.


<!--T:7-->
The faster solution (although not the best practice) is to extract the content of the archive in a suitable location, like ''~\LuxRender''.
The faster solution (although not the best practice) is to extract the content of the archive in a suitable location, like ''~\LuxRender''.
If needed change the file permissions so that your user can execute the files you just extracted.
If needed change the file permissions so that your user can execute the files you just extracted.


<!--T:8-->
'''Compiling from source'''
'''''Compiling from source'''''


<!--T:9-->
If your distributions does not have LuxRender in the repositories and the official binaries do not work on your distribution, or if you wish to, it is possible to compile LuxRender from source. [https://github.com/LuxCoreRender/LuxCore/archive/refs/tags/luxrender_v1.6.tar.gz Download the source code of LuxRender 1.6 from GitHub]
If your distributions does not have LuxRender in the repositories and the official binaries do not work on your distribution, or if you wish to, it is possible to compile LuxRender from source. [https://github.com/LuxCoreRender/LuxCore/archive/refs/tags/luxrender_v1.6.tar.gz Download the source code of LuxRender 1.6 from GitHub]


<!--T:10-->
'''Configuring FreeCAD'''
'''''Configuring FreeCAD'''''


<!--T:11-->
After installing LuxRender, launch FreeCAD, open the [[Preferences Editor]], [[Preferences_Editor#Unloaded_Workbenches|load the Raytracing Workbench]], and go to the [[Raytracing_Preferences|Raytracing Preferences]].
After installing LuxRender, launch FreeCAD, open the [[Preferences Editor]], [[Preferences_Editor#Unloaded_Workbenches|load the Raytracing Workbench]], and go to the [[Raytracing_Preferences|Raytracing Preferences]].


<!--T:12-->
Set the Luxrender executable path to point to your installation of LuxRender, in particular to the ''luxrender'' executable, and apply.
Set the Luxrender executable path to point to your installation of LuxRender, in particular to the ''luxrender'' executable, and apply.
In the above example, the path would be ''~\LuxRender\luxrender''.
In the above example, the path would be ''~\LuxRender\luxrender''.


====macOS====
====macOS==== <!--T:25-->

<!--T:13-->
Use the [https://github.com/LuxCoreRender/LuxCore/releases/download/luxrender_v1.6/LuxRender_1.6_OSXIntel_64bit.dmg official LuxRender 1.6 installer for OSX].

====Windows==== <!--T:26-->

<!--T:14-->
First determine if your graphic cards supports [https://en.wikipedia.org/wiki/OpenCL OpenCL] and if you have the necessary graphics drivers installed.
If so, download [https://github.com/LuxCoreRender/LuxCore/releases/download/luxrender_v1.6/LuxRender.1.6.x64.OpenCL.Setup.exe LuxRender 1.6 with OpenCL support setup].
Otherwise download [https://github.com/LuxCoreRender/LuxCore/releases/download/luxrender_v1.6/LuxRender.1.6.x64.NoOpenCL.Setup.exe LuxRender 1.6 without OpenCL setup], but consider getting a newer graphic card or installing the necessary software to enable it on your computer. Then execute the downloaded installer and follow the proposed steps.

<!--T:15-->
By default the destination folder is ''C:\Program Files\LuxRender'', with example scenes in ''C:\Users\Public\Documents\LuxRender\Example Scene''.

<!--T:16-->
After installing LuxRender, launch FreeCAD, open the [[Preferences_Editor|Preferences Editor]], [[Preferences_Editor#Unloaded_Workbenches|load the Raytracing Workbench]], and go to the [[Raytracing_Preferences|Raytracing Preferences]].

<!--T:17-->
Set the Luxrender executable path to point to your installation of LuxRender, usually it is ''C:/Program Files/LuxRender/luxrender.exe'', and apply.

===Development Version=== <!--T:27-->

<!--T:18-->
There is no development version of LuxRender, as development has been halted in favor of the reboot [[LuxCoreRender|LuxCoreRender]].


==Render Workbench== <!--T:28-->
====Windows====


<!--T:19-->
===Development Version===
There is no development version of LuxRender, as development has been halted in favor of the reboot [[LuxCoreRender]].
The [https://github.com/FreeCAD/FreeCAD-render Render Workbench] has dropped support for LuxRender, as it is outdated. It supports instead the modern reboot [[LuxCoreRender|LuxCoreRender]].


</translate>
==Render Workbench==
The [https://github.com/FreeCAD/FreeCAD-render Render Workbench] has dropped support for LuxRender, as it is outdated. It supports instead the modern reboot [[LuxCoreRender]].

Latest revision as of 20:33, 4 March 2022

LuxRender is no longer in development as the project has been rebooted as LuxCoreRender with a major code rewriting and a lot of compatibility breaking changes. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the Raytracing Workbench, that officially only supports LuxRender. Anyway it also seem to work with LuxCoreRender, so consider giving it a try before using LuxRender

Description

LuxRender is one of the two render engines supported by the Raytracing Workbench together with POV-Ray. In 2013 the project has been rebooted becoming LuxCoreRender, with a major code rewriting and compatibility breaking changes, thus the LuxRender project has been abandoned. Officially LuxCoreRender is not supported by the Raytracing Workbench, although it might be worth to try.

Installation

Raytracing Workbench

The Raytracing Workbench is being superseded by the new Render Workbench, which is intended as its replacement. The Render Workbench can be installed through the Addon Manager. The information here is provided because by default FreeCAD is still shipped (as of 0.19-24276) with the Raytracing Workbench

Stable Version

The latest stable version is LuxRender 1.6 (2017-12-28).

Linux

Compiled binaries

As LuxRender is no longer developed, almost no distribution still has it in its repositories, so you will have to manually install the official binaries. First determine if your graphic cards supports OpenCL and if you have all the necessary dependencies installed. If so, download LuxRender 1.6 with OpenCL support. Otherwise download LuxRender 1.6 without OpenCL, but consider getting a newer graphic card or installing the necessary software to enable it on your computer.

The faster solution (although not the best practice) is to extract the content of the archive in a suitable location, like ~\LuxRender. If needed change the file permissions so that your user can execute the files you just extracted.

Compiling from source

If your distributions does not have LuxRender in the repositories and the official binaries do not work on your distribution, or if you wish to, it is possible to compile LuxRender from source. Download the source code of LuxRender 1.6 from GitHub

Configuring FreeCAD

After installing LuxRender, launch FreeCAD, open the Preferences Editor, load the Raytracing Workbench, and go to the Raytracing Preferences.

Set the Luxrender executable path to point to your installation of LuxRender, in particular to the luxrender executable, and apply. In the above example, the path would be ~\LuxRender\luxrender.

macOS

Use the official LuxRender 1.6 installer for OSX.

Windows

First determine if your graphic cards supports OpenCL and if you have the necessary graphics drivers installed. If so, download LuxRender 1.6 with OpenCL support setup. Otherwise download LuxRender 1.6 without OpenCL setup, but consider getting a newer graphic card or installing the necessary software to enable it on your computer. Then execute the downloaded installer and follow the proposed steps.

By default the destination folder is C:\Program Files\LuxRender, with example scenes in C:\Users\Public\Documents\LuxRender\Example Scene.

After installing LuxRender, launch FreeCAD, open the Preferences Editor, load the Raytracing Workbench, and go to the Raytracing Preferences.

Set the Luxrender executable path to point to your installation of LuxRender, usually it is C:/Program Files/LuxRender/luxrender.exe, and apply.

Development Version

There is no development version of LuxRender, as development has been halted in favor of the reboot LuxCoreRender.

Render Workbench

The Render Workbench has dropped support for LuxRender, as it is outdated. It supports instead the modern reboot LuxCoreRender.