diff options
Diffstat (limited to 'js/panels/Materials')
8 files changed, 859 insertions, 797 deletions
diff --git a/js/panels/Materials/MaterialsPanel.js b/js/panels/Materials/MaterialsPanel.js index 9d7f447a..4142a7c1 100755 --- a/js/panels/Materials/MaterialsPanel.js +++ b/js/panels/Materials/MaterialsPanel.js | |||
@@ -1,24 +1,25 @@ | |||
1 | /* <copyright> | 1 | /* <copyright> |
2 | Copyright (c) 2012, Motorola Mobility, Inc | 2 | Copyright (c) 2012, Motorola Mobility LLC. |
3 | All Rights Reserved. | 3 | All Rights Reserved. |
4 | BSD License. | ||
5 | 4 | ||
6 | Redistribution and use in source and binary forms, with or without | 5 | Redistribution and use in source and binary forms, with or without |
7 | modification, are permitted provided that the following conditions are met: | 6 | modification, are permitted provided that the following conditions are met: |
8 | 7 | ||
9 | - Redistributions of source code must retain the above copyright notice, | 8 | * Redistributions of source code must retain the above copyright notice, |
10 | this list of conditions and the following disclaimer. | 9 | this list of conditions and the following disclaimer. |
11 | - Redistributions in binary form must reproduce the above copyright | 10 | |
12 | notice, this list of conditions and the following disclaimer in the | 11 | * Redistributions in binary form must reproduce the above copyright notice, |
13 | documentation and/or other materials provided with the distribution. | 12 | this list of conditions and the following disclaimer in the documentation |
14 | - Neither the name of Motorola Mobility nor the names of its contributors | 13 | and/or other materials provided with the distribution. |
15 | may be used to endorse or promote products derived from this software | 14 | |
16 | without specific prior written permission. | 15 | * Neither the name of Motorola Mobility LLC nor the names of its |
16 | contributors may be used to endorse or promote products derived from this | ||
17 | software without specific prior written permission. | ||
17 | 18 | ||
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 20 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 21 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | 22 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
22 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 23 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
23 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | 24 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
24 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | 25 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
@@ -29,8 +30,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
29 | </copyright> */ | 30 | </copyright> */ |
30 | 31 | ||
31 | var Montage = require("montage/core/core").Montage, | 32 | var Montage = require("montage/core/core").Montage, |
32 | PanelBase = require("js/panels/PanelBase").PanelBase, | 33 | PanelBase = require("js/panels/PanelBase").PanelBase, |
33 | MaterialsLibraryPanel = require("js/panels/Materials/materials-library-panel.reel").MaterialsLibraryPanel; | 34 | MaterialsLibraryPanel = require("js/panels/Materials/materials-library-panel.reel").MaterialsLibraryPanel; |
34 | 35 | ||
35 | exports.MaterialsPanel = Montage.create(PanelBase, { | 36 | exports.MaterialsPanel = Montage.create(PanelBase, { |
36 | id : {value : "materialsPanel", writable:true, enumerable:true, configurable:true}, | 37 | id : {value : "materialsPanel", writable:true, enumerable:true, configurable:true}, |
diff --git a/js/panels/Materials/materials-data.json b/js/panels/Materials/materials-data.json index a5d8997b..abdacbe1 100644 --- a/js/panels/Materials/materials-data.json +++ b/js/panels/Materials/materials-data.json | |||
@@ -9,34 +9,14 @@ | |||
9 | "id" : "Bump Metal" | 9 | "id" : "Bump Metal" |
10 | }, | 10 | }, |
11 | { | 11 | { |
12 | "label": "Deform", | ||
13 | "id" : "Deform" | ||
14 | }, | ||
15 | { | ||
16 | "label": "Flag", | 12 | "label": "Flag", |
17 | "id" : "Flag" | 13 | "id" : "Flag" |
18 | }, | 14 | }, |
19 | { | 15 | { |
20 | "label": "Fly", | ||
21 | "id" : "Fly" | ||
22 | }, | ||
23 | { | ||
24 | "label": "Julia", | ||
25 | "id" : "Julia" | ||
26 | }, | ||
27 | { | ||
28 | "label": "Keleidoscope", | ||
29 | "id" : "Keleidoscope" | ||
30 | }, | ||
31 | { | ||
32 | "label": "Linear Gradient", | 16 | "label": "Linear Gradient", |
33 | "id" : "Linear Gradient" | 17 | "id" : "Linear Gradient" |
34 | }, | 18 | }, |
35 | { | 19 | { |
36 | "label": "Mandel", | ||
37 | "id" : "Mandel" | ||
38 | }, | ||
39 | { | ||
40 | "label": "Paris", | 20 | "label": "Paris", |
41 | "id" : "Paris" | 21 | "id" : "Paris" |
42 | }, | 22 | }, |
@@ -49,42 +29,14 @@ | |||
49 | "id" : "Pulse" | 29 | "id" : "Pulse" |
50 | }, | 30 | }, |
51 | { | 31 | { |
52 | "label": "Radial Blur", | ||
53 | "id" : "Radial Blur" | ||
54 | }, | ||
55 | { | ||
56 | "label": "Radial Gradient", | 32 | "label": "Radial Gradient", |
57 | "id" : "Radial Gradient" | 33 | "id" : "Radial Gradient" |
58 | }, | 34 | }, |
59 | { | 35 | { |
60 | "label": "Raiders", | ||
61 | "id" : "Raiders" | ||
62 | }, | ||
63 | { | ||
64 | "label": "Relief Tunnel", | ||
65 | "id" : "Relief Tunnel" | ||
66 | }, | ||
67 | { | ||
68 | "label": "Square Tunnel", | ||
69 | "id" : "Square Tunnel" | ||
70 | }, | ||
71 | { | ||
72 | "label": "Star", | ||
73 | "id" : "Star" | ||
74 | }, | ||
75 | { | ||
76 | "label": "Taper", | 36 | "label": "Taper", |
77 | "id" : "Taper" | 37 | "id" : "Taper" |
78 | }, | 38 | }, |
79 | { | 39 | { |
80 | "label": "Tunnel", | ||
81 | "id" : "Tunnel" | ||
82 | }, | ||
83 | { | ||
84 | "label": "Twist", | ||
85 | "id" : "Twist" | ||
86 | }, | ||
87 | { | ||
88 | "label": "Twist Vertex", | 40 | "label": "Twist Vertex", |
89 | "id" : "Twist Vertex" | 41 | "id" : "Twist Vertex" |
90 | }, | 42 | }, |
@@ -95,12 +47,13 @@ | |||
95 | { | 47 | { |
96 | "label": "Water", | 48 | "label": "Water", |
97 | "id" : "Water" | 49 | "id" : "Water" |
98 | }, | ||
99 | { | ||
100 | "label": "Z-Invert", | ||
101 | "id" : "Z-Invert" | ||
102 | } | 50 | } |
103 | ] | 51 | ] |
52 | }, | ||
53 | { | ||
54 | "label": "Custom Materials", | ||
55 | "children": [ | ||
56 | ] | ||
104 | } | 57 | } |
105 | ] | 58 | ] |
106 | } \ No newline at end of file | 59 | } \ No newline at end of file |
diff --git a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css index d73134ae..d64a5e3a 100755 --- a/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css +++ b/js/panels/Materials/materials-library-panel.reel/materials-library-panel.css | |||
@@ -1,24 +1,25 @@ | |||
1 | /* <copyright> | 1 | /* <copyright> |
2 | Copyright (c) 2012, Motorola Mobility, Inc | 2 | Copyright (c) 2012, Motorola Mobility LLC. |
3 | All Rights Reserved. | 3 | All Rights Reserved. |
4 | BSD License. | ||
5 | 4 | ||
6 | Redistribution and use in source and binary forms, with or without | 5 | Redistribution and use in source and binary forms, with or without |
7 | modification, are permitted provided that the following conditions are met: | 6 | modification, are permitted provided that the following conditions are met: |
8 | 7 | ||
9 | - Redistributions of source code must retain the above copyright notice, | 8 | * Redistributions of source code must retain the above copyright notice, |
10 | this list of conditions and the following disclaimer. | 9 | this list of conditions and the following disclaimer. |
11 | - Redistributions in binary form must reproduce the above copyright | 10 | |
12 | notice, this list of conditions and the following disclaimer in the | 11 | * Redistributions in binary form must reproduce the above copyright notice, |
13 | documentation and/or other materials provided with the distribution. | 12 | this list of conditions and the following disclaimer in the documentation |
14 | - Neither the name of Motorola Mobility nor the names of its contributors | 13 | and/or other materials provided with the distribution. |
15 | may be used to endorse or promote products derived from this software | 14 | |
16 | without specific prior written permission. | 15 | * Neither the name of Motorola Mobility LLC nor the names of its |
16 | contributors may be used to endorse or promote products derived from this | ||
17 | software without specific prior written permission. | ||
17 | 18 | ||
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
19 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 20 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
20 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 21 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | 22 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
22 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | 23 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |