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.


February 2008

Mo Tu We Th Fr Sa Su
Jan |  Today  | Mar
            1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29      

Search this blog

Most recent comments

  • At the games company where I work flash is used (in its open source… by Dan on this entry
  • Very nice, and a clever way to create the texture. by John Dale on this entry
  • That just about sums up my experience of Flash. Nice demo Bryan &n… by Steven Carpenter on this entry
  • I’ve no idea what I’m doing, but it’s fucking coo… by James Miles on this entry
  • Oh and if you are going to namedrop Ulysses, it helps to spell it c… by James Miles on this entry

Blog archive

Loading…
Not signed in
Sign in

Powered by BlogBuilder
© MMXII