GithubHelp home page GithubHelp logo

prakhar-gupta-03 / synthtree Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.81 MB

Unofficial implementation of the paper "L-systems: from the theory to visual models of plants" as a course project for CSE333: Computer Graphics

Home Page: https://prakhar-gupta-03.github.io/SynthTree/

CMake 0.05% Shell 0.01% C++ 76.93% C 22.99% GLSL 0.03%

synthtree's Introduction

L-system-tree-modelling

Implementation of the paper L-systems: From the theory to visual models of plants as the course project for the course CSE333: Computer Graphics at IIIT Delhi. The project was done by Shreyas Kabra and Prakhar Gupta.

Pre-requisites:

  • OpenGL (version 3.3 or above)
  • CMake
  • C++ 17

How to build and run

  1. git clone https://github.com/Prakhar-Gupta-03/L-system-tree-modelling.git
  2. Move to the root of the directory
  3. bash build.sh
  4. Run ./L-System-Based-3D-Tree-Modelling

Final Results

L-system-tree-modelling

Implementation of the paper "L-systems: from the theory to visual models of plants" as a course project for CSE333: Computer Graphics

Tree1 Tree2 Tree3

To-Do List

Original Targets:

  • Implement a word-string recursive function
  • Implement a generator for breaking down commands
  • Turtle interpreter for generating vertices
  • Texturing tree branches
  • Implement leaves randomly
  • Texturing leaves
  • ImGui setup for types of trees
  • ImGui setup for leaf and tree texture options
  • ImGui setup for leaves or no leaves
  • ImGui setup for custom tree
  • Generating flowers
  • Texturing of flowers

Future Work:

  • Generate multiple trees together
  • Flowers using fractals
  • Demonstrating growth of plants/trees
  • Simulate insect eating plant/tree

Deadline Requirements:

  • Making a video demo
  • Making a presentation/PPT
  • Updating report
  • Upload the demo to YouTube

synthtree's People

Contributors

shreyas21563 avatar prakhar-gupta-03 avatar

Watchers

 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.