-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.txt
58 lines (37 loc) · 1.96 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
Description:
Maya plugin implementing utility nodes to voxelize and sample geometry.
Visit http:https://www.joesfer.com/?p=84 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:
mkdir <sampler_folder>
cd <sampler_folder>
git clone git:https://github.com/joesfer/Sampler.git
- Build the plugin using CMake:
cd <sampler_folder>
mkdir .build
cd .build
e.g. To compile for 32-bit maya under Windows using Visual Studio 2008
cmake -G "Visual Studio 9 2008" -DMAYA_ARCH=x86 ..
e.g. Compile for 64-bit maya under Windows using Visual Studio 2008 x64
cmake -G "Visual Studio 9 2008 Win64" -DMAYA_ARCH=x64 ..
Under windows: cmake will generate a Visual studio solution on .build
Under linux: cmake will generate a GCC makefile
Build the plugin using visual studio or make.
This will find the precompiled renderLib and build the .mll plugin
under <sampler_folder>/bin
- Load the .mll file in Maya's plugin manager.
- Load the provided MEL script for an example on how to use the nodes.