I have a lot of data in example in VBO or sth like that and i want to display only nearest data to “user eye” - is there any solution ?
I mean if you play e.g. GTA you can see that new elements are rendered on demand.
Thx for rep’s
PS. I’ve come up with solution to check position and if “if” is positive render element - but it’s the simpliest and probably not efficient with a lot of data…
You should organize your geometry in a spatial subdivision structure, for example a kd-tree, bounding volume hierarchy, octree or regular grid. This problem is not as easy as it seems and has been the topic of much research over the years.
GTA = Grand Theft Auto. A typical FPS (first person shooter) style game. I assume he wants efficient culling of his data to render only whats required.