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:
authorAlejandro Conty Estevez <conty@yafray.org>2004-01-05 01:10:36 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-01-05 01:10:36 +0300
commiteff07b83294125ca3bf66fbec5b6abc865d04c80 (patch)
treefc9f4e2fa4e73cf32823a0a81ee81b58d028a1c1 /source/blender/makesdna/DNA_object_types.h
parent29d23bf86438629a0fc72313d29c40e62cd1bb7d (diff)
Basic initial yafray integration by Eeshlo.
Materials are exported the best we can do by now. It will look almost as in blender except for the missing procedural textures and some minor issues. You have to tweak normal modulation amount to get the desired result cause is not the same in yafray. We added a panel in render space to adjust some yafray settings (GI and so) Also we export transparency and reflection using new raytracing settings, but that will be changed and improved soon. Remember that you have to set YFexport path in user defaults and yafray must be on path (version 0.0.6) We added the "yafray" button to activate all this stuff in the render window. Panel and settings are only shown when checked. So now when activated the code calls yafray export instead of the internal renderer and finally the resulting image is loaded back into render window's buffer. So animation is also possible and results can be saved using blender usual scheme.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index c5fa7aeafd5..4fb5bd6c5c3 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -278,6 +278,8 @@ extern Object workob;
#define OB_DONE 1024
#define OB_RADIO 2048
#define OB_FROMGROUP 4096
+/* yafray: flag to indicate this object is a source object for duplivert instancing, see convertBlenderScene.c */
+#define OB_YAF_DUPLISOURCE 8192
/* ob->gameflag */
#define OB_DYNAMIC 1