Frequency Spectra Filtering for Perlin Noise | The Computer Games Journal Skip to main content
Log in

Frequency Spectra Filtering for Perlin Noise

  • Published:
The Computer Games Journal

Abstract

The procedural generation of terrain with coherent noise is a useful technique but limited in the range and realism of the terrains it can output. Often the results are repetitive. The aim of this paper is to present a method of parameterizing control of the frequency spectra of multi-octave Perlin noise allowing a greater range of terrain characteristics. The frequency spectra of the noise function are selectively attenuated with the use of a cosine function. The parameters are used to control the phase and frequency of the cosine function allowing a wide range of complex spectral characteristics of the noise function to be modulated. The result is that a more varied selection of terrain types can be generated than the standard algorithm alone. The work may be improved upon by using automated control of the filter parameters and adding additional parameters.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (Japan)

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  • Di Martino, G., Iodice, A., Riccio, D., Ruello, G., & Zinno, I. (2017). The role of resolution in the estimation of fractal dimension maps from SAR data. Remote Sensing, 10(1), 9.

    Article  Google Scholar 

  • Frade, M., de Vega F.F., Cotta, C. (2008). Modelling video games’ landscapes by means of genetic terrain Programming—A new approach for improving users’ experience. In M. Giacobini, et al. (Eds.), Applications of evolutionary computing. EvoWorkshops 2008. Lecture notes in computer science (Vol. 4974). Berlin, Heidelberg: Springer.

  • Gagnon, J.-S., Lovejoy, S., & Schertzer, D. (2006). Multifractal earth topography. Nonlinear Processes in Geophysics, 13(5), 541–570.

    Article  Google Scholar 

  • Heaven, D. (2016). The Daily Newsletter. [Online] Available at: https://www.newscientist.com/article/2104873-when-infinity-gets-boring-what-went-wrong-with-no-mans-sky/.

  • Hnaidi, H., Guérin, E., Akkouche, S., Peytavie, A., & Galin, E. (2010). Feature based terrain generation using diffusion equation. Computer Graphics Forum, 29(7), 2179–2186.

    Article  Google Scholar 

  • Musgrave, F. K. (1994). Heterogeneous terrain models. Texturing & modeling (pp. 499–506). Burlington: Morgan Kaufmann Publishers.

    Google Scholar 

  • Musgrave, F. K., Kolb, C. E., & Mace, R. S. (1989). The synthesis and rendering of eroded fractal terrains. Computer Graphics, 23(3), 41–50.

    Article  Google Scholar 

  • NASA 2017. New Horizons Image Gallery. NASA.

  • Olsen, J. (2004). Realtime Procedural Terrain Generation. Technical Report, University of Southern Denmark.

  • Parberry, I. (2014a). Amortized noise. Journal of Computer Graphics Techniques, 3(2), 2331–7418.

    Google Scholar 

  • Parberry, I. (2014b). Tobler’s first law of geography, self similarity, and perlin noise: A large scale analysis of gradient distribution in Southern Utah with application to procedural terrain generation. Technical Report no. LARC-2014-04. Laboratory for Recreational Computing, Dept. of Computer Science and Engineering, University of North Texas.

  • Parberry, I. (2014c). Designer worlds: Procedural generation of infinite terrain from real-world elevation data. Journal of Computer Graphics Techniques, 3(1), 74–85.

    Google Scholar 

  • Parberry, I. (2015). Modeling real-world terrain with exponentially distributed noise. Journal of Computer Graphics Techniques, 4(2), 1–9.

    Google Scholar 

  • Parberry, I., & Doran, J. (2010). Controlled procedural terrain generation using software agents. IEEE Transactions on Computational Intelligence and AI in Games, 2(2), 111–119.

    Article  Google Scholar 

  • Peachey, D. (2003). Spectral synthesis. Texturing & modeling: A procedural aproach (pp. 85–88). Burlington: Morgan Kaufmann Publishers.

    Google Scholar 

  • Schack-Kirchner, H., & Datta, P. S. (2010). Erosion relevant topographical parameters derived from different DEMs—A comparative study from the indian lesser Himalayas. Remote Sensing, 2, 1941–1961.

    Article  Google Scholar 

  • van Lawick, J., & van Pabst, H. J. (1996). Dynamic terrain generation based on multifractal techniques. In M. Chen, P. Townsend, J. A. Vince (Eds.), High performance computing for computer graphics and visualisation (pp. 186–203). London: Springer.

    Google Scholar 

Bibliography

  • Bishop, M. P., & Shroder, J. F. (2000). Remote sensing and geomorphometric assessment of topographic complexity and erosion dynamics in the Nanga Parbat massif. Tectonics of the Nanga Parbat Syntaxis, 1, 181.

    Google Scholar 

  • Fraclac. (2012). What are Multifractals? [Online] Available at: https://imagej.nih.gov/ij/plugins/fraclac/FLHelp/Multifractals.htm. Accessed 07 Aug 2018.

  • Lovejoy, S., & Schertzer, D. (2007). Scale, scaling and multifractals in geophysics: Twenty years on. In Nonlinear dynamics in geoscience (pp. 311–337). New York: Springer.

  • Ode, Å., Tveit, M. S., & Fry, G. (2008). Capturing landscape visual character using indicators: touching base with landscape aesthetic theory. Landscape Research, 33(1), 89–117.

    Article  Google Scholar 

  • Pain, C. F. (2005). Size does matter: Relationships between image pixel size and landscape process scales. In A. Zerger & R. M. Argent (Eds.), MODSIM 2005 International Congress on Modelling and Simulation (pp. 1430–1463). Melbourne: Modelling and Simulation Society of Australia and New Zealand.

    Google Scholar 

  • Riedi, R. H. (1999). An introduction to multifractals. Technical Report, Dept Statistics, Rice University.

  • Togelius, J., Champandard, A.J., Lanzi, P.L., Mateas, M., Paiva, A., Preuss, M., & Stanley, K.O. (2013). Procedural Content Generation: Goals, Challenges and Actionable Steps. In: Artificial and Computational Intelligence in Games. Dagstuhl: Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik.

  • Vukomanovic, J., & Orr, B. J. (2013). Landscape aesthetics and the scenic drivers of amenity migration in the new West: Naturalness, visual scale, and complexity. Land, 3, 390–413.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mark Bennett.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Appendices

Appendix 1: Performance Data

This table is a set of benchmarks running the algorithm described above. The algorithm was developed in C# using Unity 2018. No effort was made to optimize the code and Unity’s built in Mathf functions for Perlin noise and cosine were used. Both unmodified Perlin noise and the modified Perlin noise were measured and the results compared The software was run on an Intel Xeon E5-1630 v3 3.7 GHz 8 core with 32 GB RAM and a GeForce GTX1070 4 GB graphics card.

Run number

Modulated noise (ms)

Unmodulated noise (ms)

Run 1

681

437

Run 2

654

485

Run 3

664

439

Run 4

564

545

Run 5

720

448

Run 6

668

458

Run 7

586

440

Run 8

620

468

Run 9

692

488

Run 10

684

536

Average

653.3

474.4

Appendix 2: Source Code

The source code for this project is available on Github at: https://github.com/MarkAtSolent/Modulated-Perlin-Noise.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bennett, M. Frequency Spectra Filtering for Perlin Noise. Comput Game J 8, 13–24 (2019). https://doi.org/10.1007/s40869-018-0074-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40869-018-0074-7

Keywords

Navigation