[SOLVED] Terrain Rotation and Zooming without Redraw

Hi,
I’m writing my first 3D game in Java with LWJGL, and I am having some problems with rendering terrain. The terrain is planned to be massive, 100 000 000 squares. About 40 000 square kilometres. I know that I can’t draw them all at once, so I started with a much smaller, 200x200 area. I use a heightmap to load height values from, and then use TRIANGLE_STRIPS to draw rows. It can render really fast, but I run into a potentially serious problem. Whenever I try and rotate or zoom in using my keyboard, it flickers. It takes less than a second to draw, but it does flicker. I can image that that will become a very serious problem when I have a massive terrain. It requires me to redraw everything every time the view changes.

I was wondering if there was a way to manipulate the camera view without having to redraw the terrain.

Thanks,
Jacob

As far as I know, there is not. But this is a time to use VBOs or display lists.

Well, I do already use Display Lists. I use one for the terrain itself, but when it is rotated or zoomed, I have to recreate the display list. Unless I have something fundamentally wrong.

Oh. Wait a minute. I guess I WAS doing something fundamentally wrong :clue:. I changed some stuff around, and now it is so incredibly smooth I just want to hug it. Sorry about that. 8)