source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/missing-data/random_light.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 211 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function l = random_light(fo) |
2 | if fo == .25 | |
3 | dir = random_scene_normal; | |
4 | elseif fo == .5 | |
5 | dir = random_normal; | |
6 | else | |
7 | error('Only implemented occlusion fractions of .25 and .5 for lighting.'); | |
8 | end | |
9 | l = dir; | |
10 | ||
11 |
Note: See TracBrowser
for help on using the repository browser.