summaryrefslogtreecommitdiffstats
path: root/src/Noise/Noise.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-29Fixed QtBiomeVisualiser compilation.Mattes D1-1/+0
2014-11-23Removed unnecessary #includesTiger Wang1-1/+0
2014-11-18Moved all Noise-related files into a separate folder.Mattes D1-24/+0
2014-11-18Refactored cRidgedNoise into a separate template.Mattes D1-170/+1
This allows us to make the ridges out of any noise and to combine the cRidgedNoise with cOctavedNoise.
2014-11-17Added cOctavedNoise template.Mattes D1-174/+0
This allows us to use any noise generator in the combination of octaves.
2014-11-17Fixed include path.Mattes D1-1/+1
2014-11-17Added cImprovedNoise implementation.Mattes D1-5/+269
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-8/+8
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-8/+8
2014-08-21Added initializers for class members.Mattes D1-0/+5
As reported by Coverity, these weren't initialized.
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-29/+29
2014-07-19Code style: Fixed braces on separate lines.madmaxoft1-4/+8
2014-07-17Normalized comments.madmaxoft1-7/+7
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
2014-07-17Fixed basic whitespace problems.madmaxoft1-25/+25
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-06-19Nullify deleted pointers.archshift1-0/+4
2014-06-10Fixed clang warnings about abs() in Noise.cpp.madmaxoft1-2/+2
MSVC provides a float overload of abs(), clang does not. Using the proper fabs().
2014-06-10Fixed gcc compilation.madmaxoft1-2/+2
2014-06-09Added cRidgedMultiNoise, fixed cPerlinNoise.madmaxoft1-1/+169
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-04-27Fixes to uninitallsed array access in Noise.cppTycho1-0/+2
CID 43634, 43634
2014-04-25Should fix CIDs 43631, 43632 and 43633jfhumann1-0/+2
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-9/+13
2014-04-04Changed cNoise seed to signed.madmaxoft1-1/+1
2014-03-14Fixed a couple of missing defsTycho1-8/+0
2013-12-20Fixed clang warnings in Noise.cpp.madmaxoft1-20/+20
Fix-a-random-warning-per-day :)
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-05-15Moved noise debugging into the Noise.* filesmadmaxoft@gmail.com1-0/+83
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1485 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-15Fixed 2D linear upscale to compile on Linux, added a test for it.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1484 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-12Renamed linear interpolation from Noise.h to a more proper LinearUpscale and moved it to a separate file.madmaxoft@gmail.com1-50/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-11Noise: Fixed optimized Cubic noise calculationmadmaxoft@gmail.com1-1/+64
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1469 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-09Noise: Added an efficient 3D cubic noise generationmadmaxoft@gmail.com1-0/+252
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1466 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-22Noise: Implemented 2D Perlin noise, removed unused parameters.madmaxoft@gmail.com1-7/+138
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1402 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-17Noise: removed the unused SSE branches and unused interpolation methods. Removed the Noise.inc file.madmaxoft@gmail.com1-307/+115
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1391 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-16Implemented the new cCubicNoise in 2Dmadmaxoft@gmail.com1-9/+296
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29DistortedVoronoi BiomeGen now uses 4x4 linear interpolation for distortion, 50 % speed increase in the chunk generator with a hardly noticeable change in biome shapes.madmaxoft@gmail.com1-1/+73
git-svn-id: http://mc-server.googlecode.com/svn/trunk@708 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-304/+304
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-22Noise function optimization (chunk generation now about 1.5x faster :)madmaxoft@gmail.com1-7/+14
git-svn-id: http://mc-server.googlecode.com/svn/trunk@317 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-0/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-12-26Made some functions in cChunk and cNoise inline, this should significantly increase chunk generation speedfaketruth1-43/+11
git-svn-id: http://mc-server.googlecode.com/svn/trunk@115 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-25Using SSE instructions for noise (terrain generation)faketruth1-0/+70
Unfortunately the noise functions is only like 7% faster, so you won't even notice git-svn-id: http://mc-server.googlecode.com/svn/trunk@9 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-10-03MCServer c++ source filesfaketruth1-0/+253
git-svn-id: http://mc-server.googlecode.com/svn/trunk@3 0a769ca7-a7f5-676a-18bf-c427514a06d6