Learning realism