Thread Closed 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
TheBounty Renderer (rewrite for wxWidgets)
10-27-2013, 12:59 PM
Post: #11
RE: TheBounty Renderer; my fork of YafaRay project
(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. Smile
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.
Smile

The Universe is an infinite equation
Thread Closed 


Messages In This Thread
RE: TheBounty Renderer; my fork of YafaRay project - povmaniac - 10-27-2013 12:59 PM
RE: TheBounty Renderer - micheus - 07-14-2020, 06:02 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)