LuxRender

From FreeCAD Documentation
Revision as of 09:52, 11 July 2021 by David69 (talk | contribs) (Created page with "===Version stable=== La dernière version stable est [https://github.com/LuxCoreRender/LuxCore/releases/tag/luxrender_v1.6 LuxRender 1.6 (2017-12-28)].")
LuxRender n'est plus en développement car le projet a été redémarré sous le nom de LuxCoreRender avec une réécriture majeure du code et de nombreux changements de compatibilité. L'information ici est fournie parce que FreeCAD est toujours livré par défaut (à partir de la version 0.19-24276) avec l'atelier Raytracing, qui ne supporte officiellement que LuxRender. Cependant, il semble également fonctionner avec LuxCoreRender donc pensez à l'essayer avant d'utiliser LuxRender.

Description

LuxRender est l'un des deux moteurs de rendu supportés par l'atelier Raytracing avec POV-Ray. En 2013, le projet a été redémarré pour devenir LuxCoreRender, avec une réécriture majeure du code et des changements de compatibilité, le projet LuxRender a donc été abandonné. Officiellement, LuxCoreRender n'est pas supporté par l'atelier Raytracing, bien qu'il puisse être intéressant d'essayer.

Installation

Atelier Raytracing

L'atelier Raytracing a été remplacé par le nouvel atelier Render, qui est destiné à le remplacer. Il ne doit pas être confondu avec Le module de rendus, arrêté et dépassé. Le Render Workbench peut être installé via le Gestionnaire d'Addon. L'information ici est fournie parce que par défaut FreeCAD est toujours livré (à partir de 0.19-24276) avec l'atelier Raytracing et parce que le nouveau module devrait fondamentalement fonctionner de la même manière

.

Version stable

La dernière version stable est 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.