Needs latest yafray, you can get it from cvs, but I have also binaries for os x here: http://www.coala.uniovi.es/~jandro/noname/downloads/yafray-0.0.6-3.pkg.zip To use it, go to yafray panels (global settings) and uncheck the "xml" button. That would tell the export code to avoid xml export and use the yafray plugin instead. You'll see the render being draw while running and you can even stop it with ESC key. Since I'm sure problems will appear, expect updates soon. Remember: does not work on win32
19 lines
323 B
C++
19 lines
323 B
C++
#ifndef __YAFRAY_API_H
|
|
#define __YAFRAY_API_H
|
|
|
|
/* C interface for Blender */
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
void YAF_switchPlugin();
|
|
void YAF_switchFile();
|
|
int YAF_exportScene();
|
|
//void YAF_displayImage();
|
|
void YAF_addDupliMtx(Object* obj);
|
|
int YAF_objectKnownData(Object* obj);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|