Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
YafaRay plugin; update roadmap and change list
10-14-2013, 05:44 PM (This post was last modified: 10-14-2013 06:05 PM by oort.)
Post: #108
RE: YafaRay plugin; update roadmap and change list
povmaniac,
If you added or removed items from the area, infinite, and ambient lights that may cause the problem you have. Maybe check the "split_list" code??? If you removed one item from infinite light then 21 would change to 20. It has been so long since I edited code it may be something else???

oort

Quote:%% Point
light_result([{?KEY(type),pointlight}|_]=Ps) ->
split_list(Ps, 4);
light_result([{?KEY(type),spherelight}|_]=Ps) ->
split_list(Ps, 4);
%% Spot
light_result([{?KEY(type),spotlight}|_]=Ps) ->
split_list(Ps, 8 );
light_result([{?KEY(type),spot_ies}|_]=Ps) ->
split_list(Ps, 8 );
%% Infinite
light_result([{?KEY(type),sunlight}|_]=Ps) ->
split_list(Ps, 21);
light_result([{?KEY(type),directional}|_]=Ps) ->
split_list(Ps, 21);
light_result([_,{?KEY(background),_}|_]=Ps) ->
split_list(Ps, 21);
%% Area
light_result([_,{?KEY(arealight_samples),_}|_]=Ps) ->
split_list(Ps, 2);
%% Ambient
light_result([{?KEY(type),hemilight}|_]=Ps) ->
split_list(Ps, 24);
light_result([{?KEY(type),pathlight}|_]=Ps) ->
split_list(Ps, 24);
light_result([{?KEY(type),globalphotonlight}|_]=Ps) ->
split_list(Ps, 24);
light_result(Ps) ->
Reply


Messages In This Thread
RE: YafaRay plugin; update roadmap and change list - oort - 10-14-2013 05:44 PM

Forum Jump:


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