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-09 02:12:56 +0300
committerAlejandro Conty Estevez <conty@yafray.org>2004-01-09 02:12:56 +0300
commit5c51bd7e56a0c11c490a252be64cbab6f8a1a741 (patch)
tree4d9383928824c3e0d21a4144c80c30cc005c6af4 /source/blender/yafray/intern/export_File.h
parent32a96642bdbd196f6bc670b956e2d7d2a5c0b36b (diff)
Code reorganization to allow a clean export to plugin alternative for
yafray
Diffstat (limited to 'source/blender/yafray/intern/export_File.h')
-rwxr-xr-xsource/blender/yafray/intern/export_File.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/source/blender/yafray/intern/export_File.h b/source/blender/yafray/intern/export_File.h
new file mode 100755
index 00000000000..69f47420d8c
--- /dev/null
+++ b/source/blender/yafray/intern/export_File.h
@@ -0,0 +1,33 @@
+#ifndef __EXPORT_FILE_H
+#define __EXPORT_FILE_H
+
+#include"yafray_Render.h"
+
+class yafrayFileRender_t : public yafrayRender_t
+{
+ public:
+ virtual ~yafrayFileRender_t() {}
+ protected:
+ std::string imgout;
+ std::ofstream xmlfile;
+ std::string xmlpath;
+ std::ostringstream ostr;
+
+ void displayImage();
+ bool executeYafray(const std::string &xmlpath);
+ virtual void writeTextures();
+ virtual void writeMaterialsAndModulators();
+ virtual void writeObject(Object* obj,
+ const std::vector<VlakRen*> &VLR_list, const float obmat[4][4]);
+ virtual void writeAllObjects();
+ virtual void writeLamps();
+ virtual void writeCamera();
+ virtual void writeHemilight();
+ virtual void writePathlight();
+ virtual bool writeWorld();
+ virtual bool writeRender();
+ virtual bool initExport();
+ virtual bool finishExport();
+};
+
+#endif