P-152: Virtual World Concept Update 18: Spherical Terrain
I have made significant progress on the spherical terrain. I now have a noise function applied to the terrain, and I can generate a decent looking terrain surface.
This has led me to what I suspect will be the most difficult part of this project, which is aligning the seams of the planes. I need to find a way to join the seams together smoothly, without any visible distortion.
I am working on a solution involving linear interpolation. I intend to isolate groups of vertices near the edges of the planes, and determine which two seams are in contact with each other at each boundary. I can then get the heights of the vertices closest to the boundaries on both sides, and use linear interpolation to move the vertices in the boundary region in such a way as to smoothly join the two edges together.
Isolating the vertices has proven difficult, and I am still having some problems with that. I am now attempting to gain access to the data that I need in order to perform the interpolation. This required some reworking of my code, since I was using a single vertex list for each plane, filling it, then emptying it and using it again for the next plane. However, for the linear interpolation to work, I need to gain access to the vertex lists of multiple planes at once, so I needed to re-code the system to use a different vertex list for each plane.
This now works, and I am almost ready to test my linear interpolation concept.












