Giter VIP home page Giter VIP logo

Organica Wild

A fully open PCG (procedural content generation) framework for Unity to create organic and natural looking worlds.

image


Install in your project

Organica Wild is a Unity Package. To use it add it add it via the Unity Package Manager. Import the samples from the Unity Package Manager to get started.


Features

PCG Pipeline Framework

Combine PCG Techniques in a defined interface to create stunning generators for your games. Instruction are in the Pipeline Manual.

Shape and Graph Grammars

Combine Mission graph grammar and shape grammar to create playable dungeon layouts. Instructions are in Grammar Manual.

Search based approach

Use a pre implemented genetic algorithm (NSGA-II) with a well defined interface to search for the best solution when generating your game assets. Instructions are in Search based Manual.

Perlin Noise

Profit from an improved perlin noise implementation with layered scaled noise to create more interesting patterns.

Cellular Automata

Use Cellular Automata to generate things like caves and much more.

Poisson Disk Sampling

Generate points with a minimum distance. A technique often used in rendering, can produce beautiful arrangements of objects in a scene.


Contribute

If you wish to contribute or develop your own extensions to the framework to this project please follow the contributing guidelines and setup the project as follows.

Setup

If you wish to change the core framework code you must add the package outside of the unity package manager. Since it only adds a read only copy of the package. To have an editable version of the project on your device proceed as described.:

Create an empty project.

Move to the projects Packages folder. Clone the project into the Packages/ folder of the Unity Project

cd <project folder>/Packages

Clone the repo into its own folder inside of the Packages folder.

git clone https://github.com/OrganicaWild/OrganicaWild.git

Wait for the clone and Unity upon opening the project unity will import the code as if you added the package via package manager. Viola, you have a editable copy of the code.

Make your changes and commit. To have your changes in the main repository, create a pull request.

Contribute in the samples

If you wish to contribute to the samples and provide the improved samples to the community then follow along here. The Samples~ folder is not visible inside of unity, because it ends with a Tilde.


NOTE

This is only needed if you wish to change the samples and push the changes to the Organica Wild repository. If you want to use the samples in your own project and develop on top them, follow along like Install


You can edit it normally outside of Unity. To verify your changes however, you may want to use the code inside of Unity. The easiest is to rename the folder before developing.

You can do this in your file explorer or in the terminal.

In terminal, navigate to package folder.

cd <project folder>/Packages/OrganicaWild

Rename folder to any name without a tilde (~) at the end for it to appear inside of Unity.

mv Samples~ Samples

Before commiting change the folder name back.

mv Samples Samples~

Viola, now you can change the samples and provide the improved samples to everyone.

organicawild's Projects

geometry3sharp icon geometry3sharp

C# library for 2D/3D geometric computation, mesh algorithms, and so on. Boost license.

organicawild icon organicawild

A fully open PCG (procedural content generation) framework for Unity to create organic and natural looking worlds.

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.