Giter Club home page Giter Club logo

tree-gen's Introduction

tree-gen

Procedural generation of tree models in blender

Tree Samples

Read the write up here.

I'd love to develop this into a fully usable blender plugin but don't currently have the time, if anyone would like to I'd very much support this.

If you want to try out the code as is:

  • Copy ch_trees into the blender addons folder (.../blender.app/Contents/Resources/2.78/scripts/addons on mac)
  • Restart blender
  • Start a new blend file and in the text editor panel open .../ch_trees/parametric/gen.py or .../ch_trees/lsystems/treegen.py
  • Uncomment the final few lines including construct(...)
  • Run the script (it will take a few seconds, or more, to generate the tree so don't worry if blender appears to freeze - if you open blender through the command line then you can track the progress)
  • You can change the quaking_aspen bit inside construct(...) to generate different types of trees - see .../parametric/tree_params and .../lsystems/sys_defs for available presets. You can also edit/create new tree types.

(apologies for such a protracted process, this is why I'd love to incorporate it into an actual plugin - hopefully I or someone else will get around to this soon)

CC BY-NC-SA 3.0 License

tree-gen's People

Contributors

friggog avatar

Watchers

Satish Goda avatar James Cloos 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.