Example #1
0
void RenderingManager::slot_rendering_end()
{
    m_render_widget_update_timer.stop();

    print_final_rendering_time();
    print_average_luminance();

    archive_frame_to_disk();

    // Prevent manipulation of the camera after rendering has ended.
    m_camera_controller.reset();
}
Example #2
0
void RenderingManager::slot_rendering_end()
{
    m_render_widget_update_timer.stop();

    print_final_rendering_time();

    if (m_params.get_optional<bool>("print_final_average_luminance", false))
        print_average_luminance();

    if (m_params.get_optional<bool>("autosave", true))
        archive_frame_to_disk();

    // Prevent manipulation of the camera after rendering has ended.
    m_camera_controller.reset();
}