YafaRay/Printable version
This is the print version of YafaRay You won't see this message or any elements not part of the book's content when you print or preview this page. |
The current, editable version of this book is available in Wikibooks, the open-content textbooks collection, at
https://en.wikibooks.org/wiki/YafaRay
Scenes with Explanations
All the scenes are written in the xml format yafaray uses. Use the text editor of your own choice to, for instance, replace parts of your own scene with parts provided here.
How do I add my own scene? Your entry doesn't have to be perfect in any way. Other people can fill in the gaps.
How do I add my own scene?
If you think you have a useful/interesting scene you want to share with the rest of the world, just add it. On top of every Wikibooks page you should see a 'edit this page' link. Just click on it when you are in the 'YafaRay: Scenes with Explanations' page and give your scene an appropriate place/name. After you save the page (always preview it first, of course), you can click on your scene name and put your scene on the empty page you are linked to.
If you are not sure about anything, just look at how other pages are made.
Simple Preview
<render camera_name="x_Camera" AA_passes="1" <!-- a single AA pass is good enough to see what AA might do for your scene at a higher level --> raydepth="5" <!-- 5 gives a good impression, although black areas might appear --> bias="0.1000000000" AA_threshold="0.125" AA_minsamples="2" AA_pixelwidth="1.0" AA_jitterfirst="on" clamp_rgb="off"> <background_name value="x_ConstBackground"/> <outfile value="preview_render.tga"/> <indirect_samples value="0"/> <indirect_power value="1.0"/> <exposure value="1.41421"/> <gamma value="1.0"/> <fog_density value="0.0"/> <fog_color r="1.0" g="1.0" b="1.0"/> </render>