Blender hemilight shadow flag now ignored (reported by varuag). Texture axes were not exported for procedural textures. Duplicate armatures were not handled correctly (reported by richie). Triangle uv-coord splitting (reported by anael, richie & Alvaro). Additions: Material 'TexFace' mode now works too, as in Blender it functions as an extra first texture channel, replacing the base color. The new noise functions for procedural textures are now supported in yafray, but is not quite completed yet, still undergoing changes. (needs yafray from cvs). The 'power' button has been renamed to 'EmitPwr', since it controls background, arealight (including lamp with radius) & material emit power. This button can now be used with the 'SkyDome' method as well to control background lighting. To control indirect lighting power, a button called 'GI pwr' has been added, only use this when really necessary, first try modifying 'EmitPwr' instead. Removed: The 'gradient' button. This includes the python code to set this parameter as well.
35 lines
1010 B
C++
Executable File
35 lines
1010 B
C++
Executable File
#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 writeShader(const std::string &shader_name, Material* matr, const std::string &facetexname="");
|
|
virtual void writeMaterialsAndModulators();
|
|
virtual void writeObject(Object* obj, const std::vector<VlakRen*> &VLR_list, const float obmat[4][4]);
|
|
virtual void writeAllObjects();
|
|
virtual void writeAreaLamp(LampRen* lamp, int num, float iview[4][4]);
|
|
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
|