Skip to content

Epholys/Trees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trees

A Random Tree Generator in C++14 and SFML2.1

Image

Features

  • Randomized parameters including colors, angle, number of leaves and branches, etc...
  • Some parameters customizable via a simple menu
  • Zoom and movement via the mouse
  • Send differents parameters for each iteration of growth

Control

  • Space to generate a new Tree
  • Enter to grow some subbranches
  • F to grow the leaves (end of all the iterations)
  • Mouse's wheel to zoom
  • Mouse's left button to move th view

How do I get this ?

  • Windows : download the bin/Tree.win32.zip, unzip it where you like and simply launch the .exe file (make sure the media folder and all the .dll are in the same folder than the executable) (NOTE: Windows version isn't the last version of the program)
  • Linux : it is recommended to compile your own version. You must have a C++11-compliant compiler (like g++4.8.2) and SFML2.1 libraries installed

Want to contribute? Read this !

I have the bad habit not to comment my code, so be warned.

Some features I'd like to see :

  • More optimisation than a simple culling, as this program has an INSANE amount of draw calls
  • Cleaner random generations with more options to Random*Parameters and in the menu
  • Everything you want to add :)

Additionnal information

Workspace : Ubtuntu 14.04LTS, g++4.8.2, SFML2.1, emacs24.3.1, x86-64 & Windows8 with VirtualBox

About

Random Tree Generator in C++14 with SFML 2.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages