OpenGL and visiblity code
I have run into a problem.
My 3d game has a map that works like a big Grid. So basically you move around on a huge piece of graph paper
if you goto http://www.radioactivesoft.com/screenshots.htm you can see how the map looks by looking at the map editor, and how it gets drawn to the Gl Scene.
The problem i run into is this: the level is 60x60 Tiles.. and each tile is 10x10 Gl Units. The visibility is about 50 units deep... I couldn''t just go a loop thru all 3600 tiles!! that makes the FPS drop to about 6.
If you goto http://www.radioactivesoft.com/vis.gif you can see an illustration on my problem, and what i need as a solution.
Thank You with any help you can provide!
~Paul Giblock
You could make a quadtree with 60x60 tiles and do frustum culling?
"I like girl.. uhm programming ;)"
"I like girl.. uhm programming ;)"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement