open-gl demo for cg class