libnoise/1.0.0

A general-purpose library that generates three-dimensional coherent noise. Useful for terrain generation and procedural texture generation. Uses a broad number of techniques (Perlin noise, ridged multifractal, etc.) and combinations of those techniques.
Recipe info
LGPL-2.1-or-later
2023-02-11

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
libnoise/1.0.0

Using libnoise

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
libnoise/1.0.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("libnoise/1.0.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): libnoise
  • CMake target name(s): libnoise::libnoise
  • pkg-config file name(s): libnoise.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(libnoise REQUIRED)
# ...
target_link_libraries(YOUR_TARGET libnoise::libnoise)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the libnoise homepage listed above:

#include "noise/basictypes.h"
#include "noise/exception.h"
#include "noise/interp.h"
#include "noise/latlon.h"
#include "noise/mathconsts.h"
#include "noise/misc.h"
#include "noise/model/cylinder.h"
#include "noise/model/line.h"
#include "noise/model/model.h"
#include "noise/model/plane.h"
#include "noise/model/sphere.h"
#include "noise/module/abs.h"
#include "noise/module/add.h"
#include "noise/module/billow.h"
#include "noise/module/blend.h"
#include "noise/module/cache.h"
#include "noise/module/checkerboard.h"
#include "noise/module/clamp.h"
#include "noise/module/const.h"
#include "noise/module/curve.h"
#include "noise/module/cylinders.h"
#include "noise/module/displace.h"
#include "noise/module/exponent.h"
#include "noise/module/invert.h"
#include "noise/module/max.h"
#include "noise/module/min.h"
#include "noise/module/module.h"
#include "noise/module/modulebase.h"
#include "noise/module/multiply.h"
#include "noise/module/perlin.h"
#include "noise/module/power.h"
#include "noise/module/ridgedmulti.h"
#include "noise/module/rotatepoint.h"
#include "noise/module/scalebias.h"
#include "noise/module/scalepoint.h"
#include "noise/module/select.h"
#include "noise/module/spheres.h"
#include "noise/module/terrace.h"
#include "noise/module/translatepoint.h"
#include "noise/module/turbulence.h"
#include "noise/module/voronoi.h"
#include "noise/noise.h"
#include "noise/noisegen.h"
#include "noise/vectortable.h"