#!/bin/bash

# Size settings for my Debian 12.6 virtual machine to generate screenshots of size 1400 x 1050.
# Use Tcl3D-Full distribution and stick SpaceMouse to laptop.

# First produce screenshots for all demos with default settings.
tclsh presentation.tcl --size 1390 995 --auto --screenshot

# To look good some demos need to run a little longer.
tclsh presentation.tcl --size 1390 995 --auto --screenshot --wait 4 LibrarySpecificDemos/tcl3dOgl/tcl3dChaos.tcl
tclsh presentation.tcl --size 1390 995 --auto --screenshot --wait 3 LibrarySpecificDemos/tcl3dOgl/animlogo.tcl

# As OSG demos are not reentrant, produce screenshots for all OSG demos
# by calling the presentation framework for each individual file.
tclsh CreateScreenshots.tcl OpenSceneGraph 1390 995

