SCIRun
SCIRun copied to clipboard
ViewScene testing mode, part 2: connect a test module to all ViewScenes in regression networks
ReportMatrixInfo is the most basic, but we should think about a more useful module there before editing every network.
Objectives:
- Networks will fail when ViewScene output is null.
- Some detection of an all-black ViewScene, which means the renderer is messed up
- Possibly assert equality or "nearness" to a reference image matrix.
Networks are in src/ExampleNets/regression. For now, for each network file there, connect a ReportMatrixInfo to each ViewScene output port (3, red/green/blue), save network, run network, make sure no errors. You may submit intermediate pull requests if you want.
Submitted pull request. The following networks resulted in errors from adding the ReportMatrixInfo modules: ClipFieldInfo, disabledModules, and setuptdcs_colin27_patchelc. I did not add the ReportMatrixInfo modules to the ViewSceneBackgroundColor network because there was no information to report and would result in an error.
Stale issue message
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 60 days.
This issue is stale because it has been open 240 days with no activity. Remove the stale label or comment, or this will be closed in 60 days.
Need to write a script to ensure this stays up to date. At least the weird regression test failures are fixed (or I put them in the ignore folder to check later...need to verify).
This issue is stale because it has been open 240 days with no activity. Remove the stale label or comment, or this will be closed in 60 days.