Updated the deprecated example (for OSG 3.0) with latest changes.