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-07-13 23:22:41 +0400
committerAlfredo de Greef <eeshlo@yahoo.com>2004-07-13 23:22:41 +0400
commitb64afb526a8849fa5417bfde2167f158334d7a67 (patch)
treed00f656672c5c4f038fc029de8fbf273e4762cc6 /source/blender/makesdna/DNA_camera_types.h
parentbf8c3e20204195de92eeaef108208b8702a7d133 (diff)
Removed some testcode from yafray_Render.cpp
Added the missing anti-aliasing pixel filter size and threshold parameters for manual AA control (disable 'Auto AA' button). Added support for yafray raytraced depth-of-field. Added extra panel for Camera in edit window to edit dof paramaters. The actual focus point will be drawn as a cross when camera 'ShowLimits' is enabled, similar to the aqsis code in tuhopuu. Note to users: raytraced DoF is very slow, for best results, the default AA parameters are not good enough, especially with higher aperture values (more blur). So for best results, disable 'Auto AA' and set the AA parameters yourself. It works best with multi-pass AA ('AA passes' > 1) and a reasonable 'AA samples' value, something in the range 8 - 25 or even higher. Currently the post-process DoF is not available in yafray, alternatives are being worked on.
Diffstat (limited to 'source/blender/makesdna/DNA_camera_types.h')
-rw-r--r--source/blender/makesdna/DNA_camera_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h
index 84e463bde84..2df957561dc 100644
--- a/source/blender/makesdna/DNA_camera_types.h
+++ b/source/blender/makesdna/DNA_camera_types.h
@@ -50,6 +50,9 @@ typedef struct Camera {
float clipsta, clipend;
float lens, drawsize;
+ /* yafray: dof params */
+ float YF_dofdist, YF_aperture;
+
struct Ipo *ipo;
ScriptLink scriptlink;
@@ -64,6 +67,8 @@ typedef struct Camera {
/* flag */
#define CAM_SHOWLIMITS 1
#define CAM_SHOWMIST 2
+/* yafray: dof sampling switch */
+#define CAM_YF_NO_QMC 4
#ifdef __cplusplus
}