Bugfixes:
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.
This commit is contained in:
@@ -221,8 +221,6 @@ static PyObject *RenderData_YafrayGIShadowQuality( BPy_RenderData * self,
|
||||
PyObject * args );
|
||||
static PyObject *RenderData_YafrayGIPixelsPerSample( BPy_RenderData * self,
|
||||
PyObject * args );
|
||||
static PyObject *RenderData_EnableYafrayGIGradient( BPy_RenderData * self,
|
||||
PyObject * args );
|
||||
static PyObject *RenderData_YafrayGIRefinement( BPy_RenderData * self,
|
||||
PyObject * args );
|
||||
static PyObject *RenderData_YafrayRayBias( BPy_RenderData * self,
|
||||
@@ -451,9 +449,6 @@ static PyMethodDef BPy_RenderData_methods[] = {
|
||||
{"yafrayGIPixelsPerSample",
|
||||
( PyCFunction ) RenderData_YafrayGIPixelsPerSample, METH_VARARGS,
|
||||
"(int) - get/set maximum number of pixels without samples, the lower the better and slower\n"},
|
||||
{"enableYafrayGIGradient",
|
||||
( PyCFunction ) RenderData_EnableYafrayGIGradient, METH_VARARGS,
|
||||
"(bool) - enable/disable try to smooth lighting using a gradient\n"},
|
||||
{"yafrayGIRefinement", ( PyCFunction ) RenderData_YafrayGIRefinement,
|
||||
METH_VARARGS,
|
||||
"(float) - get/setthreshold to refine shadows EXPERIMENTAL. 1 = no refinement\n"},
|
||||
@@ -1793,20 +1788,6 @@ PyObject *RenderData_YafrayGIPixelsPerSample( BPy_RenderData * self,
|
||||
"YafrayGIMethod must be set to 'FULL' and GICache must be enabled\n" ) );
|
||||
}
|
||||
|
||||
//------------------------------------RenderData.EnableYafrayGIGradient()
|
||||
PyObject *RenderData_EnableYafrayGIGradient( BPy_RenderData * self,
|
||||
PyObject * args )
|
||||
{
|
||||
if( self->renderContext->GImethod == 2
|
||||
&& self->renderContext->GIcache == 1 ) {
|
||||
return M_Render_BitToggleShort( args, 1,
|
||||
&self->renderContext->
|
||||
GIgradient );;
|
||||
} else
|
||||
return ( EXPP_ReturnPyObjError( PyExc_StandardError,
|
||||
"YafrayGIMethod must be set to 'FULL' and GICache must be enabled" ) );
|
||||
}
|
||||
|
||||
//------------------------------------RenderData.YafrayGIRefinement() ----
|
||||
PyObject *RenderData_YafrayGIRefinement( BPy_RenderData * self,
|
||||
PyObject * args )
|
||||
|
||||
Reference in New Issue
Block a user