simplex noise – the megastructure development blog http://blog.megastructure.org tracking construction of megaprojects Sun, 23 Dec 2018 15:54:33 +0000 en-US hourly 1 https://wordpress.org/?v=5.0.2 NoiseViewer, version 1.75 http://blog.megastructure.org/2009/08/noiseviewer-version-1-75/ Wed, 19 Aug 2009 06:37:19 +0000 http://blog.megastructure.org/?p=45 Overview of version 1.75

Certain breakthroughs have led us to a plethora of new and amazing noise! We have made the leap from continuous noise to discrete noise patterns, which will help us later.

Here is a nice island, which is trivial to make in the latest version:

nice islands

(XML)

And here are some shots of discrete noise:

Squareland

Squareland2

(XML)

Discrete layers (like the squares and circles) are exciting because they represent actual structural entities in the future Megastructure simulation.

And if that wasn’t enough for this version, Wolfgang fixed XML input and output on OS X, as well as a number of annoying visual bugs! Due to a “CTRL” button issue on mac, we also added right-click as an alternative way to zoom in and out of the image.

Features on the way

The upcoming immediate goals are:

  • Easy image output
  • More layer types
  • Beginning 3D layers built on top of discrete layer types

Standard boilerplate

From what I understand of the licenses, I am allowed to use these libraries. Please understand that the code and programs linked to below are provided “as-is”. Also note that running any program found on the internet carries risk, and the responsible user always scans for viruses, etc.

Click and drag to pan the current layer. Right-click-drag or CTRL+click-and-drag adjusts the zoom level. Shift+click-and-drag adjusts the current layer’s selected parameter.

Compiled executable (Windows, ~379KB): NoiseViewer_v1.75.zip

Source code, libraries and projects (Visual Studio 2008/OS X, ~4,277KB): NoiseViewerSource1.75.zip

Feedback would be greatly appreciated!!

]]>
NoiseViewer – version 1.5 http://blog.megastructure.org/2009/08/noiseviewer-version-1-5/ Tue, 11 Aug 2009 12:01:54 +0000 http://blog.megastructure.org/?p=23 The NoiseViewer project has been progressing slowly but surely. This new version paves the way for sub-layers to control variables in higher layers of noise.

For instance, you assign an “input” layer to define the changing cutoff value for every point in the top layer. Here is a screenshot illustrating this feature in action:

Layered noise, using a sub-layer to control cutoff

This version also fixes a number of stability issues. The code is much cleaner, though still not as readable as I would like.

Furthermore, this release is notable for compatibility with OS X. Mac compatibility was graciously added/fixed/tweaked by Wolfgang, and all relevant project files can be found in the source package under the “osx” directory. Thanks, Wolfgang!

From what I understand of the licenses, I am allowed to use these libraries. Please understand that the code and programs linked to below are provided “as-is”. Also note that running any program found on the internet carries risk, and the responsible user always scans for viruses, etc.

Click and drag to pan around the noise. CTRL+click-and-drag up and down adjusts the zoom level. Shift+click-and-drag adjusts the noise cutoff point.

Compiled executable (Windows, ~339KB): NoiseViewer_v1.5.zip

Source code, libraries and projects (Visual Studio 2008/OS X, ~3,571KB): NoiseViewerSource1.5.zip

Feedback would be greatly appreciated!!

]]>
NoiseViewer v1.1 – now with GLUI http://blog.megastructure.org/2009/07/noiseviewer-v1-1-now-with-glui/ Sat, 18 Jul 2009 22:11:42 +0000 http://blog.megastructure.org/?p=19 A whole lot of changes have gone into the new version of the NoiseViewer. It is by no means a truly usable piece of software, but because of the numerous changes made (and to be made), this snapshot is being made public.

The GLUI library has been added, in order to give more interface options. Hope remains that the finished product will be cross-platform. (Except for a few string manipulations, nothing is necessarily Windows about the NoiseViewer.) It was very easy to integrate GLUI into the previous GLUT code. Unfortunately, the GLUI library may turn out to be too simplistic for the NoiseViewer. We shall see.

The source has been bundled with a compiled GLUI library 2.35. You can get the source for that at the official GLUI SourceForge site.

From what I understand of the licenses, I am allowed to use these libraries. Please understand that the code and programs linked to below are provided “as-is”. Also note that running any program found on the internet carries risk, and the responsible user always scans for viruses, etc.

Click and drag to pan around the noise. CTRL+click-and-drag up and down adjusts the zoom level. Shift+click-and-drag adjusts the noise cutoff point.

Compiled executable (Windows, ~336KB): NoiseViewer_v1.1.zip

Source code, libraries and projects (Visual Studio 2008, ~2,288KB): NoiseViewerSource1.1.zip

Feedback would be greatly appreciated!!

]]>
NoiseViewer version 1 http://blog.megastructure.org/2009/07/noiseviewer-version-1/ Fri, 10 Jul 2009 10:38:50 +0000 http://blog.megastructure.org/?p=8 The NoiseViewer is a simple program that lets you explore a two-dimensional noise map generated in real-time. This is a preliminary tool designed to be a starting point for mapping out and viewing procedural content. I hope to make the NoiseViewer more and more sophisticated as layers of noise and objects start stacking up.

NoiseViewer v1.0 screenshot

This is terribly preliminary!

  • Uses Stefan Gustavson’s implementation of Simplex Noise (available here). I’ve made a few changes, so that it works better on Windows. The source download (below) includes the modified Simplex Noise code. For more information on Simplex Noise, see Simplex noise and Perlin noise.
  • Uses FreeGLUT, also included in the source below.
  • Some of the code is based on wonderful examples found on the OpenGL site, numerous snippets found online, and of course NeHe’s excellent tutorials.
  • My code is not elegant. This version focuses on making something work, nothing more.

From what I understand of the licenses, I am allowed to use these libraries. Please understand that the code and programs linked to below are provided “as-is”. Also note that running any program found on the internet carries risk, and the responsible user always scans for viruses, etc.

Click and drag to pan around the noise. CTRL+click-and-drag up and down adjusts the zoom level. Shift+click-and-drag adjusts the noise cutoff point.

Compiled executable (Windows, ~266KB): NoiseViewer_v1.zip

Source code, libraries and projects (Visual Studio 2008, ~1,456KB): NoiseViewer_v1_src.zip

Feedback would be greatly appreciated!!

]]>