Skip to content

Maya plugin implementing geometry fracturing based on Voronoi Diagrams (Voronoi Shattering). Visit http:https://www.joesfer.com/?p=60 for further information.

License

Notifications You must be signed in to change notification settings

joesfer/Voronoi-Shattering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:
	
	Maya plugin implementing geometry fracturing based on 
	Voronoi Diagrams (Voronoi Shattering).
	
	Visit http:https://www.joesfer.com/?p=60 for further information.

License:

	This software is released under the LGPL-3.0 license: http:https://www.opensource.org/licenses/lgpl-3.0.html	

	Copyright (c) 2012, Jose Esteve. http:https://www.joesfer.com
	
	This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License as published by the Free Software Foundation; either
	version 3.0 of the License, or (at your option) any later version.

	This library is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
	Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public
	License along with this library; if not, write to the Free Software
	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  
	USA

Compilation:

	- Clone the git repository into a local folder:

		git clone git:https://github.com/joesfer/Voronoi-Shattering.git <shatter_folder>

	- The project depends on the CoreLib and RenderLib shared libraries, 
	  included as submodules.
	  
		cd <shatter_folder>
		git submodule init
		git submodule update
		
		it should create <shatter_folder>/RenderLib and 
		<shatter_folder>/CoreLib otherwise, add them manually:
		
		git submodule add git:https://github.com/joesfer/CoreLib.git CoreLib
		git submodule add git:https://github.com/joesfer/RenderLib.git RenderLib		
		
	- Build the Maya plugin using CMake:

		cd <shatter_folder>
		mkdir .build
		cd .build
		cmake ..

		You may need to supply the path to your maya installation folder
		cmake -DMAYA_ROOT=/path/to/maya ..
		
		On Windows: cmake will generate a Visual studio solution on .build
		On Linux: cmake will generate a GCC makefile

		Build the plugin using visual studio or make.

		Note the solution will contain 3 projects: CoreLib, RenderLib 
		and Shatter, which need to be built in that order. If the process 
		succeeds, the resulting .mll plugin file will be located under 
		<shatter_folder>/bin

	- Load the .mll file in Maya's plugin manager.
	
	- Run the provided MEL script for an example on how to use the plugin

About

Maya plugin implementing geometry fracturing based on Voronoi Diagrams (Voronoi Shattering). Visit http:https://www.joesfer.com/?p=60 for further information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages