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

export_File.h « intern « yafray « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 69f47420d8cd936fcce433c02f2b5f11997d8f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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