# | Line 109 | Line 109 | setambres( /* set ambient resolution */ | |
---|---|---|
109 | /* set min & max radii */ | |
110 | if (ar <= 0) { | |
111 | minarad = 0; | |
112 | < | maxarad = thescene.cusize*0.5; |
112 | > | maxarad = thescene.cusize*0.2; |
113 | } else { | |
114 | minarad = thescene.cusize / ar; | |
115 | maxarad = 64.0 * minarad; /* heuristic */ | |
116 | < | if (maxarad > thescene.cusize*0.5) |
117 | < | maxarad = thescene.cusize*0.5; |
116 | > | if (maxarad > thescene.cusize*0.2) |
117 | > | maxarad = thescene.cusize*0.2; |
118 | } | |
119 | if (minarad <= FTINY) | |
120 | minarad = 10.0*FTINY; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |