Perlin Noise

Winning Academy Awards with CS

Setup

I have updated code on the examples repo on github. Start by checking the status of your personal examples repo using git status and committing any local changes. Refer to git status help page for instructions, particularly on files that have been modified.

Next, fetch upstream changes. If you have committed local changes, merge conflicts should be minimal

[~]$ cd ~/cs40/examples
[examples]$ git fetch upstream
[examples]$ git merge upstream/master
[examples]$ git push

Open up a terminal and navigate to the w10-noise directory.

In a second terminal, navigate to the build folder and run make -j8 to get the w10-noise folder.

[~]$ cd ~/cs40/examples/build/
[build]$ make -j8
[build]$ cd w10-noise
[w10-noise]$ ./test_noise
The demo will create a bunch of png files that you can view with geeqie.
Links
Adrian Biagioli's review of Perlin noise. Squiggle Vision
Related topics
Simplex Noise
Voronoi/Worley Noise
[~]$ cd ~/cs40/examples
[examples]$ git fetch upstream
[examples]$ git merge upstream/master
[examples]$ git push

Open up a terminal and navigate to the w11-noise2 directory.

In a second terminal, navigate to the build folder and run make -j8 to get the w11-noise2 folder.

[~]$ cd ~/cs40/examples/build/
[build]$ make -j8
[build]$ cd w11-noise2
[w11-noise2]$ ./clouds