Git Product home page Git Product logo

blender-python-procedural-level-generation's Introduction

Blender-Python-Procedural-Level-Generation

Collection of scripts for generating 3D levels (environments/dungeons) procedurally. Leverages Blender's Python API. Currently a work in progress.

Instructions to run

  1. Open a new instance of the Blender program
  2. Navigate to the scripting screen https://docs.blender.org/manual/en/latest/interface/window_system/screens.html
  3. Import the script via the Open button or click the New button and paste the contents of a script into the script editor
  4. Click the Run Script button

For an introduction to Blender scripting with Python https://docs.blender.org/manual/en/latest/advanced/scripting/introduction.html

Special notes about versioning

The scripts in 2.7 will not work in 2.8 but the scripts in 2.8 continue to work in 2.9+ If at some point in the future breaking API changes are introduced a new folder will be added for the scripts to be ported

3D model output examples

random walk via cube placement example 3D model output https://sketchfab.com/models/97ef663c8f6040b8aecdaca2aa87989e

random walk via extrusion example 3D model output https://sketchfab.com/models/a04f59e37966449c98c2839999800c8a

recursive backtracking algorithm example 3D model output https://sketchfab.com/models/7437daa03a0543d48c5eb599681d7e07

recursive division algorithm example 3D model output https://sketchfab.com/models/8587b464b2034485886cd094c7adf14c

cellular automata / game of life algorithm example 3D model output https://sketchfab.com/3d-models/low-poly-procedural-cave-maze-environment-2b0ad5a175b5419ea560fa595e53e9f4

castle dungeon game level example output https://sketchfab.com/3d-models/procedurally-generated-level-with-wall-open-top-ca5adebd3fae4597b9d1cedfb81d742f - open https://sketchfab.com/3d-models/procedurally-generated-level-a3fc50945d13465e81d23e75417bc20f - closed

blender-python-procedural-level-generation's People

Contributors

aaronjolson avatar

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.