proctree | Procedural tree mesh generator | Editor library

 by   jarikomppa C Version: Current License: No License

kandi X-RAY | proctree Summary

kandi X-RAY | proctree Summary

proctree is a C library typically used in Editor applications. proctree has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

This is a liberally licensed procedural tree generator in c++, along with an editor HappyTree. The procedural generation itself is a port from see for an online demonstration of the original proctree.js (with webgl). The c++ port is several orders of magnitude faster than the original, and also fixes the UV mapping.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              proctree has a low active ecosystem.
              It has 165 star(s) with 33 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 1 have been closed. On average issues are closed in 8 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of proctree is current.

            kandi-Quality Quality

              proctree has no bugs reported.

            kandi-Security Security

              proctree has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              proctree does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              proctree releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of proctree
            Get all kandi verified functions for this library.

            proctree Key Features

            No Key Features are available at this moment for proctree.

            proctree Examples and Code Snippets

            No Code Snippets are available at this moment for proctree.

            Community Discussions

            QUESTION

            Properly scaling textures in three.js / proctree.js
            Asked 2019-Jul-30 at 22:29

            Apologies for the vague title, I'm not sure how to describe my issue.

            I'm trying to create a forest in three.js with the very cool proctree.js. The library seems to create a 3d model of the tree's trunk and main branches, then adds simple flat textures for the leaves (or 'twigs').

            The resulting tree looks very nice from up close but as you zoom out the leaves visually disappear almost entirely. This is a problem as I'm trying to create a dense looking forest. See the following two screengrabs (or this online viewer):

            Is there a way to prevent the leaves from becoming very pixelated and thin looking from a distance? Or, to phrase the question differently, how would one create good-looking leaves that look as dense from a distance as they do from up close?

            The material used looks like this:

            ...

            ANSWER

            Answered 2019-Jul-30 at 22:29

            Your problem sounds very similar to this one

            I'm pretty certain that the smaller-resolution mipmaps (when you zoom out) are blending your leaf textures and changing the alpha values to which the alphaTest threshold compares to. The further away you are, the more area of your texture is considered "transparent".

            You can modify your texture properties as follows to disable mipmaps:

            Source https://stackoverflow.com/questions/57277928

            QUESTION

            Three.js texture alignment/scaling with proctree.js
            Asked 2017-Dec-28 at 01:40

            I'm trying to render a model created by SnappyTree/Proctree ( http://www.snappytree.com/ ).

            I found this question, that showed how to render the trunk geometry using Three.js instead of proctree.js's author's GLGE project. I've got that working now but the texture on the twigs (branches) doesn't align properly. Any ideas how to make the texture fit on?

            http://jsfiddle.net/nhspjkb4/

            This is how the material is created:

            ...

            ANSWER

            Answered 2017-Dec-28 at 01:40

            Nice tree.

            To fix the texturing, first update the proctree.js to three.js conversion code to use the tree.uvsTwig array, instead of tree.UV, for the twigs:

            Source https://stackoverflow.com/questions/48000126

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install proctree

            Download win32 binaries at: http://iki.fi/sol/zip/happytree_20150123.zip. Additional (not mandatory) 400 megs of trunk / twig textures http://iki.fi/sol/zip/happytree_20150118_tex.zip. If you opt to download the additional textures, just unzip both zips in the same place. HappyTree will work without the additional textures (it'll actually be faster), so if you're just trying it out, I recommend NOT downloading the additional stuff. All of the textures are CC0 / public domain material (primarily, if not completely, by nobiax.deviantart.com). The additional textures do let you make more varieties of trees though; the base package only comes with one trunk and twig texture. The happytree editor requires OpenGL 3.3, but seriously, who doesn't have that?. Usage should be pretty intuitive, you can rotate the camera by dragging and zoom in and out with the mouse wheel.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jarikomppa/proctree.git

          • CLI

            gh repo clone jarikomppa/proctree

          • sshUrl

            git@github.com:jarikomppa/proctree.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Editor Libraries

            quill

            by quilljs

            marktext

            by marktext

            monaco-editor

            by microsoft

            CodeMirror

            by codemirror

            slate

            by ianstormtaylor

            Try Top Libraries by jarikomppa

            soloud

            by jarikomppaC

            escapi

            by jarikomppaC++

            ipc

            by jarikomppaC

            atanua

            by jarikomppaC

            emu8051

            by jarikomppaC