Giter Site home page Giter Site logo

proceduralweather's Introduction

proceduralweather

Installation:

This was originally compiled using gcc on ubuntu. To compile it with a similar setup, just issue the command >make all. If you're not sure, look at the makefile and make sure the header files are included correctly for your OS. Also you need gcc. Then just use the executable and you should be able to generate the maps yourself.

Changing the seed:

You can change the seed in worldgen.h to get a different result. Don't forget to recompile.

Changing the map-overlay:

You can change the map-overlay (climate map view) by changing the number in line 107 in territory.cpp.

  0 - Windmap
  1 - Cloudmap
  2 - Rainmap
  3 - Humditymap
  4 - Tempmap
  5 - Average Windmap
  6 - Average Cloudmap
  7 - Average Rainmap
  8 - Average Humiditymap
  9 - Average Tempmap

For everything else you'll have to look at the code. Written in C++ by Nicholas McDonald, 2018.

proceduralweather's People

Contributors

weigert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

proceduralweather's Issues

Crash when compiling

Hey there! I found this through your blog post, which I found from a recent comment on r/proceduralgeneration on Reddit.

When try to compile this, I get the following error message:

g++ -std=c++11 territory.cpp -Wall -lSDL2 -I/usr/local/include -L/usr/local/lib -lnoise -lSDL2_image -lSDL2_ttf -o territory
In file included from view.h:4,
                 from territory.cpp:4:
worldgen.h:2:10: fatal error: noise/noise.h: No such file or directory
    2 | #include <noise/noise.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [makefile:7: all] Error 1

Reproduction steps:

git clone https://github.com/weigert/proceduralweather.git
cd proceduralweather/
make all

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.