Differences
This shows you the differences between two versions of the page.
yafaray [2015/07/07 09:02] slackermedia |
yafaray [2021/06/03 19:48] |
||
---|---|---|---|
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|]] | ||
- | |||
- | |||
- | ======Yafaray====== | ||
- | |||
- | [[http://yafaray.org|Yafaray]] is a ray-tracing rendering engine that uses the Monte Carlo method (which depends on random sampling to speed along computations) in calculating a scene's light. | ||
- | |||
- | <WRAP notice prewrap 50%> | ||
- | <WRAP rightalign> | ||
- | ===== Strengths [Weaknesses] ===== | ||
- | </WRAP> | ||
- | |||
- | **Farm-Supported** | ||
- | |||
- | <WRAP indent> | ||
- | Yafaray is a fairly well-known renderer and some commercial render farms officially support it, so you can submit jobs and have Yafaray work for you in the "cloud". | ||
- | </WRAP> | ||
- | |||
- | **Features** | ||
- | |||
- | <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. | ||
- | </WRAP> | ||
- | |||
- | **Industry-Grade** | ||
- | |||
- | <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. | ||
- | </WRAP> | ||
- | |||
- | <WRAP rightalign> | ||
- | ===== Weaknesses [Strengths] ===== | ||
- | </WRAP> | ||
- | |||
- | **Big** | ||
- | |||
- | <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. | ||
- | </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> | ||
- | |||
- | ===== 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]]). | ||
- | |||
- | 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. | ||
- | |||
- | |||
- | <code> | ||
- | BUILDPYTHON=yes ./yafaray.SlackBuild | ||
- | </code> | ||
- | |||
- | 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 ===== | ||
- | |||
- | 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. | ||
- | |||
- | LuxRender can be invoked as a shell application: | ||
- | |||
- | <code> | ||
- | $ 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> | ||
- | $ luxrender& | ||
- | </code> | ||
- | |||
- | [{{ luxrender.jpg?666 |The LuxRender GUI rendering an image by **freejack**.}}] | ||
- | |||
- | 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> | ||
- | **See Also** \\ | ||
- | Blender \\ | ||
- | Mitsuba \\ | ||
- | Povray \\ | ||
- | Luxrender | ||
- | </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|]] |