Cloth-Simulation | damper based real-time cloth simulation

 by   danielshervheim C# Version: Current License: BSD-3-Clause

kandi X-RAY | Cloth-Simulation Summary

kandi X-RAY | Cloth-Simulation Summary

Cloth-Simulation is a C# library typically used in Simulation, Spring applications. Cloth-Simulation has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

I wrote this cloth simulation as a project for an animation and planning course I took in university.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

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

            kandi-Quality Quality

              Cloth-Simulation has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              Cloth-Simulation is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Cloth-Simulation releases are not available. You will need to build from source code and install.

            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 Cloth-Simulation
            Get all kandi verified functions for this library.

            Cloth-Simulation Key Features

            No Key Features are available at this moment for Cloth-Simulation.

            Cloth-Simulation Examples and Code Snippets

            No Code Snippets are available at this moment for Cloth-Simulation.

            Community Discussions

            QUESTION

            Three.js Verlet Cloth Simulation on GPU: Can't follow my logic for finding bug
            Asked 2018-Apr-19 at 00:49

            I got a problem understanding the logic I am trying to implement with Three.js and the GPUComputationRenderer by yomboprime.

            (https://github.com/yomboprime/GPGPU-threejs-demos/blob/gh-pages/js/GPUComputationRenderer.js)

            I want to make a simple Verlet-Cloth-Simulation. Here is the logic I was already able to implement (short version):

            1) Position-Fragment-Shader: This shader takes the old and current position texture and computes the new position like this:

            ...

            ANSWER

            Answered 2018-Apr-19 at 00:49

            This example is not verlet cloth, but I think the basic premise may help you. I have a fiddle that uses the GPUComputationRender to accomplish some spring physics on a point cloud. I think you could adapt it to your needs.

            What you need is more information. You'll need fixed references to the cloth's original shape (as if it were a flat board) as well as the force currently being exerted on any of those points (by gravity + wind + structural integrity or whatever else), which then gives you that point's current position. Those point references to its original shape in combination with the forces are what will give your cloth a memory instead of flinging apart as it has been.

            Here, for example, is my spring physics shader which the GPUComputationRenderer uses to compute the point positions in my visualization. The tOffsets in this case are the coordinates that give the cloud a permanent memory of its original shape - they never change. It is a DataTexture I add to the uniforms at the beginning of the program. Various forces like the the mass, springConstant, gravity, and damping also remain consistent and live in the shader. tPositions are the vec4 coords that change (two of the coords record current position, the other two record current velocity):

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install Cloth-Simulation

            You can download it from GitHub.

            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/danielshervheim/Cloth-Simulation.git

          • CLI

            gh repo clone danielshervheim/Cloth-Simulation

          • sshUrl

            git@github.com:danielshervheim/Cloth-Simulation.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