change from immediate mode to vbo (vertex buffer object) for scenario rendering