Giter Site home page Giter Site logo

floriscreyf / plant-generator Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 2.0 1.87 MB

Plant generator

License: GNU General Public License v3.0

C++ 92.69% C 0.45% GLSL 1.51% HTML 0.04% JavaScript 0.36% CSS 0.02% TeX 4.24% CMake 0.69%
tree-generator qt5 opengl plants trees

plant-generator's Introduction

Plant Generator

Plant Generator generates plant geometry. The project is divided into a generator and editor component. The generator is licensed under the Apache License (version 2.0) and the editor is licensed under the GPL 3.0. The editor depends on Qt6, but the project can be partially built without a GUI. Both components depend on Boost for serialization and parsing command line arguments, but Boost is not a critical component of the program.

Design Document

The design document is intended to provide some intuition on how the program works.

pdflatex --shell-escape documentation.tex

Instructions

Mouse Controls

  • Middle mouse button: Rotate the camera
  • Middle mouse button + Shift: Pan the camera
  • Middle mouse button + Ctrl: Zoom with the camera
  • Left mouse button: Move points
  • Right mouse button (+ Ctrl): Select stems and points
  • Scroll + Shift: Change the value for all nodes

Key Controls

Commands and key bindings can be viewed and edited in keymap.xml.

Installation

Linux

sudo dnf install qt6-devel boost-devel
cd ~/plant-generator
cmake -S . -B release -DCMAKE_BUILD_TYPE=RELEASE
cd release
make

Windows

  1. Download and install Visual Studio, Qt6, and Boost.
  2. Set environment variables to point to the locations of Qt and Boost. (System -> Advanced System Settings)
    • Qt6_ROOT
    • Boost_ROOT
  3. Open the project directory in Visual Studio and build the project.

plant-generator's People

Contributors

floriscreyf avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

qtopengl yazici

plant-generator's Issues

Linker Tools Error 2001

image
Hello!I configured the environment according to your tutorial, when I ran your code, "LNK 2001 error" occurred. My environment is vs2017(v141),boost_1_75_0.I think there may be some inconsistency between boost library versions. What is your Boost version?

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.