Hi ,

I have coded two procedures that I would like help with combining:

1. 3D Sphere-Creation Procedure

2. 3D Terrain-Forming Procedure [using the Diamond Square Algorithms]

Details of the Diamond Square Algorithms are here:

http://gameprogrammer.com/fractal.html#diamond

Proc 1 creates a 3D sphere in a Viewport and Proc 2 creates a random terrain on a 3D plane.

I would like to combine the second procedure with the first such that the resulting procedure creates a 3D terrain on the sphere.

ANY help is appreciated.

Thanks

Q


PS