fwater | Visual demo of a water-like effect

 by   clandrew C Version: v1.0 License: MIT

kandi X-RAY | fwater Summary

kandi X-RAY | fwater Summary

fwater is a C library. fwater has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This code uses the famous "two-buffer trick" to create a water-like visual effect. The idea is you have two buffers, which each store a heightmap. The pseudo-code is. The concept is simple, yet it creates a rippling kind of effect due to the wave-like values that the heights will have and the way they oscillate up and down. The waves will bounce off "walls", too, depending on the implementation; this one allows that. While a sensible implementation on modern computers will perform okay, this kind of technique is best suited to an implementation that can do many computations in parallel (e.g., a compute shader). Allegedly, the ifort compiler is supposed to help out here. Anecdotally, the performance has been good enough on this sample. It could be interesting to stress test it more.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              fwater has a low active ecosystem.
              It has 3 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              fwater has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of fwater is v1.0

            kandi-Quality Quality

              fwater has no bugs reported.

            kandi-Security Security

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

            kandi-License License

              fwater 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

              fwater releases are available to install and integrate.
              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 fwater
            Get all kandi verified functions for this library.

            fwater Key Features

            No Key Features are available at this moment for fwater.

            fwater Examples and Code Snippets

            No Code Snippets are available at this moment for fwater.

            Community Discussions

            No Community Discussions are available at this moment for fwater.Refer to stack overflow page for discussions.

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

            Vulnerabilities

            No vulnerabilities reported

            Install fwater

            The program is for Windows-based x86-64 computer environments. Visual Studio 2019 with Intel Parallel Studio XE was used to build this. This program is organized as a Visual Studio solution with two projects. The setup has Window responsible for all the UI and user-facing elements; window, mouse input, etc, while the "heavy lifting" happens in Compute. There are entrypoints in Compute to update the grid state, handle mouse input, and draw the current grid colors to a Direct3D surface.
            Window - A Win32 executible written in C++, that has a window and a Direct3D12-compatible swap chain.
            Compute - A DLL written in Fortran (2008-compatible) that implements the algorithm described above.

            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/clandrew/fwater.git

          • CLI

            gh repo clone clandrew/fwater

          • sshUrl

            git@github.com:clandrew/fwater.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