blender/source
Alfredo de Greef cf8d9fbb10 Added some backward compatibility with old yafray blendershader. Because of missing
parameters the material preset menu won't be as useful. Both glass presets will look the same
because there is no 'filter' parameter in the old yafray for instance.
So using the new Blender version with an old yafray version should work a bit better,
though the other way around, using the new yafray with an old blender version, will generally
not work as well.

I added a few extra things. In 'yafray' panel re-arranged some buttons, and added a new
button 'Clamp RGB'. This button will be enabled by default and helps to improve AA on
high contrast edges in the image. When using bokeh however, it is best to switch this off,
otherwise lens shaped highlights will be quite a bit less visible.

Changed the 'extinction' parameter name to the probably more correct term 'absorption',
though mathematically it works out the same. Also changed the behaviour of this color,
it no longer specifies a color that will be removed as I wrote in the previous commit,
but instead the actual color at one (blender) unit of distance. The 'Ds' (distance scale)
button below the color sliders controls the scaling of this unit distance.
What this means is that if you take the standard blender cube, which covers two units of
distance by default, setting the distance scale button to 2.0 will make sure that the color
you specified is exactly that color at that distance (provided the base color itself is white
of course, or 'filter' is 0, otherwise it will be filtered by the base color too).
Beyond this distance the color will get darker.

The glow option for point/soft/sphere lights has a new parameter 'GloOfs', or glow offset.
Setting this to a higher value then 0 will soften the central peak of the glow.

Another unreported bug fix: For xml export, when yafray failed to render the xml file
for some unknown reason, or because of other problems, the export code would still load
the previously rendered image, this causes problems however if the image resolution is
not the same as the current Blender buffer, and so could cause memory corruption or crashes.
This is now taken into account.

World image backgrounds now use the blender mapping settings as well, but only the
'AngMap', 'Sphere' and 'Tube' settings. But in yafray those last two, unlike Blender, cover
the whole view, not just the upper half, so is not really fully compatible with yafray.
So now you have to set one of these buttons too when loading a hdr lightprobe image.
btw, something I forgot to mention in previous commits is that the exposure control using
the texture brightness slider is no longer restricted to integer values. It is now a
floating point value, so you're not restricted to the 0 1 and 2 slider positions anymore,
anything in between will work too.

And finally, display updating is now more like Blender, using the mouse cursor as frame
counter for animation, etc.
2005-05-27 17:52:53 +00:00
..
blender Added some backward compatibility with old yafray blendershader. Because of missing 2005-05-27 17:52:53 +00:00
creator BPython: 2005-05-08 21:20:34 +00:00
darwin Updating build systems: folder release/bpydata/ moved to release/scripts/bpydata/ 2005-04-16 18:25:42 +00:00
gameengine Added the docs & use Python booleans for physics reinstance. 2005-04-23 12:25:21 +00:00
icons - Revert to NaN makefiles 2004-01-05 00:06:11 +00:00
kernel Added #!/usr/bin/python standard script identifier to the start of SConscript files. 2004-05-16 13:07:20 +00:00
Makefile late night commit: 2005-05-22 01:21:01 +00:00
nan_compile.mk Uncommented a line in the FREE_WINDOWS section that appears to control the 2005-04-18 19:28:38 +00:00
nan_definitions.mk Moved sinclude for user-def.mk 2005-04-30 21:06:54 +00:00
nan_link.mk Support for SGI Prism: 2005-04-05 14:33:43 +00:00
nan_subdirs.mk Clean up for Makefiles: some of the directories were being printed 2005-04-09 22:40:34 +00:00
nan_warn.mk big warning hunt commit 2005-03-09 19:45:59 +00:00
SConscript Added #!/usr/bin/python standard script identifier to the start of SConscript files. 2004-05-16 13:07:20 +00:00