THREE.Terrain | procedural terrain generation engine for use | Graphics library

 by   IceCreamYou JavaScript Version: 2.0.0 License: MIT

kandi X-RAY | THREE.Terrain Summary

kandi X-RAY | THREE.Terrain Summary

THREE.Terrain is a JavaScript library typically used in User Interface, Graphics, Three.js, WebGL applications. THREE.Terrain has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can install using 'npm i three.terrain.js' or download it from GitHub, npm.

THREE.Terrain is a procedural terrain generation engine for use with the Three.js 3D graphics library for the web.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              THREE.Terrain has a low active ecosystem.
              It has 589 star(s) with 98 fork(s). There are 25 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 24 have been closed. On average issues are closed in 121 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of THREE.Terrain is 2.0.0

            kandi-Quality Quality

              THREE.Terrain has 0 bugs and 0 code smells.

            kandi-Security Security

              THREE.Terrain has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              THREE.Terrain code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              THREE.Terrain is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              THREE.Terrain releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are 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 THREE.Terrain
            Get all kandi verified functions for this library.

            THREE.Terrain Key Features

            No Key Features are available at this moment for THREE.Terrain.

            THREE.Terrain Examples and Code Snippets

            No Code Snippets are available at this moment for THREE.Terrain.

            Community Discussions

            QUESTION

            How to project a rectangle onto a Mesh/Terrain object, for use as a select marquee? (in three.js)
            Asked 2018-Jul-04 at 02:07

            I have a terrain which was generated using the THREE.Terrain library. I'd like to be able to click and drag out a marquee and select objects that are on the surface of the Terrain Mesh.

            Currently I am detecting the start and end of the drag, and drawing out a rectangle in the global XZ plane, but I'd prefer it to be flush with the surface.

            Currently it looks like this;

            However what I am aiming for is something more like this;

            I am wondering if I have missed some obvious way of doing that with the Core three.js features.

            There is always the brute force method of casting rays at intervals around the perimeter of the rectangle, and creating a series of line segments to approximate the projected rectangle, but I was wondering if there was a native method.

            (I only just started looking at three.js this week, so I might have missed something obvious... though I've spent the last day experimenting, and haven't had much luck)

            Update

            Based on @prisoner849's suggestion, I mashed up his code with the Terrain demo and that seems to be working pretty well.

            ...

            ANSWER

            Answered 2018-Jul-04 at 02:07

            Right after I posted my comment, I had a thought exactly like Don McCurdy (cheers, Don :) ). Quick search on https://www.shadertoy.com gave me that shader https://www.shadertoy.com/view/XlsBRB (look at the awesome comments from FabriceNeyret2 there). So I just adapted that fragment shader for this very rough concept.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install THREE.Terrain

            You can install using 'npm i three.terrain.js' or download it from GitHub, npm.

            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/IceCreamYou/THREE.Terrain.git

          • CLI

            gh repo clone IceCreamYou/THREE.Terrain

          • sshUrl

            git@github.com:IceCreamYou/THREE.Terrain.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