Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo de Greef <eeshlo@yahoo.com>2004-11-08 06:55:44 +0300
committerAlfredo de Greef <eeshlo@yahoo.com>2004-11-08 06:55:44 +0300
commit459deaf11f3f451b2f30b97b1e23e72343398445 (patch)
treee88c2e842c843cd8c5bee06a398e6feac0521c85 /source/blender/makesdna/DNA_camera_types.h
parent8daff51e0fab7bf06847e4e019d7b0b21ab4bb69 (diff)
Fixed:
Texture matrix bug in plugin code reported by Mel_Q. Vertex colors, this was basically the same as the previous uv coord splitting bug, for xml export, uv coord splitting was actually not quite complete either (reported by richie). Added: Camera Ipo curves for DoF aperture and focal distance. Aspect ratio set with AspX & AspY are now taken into account as well. (needs yafray from cvs) Bokeh parameters for DoF (also needs yafray from cvs). 'Bokeh' controls the shape of out of focus points when rendering with depth of field enabled. This is mostly visible on very out of focus highlights in the image. There are currently seven types to choose from.: 'Disk1' is the default, the same as was used before. 'Disk2' is similar, but allows you to modify the shape further with the 'bias' parameter, see below. Triangle/Square/Pentagon/Hexagon, in addition to the bias control, you can offset the rotation with the 'Rotation' parameter (in degrees). 'Ring', a weird ring shaped lens, no additional controls. The 'bias' menu controls accentuation of the shape. Three types available, uniform, center or edge, with uniform the default. Although based on an actual phenomenon of real camera's, the current code is bit of a hack and not physically based, and doesn't work all that well yet (in yafray anyway). Since this is also mostly visible in the very out of focus parts of the image, it usually also means that you need lots of samples to get a reasonably smooth result.
Diffstat (limited to 'source/blender/makesdna/DNA_camera_types.h')
-rw-r--r--source/blender/makesdna/DNA_camera_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h
index 2df957561dc..1f25f371f97 100644
--- a/source/blender/makesdna/DNA_camera_types.h
+++ b/source/blender/makesdna/DNA_camera_types.h
@@ -52,6 +52,8 @@ typedef struct Camera {
/* yafray: dof params */
float YF_dofdist, YF_aperture;
+ short YF_bkhtype, YF_bkhbias;
+ float YF_bkhrot;
struct Ipo *ipo;