Sample of preparing and rendering