P-152: Virtual World Concept Update 21: Spherical Terrain: Sphere Texturing
I have successfully added basic procedural texturing to this project. I have simple used the perlin noise to colour each vertex point.
I have used an If statement to select one colour from a range of 8 colours (from deep water to snow) based on the height of the noise at that point. This has produced some very nice results in the below images.
I obtained the colour values from THIS very useful tutorial from libnoise’s sourceforge site.
In order to improve the quality of the texture, I will need to increase the resolution of the terrain, as well as modify the parameters of the perlin noise function, I also intend to add a smooth gradient to the pixel colours, instead of choosing a solid colour based on height.
Once I have a basic texture working, I can start implementing collision detection on the sphere, and then I can begin working on paging and very large terrains.
To generate the starfields in the below images, I used the very useful free program “Spacescape” , available HERE.












