Hello!
Thanks for answering. I was already aware of the Quadtree project from Codeplex. I don't have a complete understanding of how it works, but I am aware that it's one of the best ways to go about making big terrains; I know it divides the terrain in sectors, subdividing each node in 4 smaller nodes, and repeating that process for each new node, and at each time, only the nodes in view are drawn, increase performance greatly.
However, my reasons for asking this question, was not to get the most effective terrain engine running (i.e. not trying to make a QuadTree) but trying, for educational puorposes, to experiment and learn with the samples provided on this site. I'm still somewhat of a begginer in 3D programming, and was impressed at how a custom processor (TerrainProcessor) enabled me to just, add a bmp to the project, and load it directly as a Model, without having to make terrain generation myself. But besides being able to render it on screen, I'm clueless about what else I can do with that model. In particular, I'm clueless about there being a way to, get the height at a particular point, with the way things are defined.
In the GetHeight function from QuadTree project, the function had direct access to the heightdata of the terrain, and through a series of calculations, got the respective Y out of it.
With the TerrainProcessor, in my understanding, what I get is just a Model object. How can I proceed to get the height information out of just that?
Thanks!
David Gouveia