rendering frame based on OSG and lua.