Help with choppy scenes

Blitz3D Forums/Blitz3D Beginners Area/Help with choppy scenes

Hello. I've never worked with 3D programming untill now and need some help with what is probably just very basic concepts.

I adapted an old 2D maze making function of mine so that it would create the maze in 3D using CreateCube()

EDIT: Image seen below in next post.

I'm pretty happy with the restuls, but when I actually run around it in first person the movement stutters depending on where in the maze I am and what direction I'm facing. The best I can tell, the stuttering happens more often when there's "more maze" in front of the camera (but behind the wall and thus not visible to the player), which seems strange to me.

Shouldn't any "maze" area that isn't actually be getting seen just get ignored? Or is it drawing the whole dungeon from far to near? Is there any obvious way to improve performance?

I'd be willing to reduce the camera draw range, or use fog, or any number of things since when the game is done the maze is going to be quite dark anyway. Also, since the maze is twisty, I doubt the player would ever be able to see very far in the distance anyway before a wall obstructed there vision.

Anyway, I'm stumped, this is a new kind of problem for me having come from 2D and text based games.

Thanks in advance :)