Code Monkey home page Code Monkey logo

jklintan / voronoi-fracture Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 8.6 MB

A Maya plugin that fractures objects with a base in Voronoi partitioning. With a focus on being able to further simulate the breaking of different materials, the plugin utilises a range of built-in features in Maya to create versatile breaking behaviors such as distributions using bounding boxes, spheres, disks, hand-drawn curves or particle systems.

C++ 62.94% Python 37.06%
vfx maya-plugin maya-api

voronoi-fracture's Introduction

Voronoi Fracture

This is a Maya plugin that fractures objects with a base in Voronoi partitioning. With a focus on being able to further simulate the breaking of different materials, the plugin utilises a range of built-in features in Maya to create versatile breaking behaviors such as distributions using bounding boxes, spheres, disks, hand-drawn curves or particle systems.

The project was implemented over a time frame of 6 weeks during the fall of 2020 as part of the course SFX - Tricks of the trade at Linköping University.

Command Flags

The voronoiFracture command has the following optional flags:

Flag Short Flag Type Default
-num_fragments -nf Unsigned 5
-delete_object -do Boolean True
-curve_radius -cr Double 0.1
-disk_axis -da String ""
-steps -s Unsigned 0
-step_noise -sn Double 0.05
-min_distance -md Double 0.01

Renders

Plane fractured using 400 fragments and an implicit sphere to distribute the cells around one impact point. Render from frame in a rigid-body simulation simulating a bullet hitting a glass window.

Cube fractured with 100 fragments.

Plane fractured with 1000 fragments using a curve drawn on the object to distribute seed-points along. Fracture propagation using rigid-body simulation in order to simulate termal cracking of asphalt.

voronoi-fracture's People

Contributors

jklintan avatar linusmossberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

goldwhoo

voronoi-fracture's Issues

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.