-
Notifications
You must be signed in to change notification settings - Fork 9
/
README.txt
70 lines (47 loc) · 2.29 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Description:
Maya plugin implementing geometry fracturing based on
Voronoi Diagrams (Voronoi Shattering).
Visit http://www.joesfer.com/?p=60 for further information.
License:
This software is released under the LGPL-3.0 license: http://www.opensource.org/licenses/lgpl-3.0.html
Copyright (c) 2012, Jose Esteve. http://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://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://github.com/joesfer/CoreLib.git CoreLib
git submodule add git://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