Revision 214751078 of "YafRay" on enwiki

{{Infobox_Software
| logo = [[Image:YafRay logo.svg|180px]]
| screenshot = 
| caption = 
| name = YafRay
| developer = Alejandro Conty Estévez
| latest_release_version = 0.0.9
| latest_release_date = [[July 17]], [[2006]]
| operating_system = [[Cross-platform]]
| genre = [[Raytracer]]
| license = [[GNU Lesser General Public License|LGPL]]
| website = [http://www.yafray.org/ www.yafray.org]
}}

[[Image:Engine movingparts.jpg|200px|right|thumbnail|A YafRay rendering of [[piston engine]] parts modelled in [[Blender (software)|Blender]].]]

'''YafRay''' ('''Y'''et '''A'''nother '''F'''ree '''Ray'''tracer) is a [[free software|free]], [[open source]] [[ray tracing]] program that uses an [[XML]] scene description language. It has been integrated into the 3D modelling software [[Blender (software)|Blender]], and so can now be used to render scenes made within it directly, without the need for an exporter.

It is licensed under the [[GNU Lesser General Public License]] (LGPL).

==Features==
===Rendering===
;Global Illumination
	
:YafRay uses [[global illumination]] to produce realistically lit renderings of 3D scenes, using [[Monte Carlo method|Montecarlo]]-derived approximations.
;Skydome Illumination	
:This illumination system is based mainly on light coming from an emitting sky, taking into account the soft shadows calculations also involved. The illumination can be obtained from a [[High dynamic range imaging|high dynamic range image]].

;Caustics
:YafRay uses [[photon mapping]] that allows for [[Caustic (optics)|caustic]] (light distortion produced by reflection or transmission such as through a [[burning-glass]]). For simulating translucent materials there is also a [[subsurface scattering]] shader under development.

;Depth of field	
:The effects of a focus [[depth of field]] can be reproduced using this feature. With a point in the scene fixed, further objects will be out of focus.

;Blurry reflections
:If a surface is not a perfect [[Reflection (physics)|reflector]], distortion arises in the reflected light. This distortion will grow bigger as the reflecting object is taken further away. YafRay can simulate this phenomenon.

===Architecture===
;Modular framework
:Yafray features a modular structure, with a [[kernel (computer science)|kernel]] with which the rest of the render elements connect: scene loader, lights and shaders. This together with an [[Application Programming Interface|API]], allows development of rendering plug-ins, for using Yafray from any program or 3D suite. Supported suites include [[Blender (software)|Blender]], [[Wings 3D]] and Aztec. 

;Cross-platform
:Yafray has been fully developed using [[C++]]. This makes for good portability and there are precompiled [[binaries]] for the most common platforms: [[GNU]]/[[Linux]], [[Microsoft Windows|Windows]] 9x/XP/2000, [[Mac OS X]] and [[Irix]]. Yafray can be used as a stand-alone render engine, using its own scene description format. This way it can be used from the [[command line]] directly, by a script, etc. There are also provisions for [[parallel computing|parallel]] or [[Distributed computing|distributed]] rendering.

==See also==
{{portal|Free software|Free Software Portal Logo.svg}} 

* [[POV-Ray]], another popular [[open source]] and free of charge but not [[free software|open source]] ray tracer.

==External links==
* [http://www.yafray.org Official website]

[[Category:Free 3D graphics software]]
[[Category:Global illumination software]]

{{graphics-software-stub}}

[[ca:YafRay]]
[[de:YafRay]]
[[es:YafRay]]
[[fr:YafRay]]
[[it:YafRay]]
[[lt:YafRay]]
[[pl:YafRay]]
[[pt:YafRay]]
[[ru:YafRay]]
[[sv:YafRay]]
[[zh:YafRay]]