DynamicDraw.bv.lua 821 B

1234567891011121314151617181920212223
  1. ----------------------------------------------------------------------------------------------------
  2. --
  3. -- Copyright (c) Contributors to the Open 3D Engine Project.
  4. -- For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. --
  6. -- SPDX-License-Identifier: Apache-2.0 OR MIT
  7. --
  8. --
  9. --
  10. ----------------------------------------------------------------------------------------------------
  11. g_screenshotOutputFolder = ResolvePath('@user@/Scripts/Screenshots/DynamicDraw/')
  12. Print('Saving screenshots to ' .. NormalizePath(g_screenshotOutputFolder))
  13. OpenSample('RPI/DynamicDraw')
  14. ResizeViewport(800, 500)
  15. -- Vulkan's line width is different than dx12's
  16. SelectImageComparisonToleranceLevel("Level F")
  17. CaptureScreenshot(g_screenshotOutputFolder .. '/screenshot_1.png')
  18. OpenSample(nil)