make the rendering result more comfortable, also add serveral c++ notes