update code

1.modify the framework of the project
2.using the fbo to render