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:30 PM (This post was last modified: 10-27-2013 12:57 PM by micheus.)
Post: #10
RE: TheBounty Renderer; my fork of YafaRay project
(10-26-2013 05:25 PM)povmaniac Wrote:  Btw.. 'Save' and 'Load' options work fine... but I obtain an crash with 'Reset'
Code:
Dump written 2013-10-26_13-48
Version: 1.5.pre1.74.g2aee
Window: {dialog,#Ref<0.0.0.692>}
Reason: {case_clause,{1.0,50.0}}
As dgud said it's related to default values, since Reset will bring they back.
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).


Back to DOF value: what about to use the distance calculated from AIM - as Kerkythea and POV-Ray already do - to set the initial value to the DOF field? This way, if the user want to change it the field will still be there to be changed.
By playing with Aim I found it simple to correctly set the DOF.
If OK, I can add its suppor.

EDIT: I just saw that the exporter code (export_camera/3) is already using the distance to Aim too. So, maybe would we just remove this field from the dialog?
Thread Closed 


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

Forum Jump:


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