10-27-2013, 12:59 PM
(10-27-2013, 12:30 PM)micheus Wrote: The validator value in the dump is set by range_1(sss_depth) -> {1.0,50.0}; and there was a integer constant being assigned to the field.
I had already fixed these two constants before. Do this changes to yaf_defines.erl:
Line 132: -define(DEF_SSS_DEPTH, 15.0).
Line 134: -define(DEF_SSS_SINGLESCATTER_SAMPLES, 32.0).
But sss_depth need a integer value.. not float.
Code:
println(F,
"\t<sssDepth ival=\"~w\"/>",[proplists:get_value(sss_depth, Attr)]),
Is it possible to eliminate all the DEF and to define these values when we define the interface?
Same for the ranges..
Code:
{vframe, [
{text,AO_Distance,[range(ao_distance),{key,ao_distance}]},
{text,AO_Samples,[{1,128},{key,ao_samples}]},
{color,AO_Color,[{key,ao_color}]}
]}
Btw.. I make test for DOF, based on Kerkythea code.
The Universe is an infinite equation