Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
yafaray [2015/07/07 09:02] slackermedia |
yafaray [2021/06/03 19:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[{arrowp.png|border:0;background:none;width:0;display:inline-block;position:absolute;top:0;left:0;}vlc|]] | ||
- | [[{arrown.png|border:0;background:none;width:0;display:inline-block;position:absolute;top:0;margin-left:2.5em;}yolo|]] | ||
Line 22: | Line 20: | ||
<WRAP indent> | <WRAP indent> | ||
- | Yafaray has a number of optimisations to help you get good performance without relying on OpenCL or CUDA. It has advanced features like volumetrics, several texture types, various illumination types. | + | Yafaray has a number of optimisations to help you get good performance without relying on OpenCL or CUDA. It has advanced features like volumetrics, several texture types, and various illumination types. |
</WRAP> | </WRAP> | ||
- | **Industry-Grade** | + | **Easy Setup** |
<WRAP indent> | <WRAP indent> | ||
- | Luxrender features professional-grade features, including lighting groups, volumetrics, instancing, motion blur, depth of field, tone mapping, de-noising, and much more. This is a serious renderer. | + | Yafaray is a serious renderer, and yet quite simple to set up with Blender. |
</WRAP> | </WRAP> | ||
Line 38: | Line 36: | ||
<WRAP indent> | <WRAP indent> | ||
- | Luxrender is a serious, professional renderer. If you're just learning how to model or light, it might be overkill as an initial rendering setup. | + | Yafaray is a serious, professional renderer. If you're just learning how to model or light, it might be overkill as an initial rendering engine since it may produce unexpected results if you don't understand the rendering process. A simple "never fail" renderer, like Blender's inbuilt default, might be better to start on. |
- | </WRAP> | + | |
- | + | ||
- | **OpenCL/CUDA** | + | |
- | + | ||
- | <WRAP indent> | + | |
- | Many of Luxrender's most advanced features expect you to have a powerful computer with a powerful GPU. | + | |
</WRAP> | </WRAP> | ||
</WRAP> | </WRAP> | ||
Line 50: | Line 42: | ||
===== Install ===== | ===== Install ===== | ||
- | Installing Yafaray broadly requires, like other renderers, the installation of the Luxrender base package, and then the plugin that will make it useful in your application of choice (probably [[blender]]). | + | Installing Yafaray is heavily dependent upon the version of Blender you run, so check on [[http://yafaray.org]] to see what the latest version released for your version of Blender that you run. |
- | To get the basic Luxrender package installed, first install its dependencies; all of them are available from [[http://slackbuilds.org]] but some (like OpenCL) are optional. | + | If the version available on [[http://slackbuilds.org]] is current, install from there. If not, install from the Yafaray site. |
+ | Yafaray offers a ''.zip'' file for 64bit Linux. Assuming you are installing for systemwide use: | ||
- | <code> | + | - Download the Yafaray zip file. |
- | BUILDPYTHON=yes ./yafaray.SlackBuild | + | - Unzip the file. |
- | </code> | + | - Move the unzipped file to ''/opt/blender/2.xx/scripts/addons/''. |
- | + | ||
- | Once the dependencies are installed, install Luxrender from [[http://slackbuilds.org]]. | + | |
- | + | ||
- | ==== OpenCL ==== | + | |
- | + | ||
- | OpenCL is an open specification that enables a system to access and recruit any computing device for the computational workload. In practise, that usually means the graphics card (GPU) but in theory it could include more. | + | |
- | + | ||
- | OpenCL increases the render speed substantially, but it does require sufficiently powered hardware, and for LuxRender to utilise OpenCL, you must [[opencl|enable OpenCL]] on your system. | + | |
- | + | ||
- | The default behaviour of the SlackBuild is to install LuxRender with OpenCL support. To disable it, start the SlackBuild with a leading ''OPENCL=no'' variable setting: | + | |
- | + | ||
- | <code> | + | |
- | $ OPENCL=no ./luxrender.SlackBuild | + | |
- | </code> | + | |
- | + | ||
- | or, if you use ''sport'': | + | |
- | + | ||
- | <code> | + | |
- | $ OPENCL=no sport i luxrender | + | |
- | </code> | + | |
- | + | ||
- | If you do not know what OpenCL is, you probably do not //need// it. | + | |
- | + | ||
- | ==== Blender ==== | + | |
- | + | ||
- | The default behaviour of the LuxRender SlackBuild is to auto-detect whether you have Blender installed, and where its ''script'' directory is located, and to install the LuxRender Blender plug-in. You can forego this automatic detection process by just providing the path manually: | + | |
- | + | ||
- | <code> | + | |
- | $ BLENDER=/path/to/blender/scripts ./luxrender.SlackBuild | + | |
- | </code> | + | |
- | + | ||
- | Or, if you would rather the Blender plug-in not be installed, set it to ''no'': | + | |
- | + | ||
- | <code> | + | |
- | $ BLENDER=no ./luxrender.SlackBuild | + | |
- | </code> | + | |
- | + | ||
- | If you set ''BLENDER=no'' then the plugins are stored, uninstalled, in ''/usr/share/luxrender-X.X''. | + | |
===== Usage ===== | ===== Usage ===== | ||
- | LuxRender has several ways for you to interact with it. To try it out, use the ''LuxTime'' example stored in ''/usr/share/luxrender-X.X''. Copy the ''LuxTime'' directory to your home directory and then load the ''.lxs'' file to produce a render. | + | The Blender can be activated and used the same as any other Blender plugin: |
- | LuxRender can be invoked as a shell application: | + | - Activate the Blender plugin in the **User Preferences** panel → **Render**. (There is no need to install the plugin as you might other Blender addons, because you have already placed it in the correct location.) |
+ | - Make it your active renderer in the *Info* panel | ||
- | <code> | + | [{{ yafaray_blender.jpg |Selecting the Yafaray engine in Blender.}}] |
- | $ luxconsole /path/to/file.lxs | + | |
- | </code> | + | |
- | LuxRender has a stand-alone GUI frontend, which you can launch from the **K Menu** or from a shell: | ||
- | <code> | + | Access the Yafaray options in the **Render** panel of Blender. |
- | $ luxrender& | + | |
- | </code> | + | |
- | [{{ luxrender.jpg?666 |The LuxRender GUI rendering an image by **freejack**.}}] | + | [{{ yafaray_panel.jpg |The Yafaray settings panel.}}] |
- | + | ||
- | And finally, the Blender plugin, which can be activated and used the same as any other Blender plugin: | + | |
- | + | ||
- | - Activate the Blender plugin in the **User Preferences** panel → **Render**. (There is no need to install the plugin as you might other Blender addons, because the LuxRender installer from SlackBuilds has already installed it for you.) | + | |
- | - Make it your active renderer in the *Info* panel | + | |
- | + | ||
- | [{{ luxblend.jpg |Selecting the LuxRender engine in Blender.}}] | + | |
<WRAP tip> | <WRAP tip> | ||
**See Also** \\ | **See Also** \\ | ||
- | Blender \\ | + | [[blender|Blender]] \\ |
- | Mitsuba \\ | + | [[mitsuba|Mitsuba]] \\ |
- | Povray \\ | + | [[luxrender|Luxrender]] |
- | Luxrender | + | |
</WRAP> | </WRAP> | ||
- | [[{arrown.png|border:0;background:none;width:0;display:inline-block;float:right;}yafaray|]][[{arrowp.png|border:0;background:none;width:0;float:right;}videometa|]] | + | <WRAP centeralign> |
+ | <wrap fa>[[vlc|R]]</wrap> <wrap fa>[[start|S]]</wrap> <wrap fa>[[yolo|Q]]</wrap> | ||
+ | </WRAP> |