Original Post
I have a tiling engine going. I have a 20x20 tile on the screen. Now I want to move around it. When I use gluLookAt() I end up moving the whole 20x20 array. I dont'' want to do this. I want to move the camera around so the tiles stay still? If I use glTranslatef() instead the tiles dont'' even show up? I am using
and
I dont'' see what would be wrong with any of the functions above. They work but when I remove gluLookAt() and use glTranslatef() to move around instead I get nothing? Any ideas why that would be. Thanks
gluPerspective(90.0f, static_cast<float>(SCREEN_WIDTH_1280) / static_cast<float>(SCREEN_HEIGHT_1024), 1.0f, 100.0f);
gluLookAt(0.0, 0.0, -30.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);