Giter Club home page Giter Club logo

ThunderLoom

teaser8 A physically based shader for woven cloth

This projects consits of three main parts:

  • Irawan shading model

At its core is an implementation of the 'Irawan' shading model, as presented in the phd thesis by Piti Irawan and in the paper by Irawan and Marschner (2012).

  • Library with API

The shading model is made accessible for rendering engines with added flexibilty and artistic control through a library with a simple API. This allows the model and extra improvements to quickly be integrated into custom rendering pipelines or created as plugins to more established renderers.

The library allows fast and flexible control over many parameters of how the woven cloth is to behave. The actual pattern is determined using standard weaving-drafts defined in WIF files. Many types of patterns are freely available from fine sites such as handweaving.net.

  • Frontends/plugins

Three plugins using this library have been made. V-Ray for 3dsMax, V-Ray for Maya and a limited plugin for Mitsuba, which includes a patch for the mtslbend plugin for Blender. There is also a pattern editor which can be used on its own to create or alter weaving patterns. See the subfolders for these frontends for more information.

Installing the frontends

Precompiled binaries can be found under the releases tab. The zip file includes plugins for V-Ray for 3dsMax, Maya and for the mitsuba renderer.

See the respective README files for specific install instructions.

Library

The source code for the library and core is found in the 'src' folder. The file 'thunderloom.h' describes the API of the shader.

For an example implementaion see frontends/api_demo/.

Licence

The source code is released under the MIT Licence.

But if you happen to make something cool using this, a nice render or an improved tool, please let us know! We would love to see it! :)


3 pillars with different types of cloth rendered using thunderLoom in vray/3dsMax

thunderloom's Projects

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.