All entries for Monday 25 February 2008
February 25, 2008
First experiment with Perlin noise and Papervision3D
(Roll mouse over to activate)
The texture is generated from a 3D volume of Perlin noise, from which a bitmap for the surface of the sphere is then pulled. This dodges the problem of visible seams or distortion around the poles of the sphere, since it is effectively carved from a 3D material rather than simply wrapped in a 2D material.
Though I've implemented the noise generator in ActionScript, I've cheated here and embedded a pre-generated texture in the Flash file so I don't freeze anyone's browser. The lack of threading in ActionScript means that before I can generate the texture at run time, I need to change my code to split the work between frames.
Bryan Gale
Please wait - comments are loading

Loading…