modify simple mesh viewer