diff options
Diffstat (limited to 'js/helper-classes/RDGE/MaterialsLibrary.js')
-rw-r--r-- | js/helper-classes/RDGE/MaterialsLibrary.js | 61 |
1 files changed, 41 insertions, 20 deletions
diff --git a/js/helper-classes/RDGE/MaterialsLibrary.js b/js/helper-classes/RDGE/MaterialsLibrary.js index edc4f7da..19204470 100644 --- a/js/helper-classes/RDGE/MaterialsLibrary.js +++ b/js/helper-classes/RDGE/MaterialsLibrary.js | |||
@@ -136,6 +136,13 @@ var MaterialsLibrary = Object.create(Object.prototype, { | |||
136 | case "radialBlur": mat = new RadiaBlurMaterial(); break; | 136 | case "radialBlur": mat = new RadiaBlurMaterial(); break; |
137 | case "pulse": mat = new PulseMaterial(); break; | 137 | case "pulse": mat = new PulseMaterial(); break; |
138 | case "tunnel": mat = new TunnelMaterial(); break; | 138 | case "tunnel": mat = new TunnelMaterial(); break; |
139 | case "reliefTunnel": mat = new ReliefTunnelMaterial(); break; | ||
140 | case "squareTunnel": mat = new SquareTunnelMaterial(); break; | ||
141 | case "fly": mat = new FlyMaterial(); break; | ||
142 | case "water": mat = new WaterMaterial(); break; | ||
143 | case "zInvert": mat = new ZInvertMaterial(); break; | ||
144 | case "deform": mat = new DeformMaterial(); break; | ||
145 | case "star": mat = new StarMaterial(); break; | ||
139 | case "twist": mat = new TwistMaterial(); break; | 146 | case "twist": mat = new TwistMaterial(); break; |
140 | case "keleidoscope": mat = new KeleidoscopeMaterial(); break; | 147 | case "keleidoscope": mat = new KeleidoscopeMaterial(); break; |
141 | case "julia": mat = new JuliaMaterial(); break; | 148 | case "julia": mat = new JuliaMaterial(); break; |
@@ -170,28 +177,42 @@ var MaterialsLibrary = Object.create(Object.prototype, { | |||
170 | // create the library of stroke and fill materials | 177 | // create the library of stroke and fill materials |
171 | 178 | ||
172 | var uberMaterial = new UberMaterial(); | 179 | var uberMaterial = new UberMaterial(); |
173 | //var linearGradientMaterial = new LinearGradientMaterial(); | 180 | var linearGradientMaterial = new LinearGradientMaterial(); |
174 | //var radialGradientMaterial = new RadialGradientMaterial(); | 181 | var radialGradientMaterial = new RadialGradientMaterial(); |
175 | //var radialBlurMaterial = new RadialBlurMaterial(); | 182 | var radialBlurMaterial = new RadialBlurMaterial(); |
176 | //var pulseMaterial = new PulseMaterial(); | 183 | var pulseMaterial = new PulseMaterial(); |
177 | //var tunnelMaterial = new TunnelMaterial(); | 184 | var tunnelMaterial = new TunnelMaterial(); |
178 | //var twistMaterial = new TwistMaterial(); | 185 | var reliefTunnelMaterial = new ReliefTunnelMaterial(); |
179 | //var keleidoscopeMaterial = new KeleidoscopeMaterial(); | 186 | var squareTunnelMaterial = new SquareTunnelMaterial(); |
180 | //var juliaMaterial = new JuliaMaterial(); | 187 | var flyMaterial = new FlyMaterial(); |
181 | //var mandelMaterial = new MandelMaterial(); | 188 | var waterMaterial = new WaterMaterial(); |
182 | //var plasmaMaterial = new PlasmaMaterial(); | 189 | var zInvertMaterial = new ZInvertMaterial(); |
190 | var deformMaterial = new DeformMaterial(); | ||
191 | var starMaterial = new StarMaterial(); | ||
192 | var twistMaterial = new TwistMaterial(); | ||
193 | var keleidoscopeMaterial = new KeleidoscopeMaterial(); | ||
194 | var juliaMaterial = new JuliaMaterial(); | ||
195 | var mandelMaterial = new MandelMaterial(); | ||
196 | var plasmaMaterial = new PlasmaMaterial(); | ||
183 | var bumpMetalMaterial = new BumpMetalMaterial(); | 197 | var bumpMetalMaterial = new BumpMetalMaterial(); |
184 | 198 | ||
185 | //MaterialsLibrary.addMaterial(linearGradientMaterial); | 199 | MaterialsLibrary.addMaterial(linearGradientMaterial); |
186 | //MaterialsLibrary.addMaterial(radialGradientMaterial); | 200 | MaterialsLibrary.addMaterial(radialGradientMaterial); |
187 | //MaterialsLibrary.addMaterial(radialBlurMaterial); | 201 | MaterialsLibrary.addMaterial(radialBlurMaterial); |
188 | //MaterialsLibrary.addMaterial(pulseMaterial); | 202 | MaterialsLibrary.addMaterial(pulseMaterial); |
189 | //MaterialsLibrary.addMaterial(tunnelMaterial); | 203 | MaterialsLibrary.addMaterial(tunnelMaterial); |
190 | //MaterialsLibrary.addMaterial(twistMaterial); | 204 | MaterialsLibrary.addMaterial(reliefTunnelMaterial); |
191 | //MaterialsLibrary.addMaterial(keleidoscopeMaterial); | 205 | MaterialsLibrary.addMaterial(squareTunnelMaterial); |
192 | //MaterialsLibrary.addMaterial(juliaMaterial); | 206 | MaterialsLibrary.addMaterial(flyMaterial); |
193 | //MaterialsLibrary.addMaterial(mandelMaterial); | 207 | MaterialsLibrary.addMaterial(waterMaterial); |
194 | //MaterialsLibrary.addMaterial(plasmaMaterial); | 208 | MaterialsLibrary.addMaterial(zInvertMaterial); |
209 | MaterialsLibrary.addMaterial(deformMaterial); | ||
210 | MaterialsLibrary.addMaterial(starMaterial); | ||
211 | MaterialsLibrary.addMaterial(twistMaterial); | ||
212 | MaterialsLibrary.addMaterial(keleidoscopeMaterial); | ||
213 | MaterialsLibrary.addMaterial(juliaMaterial); | ||
214 | MaterialsLibrary.addMaterial(mandelMaterial); | ||
215 | MaterialsLibrary.addMaterial(plasmaMaterial); | ||
195 | MaterialsLibrary.addMaterial(bumpMetalMaterial); | 216 | MaterialsLibrary.addMaterial(bumpMetalMaterial); |
196 | MaterialsLibrary.addMaterial(uberMaterial); | 217 | MaterialsLibrary.addMaterial(uberMaterial); |
197 | 218 | ||