Skip to content

Commit

Permalink
Updated the README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbainbridge committed Jan 29, 2017
1 parent 820c93a commit 7d7dfcc
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
@@ -1,15 +1,22 @@
Blue Noise Generator:
=====================
# Blue Noise Generator:

This is a C++ project that generates a blue noise pattern through simulated annealing. Further details can be found in the SIGGRAPH 2016 paper "Blue-noise Dithered Sampling" by Iliyan Georgiev and Marcos Fajardo from Solid Angle. You can access this paper and others on the Solid Angle research page here: https://www.solidangle.com/arnold/research

Compiling and running the program will create two .pgm files, the original white noise pattern, and the new blue noise pattern. It will also produce a text file with the blue noise data in to be used somewhere else. The images just display the first dimension, but the text file should contain as many dimensions as specified by the depth parameter. Sample values in this file are in depth first order. Parameters are currently defined at the beginning of the main function, as members of the sData variable. The only real restriction is that the size parameter (resolution) has to be a multiple of four.
Compiling and running the program will create four .pgm files, the original white noise pattern, and the new blue noise pattern with their respective Fourier transformations. It will also produce a text file with the blue noise data in to be used somewhere else. The images just display the first dimension, but the text file should contain as many dimensions as specified by the depth parameter. Sample values in this file are in depth first order. Parameters are currently defined at the beginning of the main function, as members of the sData variable. The only real restriction is that the m parameter (exponent of two defining the resolution) has to be greater than one.

It might also be helpful to note that it was relatively trivial to convert this to use AVX2 instead of SSE3 instruction sets. However this would require at least Haswell architecture, and so I've left the implementation here as is.

![Alt text](../readme-pictures/screenshot_01.png?raw=true)
## Images:

Required dependencies are:
This is the input noise and it's Fourier transformation using the default settings

![Image](../readme-pictures/outputWhiteNoise.png?raw=true) ![Image](../readme-pictures/fourierWhiteNoise.png?raw=true)

This is the resulting blue noise and it's respective frequency representation

![Image](../readme-pictures/outputBlueNoise.png?raw=true) ![Image](../readme-pictures/fourierBlueNoise.png?raw=true)

## Required Dependencies:

* CMake 2.8
* TBB 4.2
Expand Down

0 comments on commit 7d7dfcc

Please sign in to comment.