gmin7 / autostereogram_generator

Random-Dot Stereogram generator with Perlin Noise source image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random-Dot Stereogram Generator

Using the paper from https://www.cs.waikato.ac.nz/~ihw/papers/94-HWT-SI-IHW-SIRDS-paper.pdf to turn my old ray caster into an autostereogram generator.
Perlin implementation adapted from source code found: http://eastfarthing.com/blog/2015-04-21-noise/
Can you spot the bunny?

Grayscale:

RGB:

Depth map(Spoiler!):

Perlin Noise

I wanted to see what it would be like using Perlin Noise to generate the source image prior to generating an RDS. My implementation works heavily off of the JS source code used in the very helpful demo found here: http://eastfarthing.com/blog/2015-04-21-noise/

However, as this version of Perlin Noise is not periodic, I must keep it at a high granularity to minimize the artifacts which arise:

About

Random-Dot Stereogram generator with Perlin Noise source image


Languages

Language:C++ 100.0%