added optional OSG rendering for rigid demo