• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    C++
  • License
    GNU Lesser Genera...
  • Created almost 15 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

this is a fork of libnoise which changes the build system from static Makefiles to cmake

My personal fork was to use this alongside a native plugin for the Unity game engine. It is still licensed under the LGPL as before. Primarily, I made some modifications to allow compiling to a Windows x64 DLL.

libnoise

This is a fork of libnoise which includes noiseutils in the building and installing process. It also contains FindLibNoise.cmake

This is a fork of libnoise which changes the build system from static Makefiles to cmake.

A portable, open-source, coherent noise-generating library for C++

libnoise is a portable C++ library that is used to generate coherent noise, a type of smoothly-changing noise. libnoise can generate Perlin noise, ridged multifractal noise, and other types of coherent-noise.

Coherent noise is often used by graphics programmers to generate natural-looking textures, planetary terrain, and other things. The mountain scene shown above was rendered in Terragen with a terrain file generated by libnoise. You can also view some other examples of what libnoise can do.

In libnoise, coherent-noise generators are encapsulated in classes called noise modules. There are many different types of noise modules. Some noise modules can combine or modify the outputs of other noise modules in various ways; you can join these modules together to generate very complex coherent noise.

Compiling

cmake supports 'out of source' builds by default, to use it do this:

mkdir build
cd build
cmake ..
make

this should create everything into the build/ directory

Installing

this is covered by cmake:

make install

Usage

see examples for details but in general:

  1. you need to supply the library -lnoise to the linker
  2. the includes to the compile with -I /usr/include/noise

OR

Use provided FindLibNoise.cmake

A comment on performance

Using compiler optimizations for libnoise is strongly recommended. Using the unoptimized library is roughly a fifth as fast as using -O3 on my test computer.

this cmake build by default (if not in developer mode) will build with -O3

see: CMAKE_BUILD_TYPE

Type of build (Debug, Release, ...)

More Repositories

1

automate

qt4 (library) with frontend for rendering of 'Finite-state machines' as epsilon-/deterministic (DFA) and non-deterministic (NDFA) automates
C++
23
star
2

ogre-examples

this is a set of examples on how to use ogre as: mouse/keyboard/gamepad input, how to use cg and glsl shaders and how to create a sphere and rings
C++
19
star
3

nix-build-view

nix-build extension for better logging
C++
17
star
4

springrts.com-random-map-generator

this qt4 project aims to provide a procedural map generator for the springrts game at springrts.com
C++
9
star
5

nixos-declarative-containers-example

example how to use declarative containers to deploy arbitrarty webservices on the same system
9
star
6

qt-fuse-example

qfuse is a qt and FUSE example code
C++
7
star
7

nix-0.16-cmake

nix package manager with cmake support (instead of autotools)
C++
5
star
8

nix-ray

assistant for debugging the phases of a nix expression
Python
4
star
9

nNull

qt4 server/client which comunicate via dbus::systembus to execute scripts which affect the network configuration
C++
3
star
10

space-game

a tiny game using ogre3d/boost/others to create a kspaceships clone
C
3
star
11

mingw-nix-on-windows

using mingw with nix on windows
3
star
12

Multi-PlatformSoftwarePackageManagement

Source to my diploma thesis
3
star
13

wiki.nixos.org-scraper

scrapes the nixos wiki for offline use
CSS
2
star
14

libnoise-viewer

visualizer using qt4 to visualize a planetary surface
C++
2
star
15

mediawiki-theme-clean

clean skin for mediawiki by Kevin Hughes
JavaScript
2
star
16

nixos-search-options

a interactive search utility, written in javascript, serving via webserver, making it easy for admins/developers to find the options they need for their services.
HTML
2
star
17

relais.js

a node.js application running on my raspberry pi. it controls a set of tinkerforge dual relay bricklets using a master brick.
JavaScript
2
star
18

mediawiki-theme-nixos

nixos theme for the nixos.org mediawiki
JavaScript
2
star
19

evopedia

temporary home until i understand gitorious.org
C++
2
star
20

HeightMapColorizer

the qt4 based HeightMapColorizer colorizes a heightmap using a gradient
C++
2
star
21

openal-soft-pa

openal-soft with pulseaudio backend (there is another projet which is now included in openal-soft)
1
star
22

torrent

a qcoreapplication using the torrent example from the qt 4.x series with some patches
C++
1
star
23

blog.lastlog.de

Blog content of lastlog.de/blog
JavaScript
1
star
24

lauchner

launcher is a ncurses based simple c/c++ tool to launch and control a list of programs
C++
1
star
25

vertilgungsplan

ratenkreditrechner written in qt4 (this is one of my first qt4 projects)
1
star
26

myNixPkgs

my local nixpkgs overlay
1
star
27

gorm-examples

Has-many relations examle add/modify/delete
Go
1
star
28

selenium_crawler

example of how to use selenium to crawle webpage content on nixos linux using nix-shell
Go
1
star
29

qt-http-206-example

example qt 4.x code featuring how to do partial content 206 http downloads using QNetworkAccessManager
C++
1
star
30

mediakeys-controller

this software parses the /dev/input/eventX devices in order to capture certain events as volume up/down/mute
C
1
star