ISET / iset3d-v3

LEGACY: Replaced by iset3d (v4) -- Read a PBRT file. Edit the parameters. Render an ISET scene or optical image.
MIT License
36 stars 8 forks source link

Warnings issued by tutorials #22

Open DavidBrainard opened 5 years ago

DavidBrainard commented 5 years ago

When I run the tutorials, there are a number of warnings that get printed out. My view is that tutorials should be written so that they do not produce alarming warnings. A new user can't tell if this is just normal operation or an indication that something is wrong, and the presence of the warnings has a negative impact on the impression one gets of the software.

Here is a list. Unfortunately, the run all tutorials mechanism doesn't make it easy to tell which tutorial is issuing which warning, but a global search on the custom string should identify the candidates for each.

**** TWICE ON THIS ONE Warning: At the moment, we don't have data for accommodationgreater than 9.25 dpt. This may change in the near future, but forwe set accommodation to 9.25 dpt.

In convertToNavarroAccomm (line 48) In setNavarroAccommodation (line 46) In sceneEye/write (line 67) In sceneEye/render (line 27) In t_rayTracingIntroduction (line 112) In UnitTest.runProjectTutorials>runTheTutorial (line 106) In UnitTest.runProjectTutorials (line 55) In piRunTutorialsAll (line 40)

**** MANY TIMES ON THIS ONE Warning: No accommodation! Setting to 5 diopters.

In sceneEye/write (line 63) In sceneEye/render (line 27) In t_rayTracingIntroduction (line 76) In UnitTest.runProjectTutorials>runTheTutorial (line 106) In UnitTest.runProjectTutorials (line 55) In piRunTutorialsAll (line 40)