svn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / release / ui / buttons_texture.py
1         
2 import bpy
3
4 class TextureButtonsPanel(bpy.types.Panel):
5         __space_type__ = 'PROPERTIES'
6         __region_type__ = 'WINDOW'
7         __context__ = "texture"
8         
9         def poll(self, context):
10                 tex = context.texture
11                 return (tex and (tex.type != 'NONE' or tex.use_nodes))
12                 
13 class TEXTURE_PT_preview(TextureButtonsPanel):
14         __label__ = "Preview"
15
16         def draw(self, context):
17                 layout = self.layout
18                 
19                 tex = context.texture
20                 slot = context.texture_slot
21                 ma = context.material
22                 la = context.lamp
23                 wo = context.world
24                 br = context.brush
25                 
26                 if ma:
27                         layout.template_preview(tex, parent=ma, slot=slot)
28                 elif la:
29                         layout.template_preview(tex, parent=la, slot=slot)
30                 elif wo:
31                         layout.template_preview(tex, parent=wo, slot=slot)
32                 elif br:
33                         layout.template_preview(tex, parent=br, slot=slot)
34                 else:
35                         layout.template_preview(tex, slot=slot)
36                         
37 class TEXTURE_PT_context_texture(TextureButtonsPanel):
38         __show_header__ = False
39
40         def poll(self, context):
41                 return (context.material or context.world or context.lamp or context.brush or context.texture)
42
43         def draw(self, context):
44                 layout = self.layout
45
46                 tex = context.texture
47                 
48                 id = context.material
49                 if not id: id = context.lamp
50                 if not id: id = context.world
51                 if not id: id = context.brush
52                 
53                 space = context.space_data
54
55                 if id:
56                         row = layout.row()
57                         row.template_list(id, "textures", id, "active_texture_index", rows=2)
58                         
59                 split = layout.split(percentage=0.65)
60
61                 if id:
62                         split.template_ID(id, "active_texture", new="texture.new")
63                 elif tex:
64                         split.template_ID(space, "pin_id")
65
66                 if (not space.pin_id) and (
67                         context.sculpt_object or
68                         context.vertex_paint_object or
69                         context.weight_paint_object or
70                         context.texture_paint_object
71                 ):
72                         split.itemR(space, "brush_texture", text="Brush", toggle=True)
73
74                 if tex:
75                         layout.itemR(tex, "use_nodes")
76                         
77                         split = layout.split(percentage=0.2)
78                         
79                         if tex.use_nodes:
80                                 slot = context.texture_slot
81                                 split.itemL(text="Output:")
82                                 split.itemR(slot, "output_node", text="")
83
84                         else:
85                                 split.itemL(text="Type:")
86                                 split.itemR(tex, "type", text="")
87                         
88 class TEXTURE_PT_colors(TextureButtonsPanel):
89         __label__ = "Colors"
90         __default_closed__ = True
91
92         def draw(self, context):
93                 layout = self.layout
94                 
95                 tex = context.texture
96
97                 layout.itemR(tex, "use_color_ramp", text="Ramp")
98                 if tex.use_color_ramp:
99                         layout.template_color_ramp(tex.color_ramp, expand=True)
100
101                 split = layout.split()
102                 
103                 split.itemR(tex, "rgb_factor", text="Multiply RGB")
104
105                 col = split.column()
106                 col.itemL(text="Adjust:")
107                 col.itemR(tex, "brightness")
108                 col.itemR(tex, "contrast")
109                         
110 # Texture Slot Panels #
111                         
112 class TextureSlotPanel(TextureButtonsPanel):
113         def poll(self, context):
114                 return (
115                         context.texture_slot and 
116                         TextureButtonsPanel.poll(self, context)
117                 )
118                                 
119 class TEXTURE_PT_mapping(TextureSlotPanel):
120         __label__ = "Mapping"
121         
122         def draw(self, context):
123                 layout = self.layout
124                 
125                 ma = context.material
126                 la = context.lamp
127                 wo = context.world
128                 br = context.brush
129                 tex = context.texture_slot
130                 textype = context.texture
131
132                 if not br:
133                         split = layout.split(percentage=0.3)
134                         col = split.column()
135                         col.itemL(text="Coordinates:")
136                         col = split.column()
137                         col.itemR(tex, "texture_coordinates", text="")
138
139                         if tex.texture_coordinates == 'ORCO':
140                                 """
141                                 ob = context.object
142                                 if ob and ob.type == 'MESH':
143                                         split = layout.split(percentage=0.3)
144                                         split.itemL(text="Mesh:")
145                                         split.itemR(ob.data, "texco_mesh", text="")
146                                 """
147                         elif tex.texture_coordinates == 'UV':
148                                 split = layout.split(percentage=0.3)
149                                 split.itemL(text="Layer:")
150                                 split.itemR(tex, "uv_layer", text="")
151                         elif tex.texture_coordinates == 'OBJECT':
152                                 split = layout.split(percentage=0.3)
153                                 split.itemL(text="Object:")
154                                 split.itemR(tex, "object", text="")
155                         
156                 if ma:
157                         split = layout.split(percentage=0.3)
158                         split.itemL(text="Projection:")
159                         split.itemR(tex, "mapping", text="")
160
161                         split = layout.split()
162                         
163                         col = split.column()
164                         if tex.texture_coordinates in ('ORCO', 'UV'):
165                                 col.itemR(tex, "from_dupli")
166                         elif tex.texture_coordinates == 'OBJECT':
167                                 col.itemR(tex, "from_original")
168                         else:
169                                 col.itemL()
170                         
171                         col = split.column()
172                         row = col.row()
173                         row.itemR(tex, "x_mapping", text="")
174                         row.itemR(tex, "y_mapping", text="")
175                         row.itemR(tex, "z_mapping", text="")
176
177                 if br:
178                         layout.itemR(tex, "brush_map_mode", expand=True)
179                         
180                         row = layout.row()
181                         row.active = tex.brush_map_mode in ('FIXED', 'TILED')
182                         row.itemR(tex, "angle")
183
184                         row = layout.row()
185                         row.active = tex.brush_map_mode in ('TILED', '3D')
186                         row.column().itemR(tex, "size")
187                 else:
188                         row = layout.row()
189                         row.column().itemR(tex, "offset")
190                         row.column().itemR(tex, "size")
191
192 class TEXTURE_PT_influence(TextureSlotPanel):
193         __label__ = "Influence"
194         
195         def draw(self, context):
196                 layout = self.layout
197                 
198                 ma = context.material
199                 la = context.lamp
200                 wo = context.world
201                 br = context.brush
202                 textype = context.texture
203                 tex = context.texture_slot
204
205                 def factor_but(layout, active, toggle, factor, name):
206                         row = layout.row(align=True)
207                         row.itemR(tex, toggle, text="")
208                         sub = row.row()
209                         sub.active = active
210                         sub.itemR(tex, factor, text=name, slider=True)
211                 
212                 if ma:
213                         if ma.type in ['SURFACE', 'HALO', 'WIRE']:
214                                 split = layout.split()
215                                 
216                                 col = split.column()
217                                 col.itemL(text="Diffuse:")
218                                 factor_but(col, tex.map_diffuse, "map_diffuse", "diffuse_factor", "Intensity")
219                                 factor_but(col, tex.map_colordiff, "map_colordiff", "colordiff_factor", "Color")
220                                 factor_but(col, tex.map_alpha, "map_alpha", "alpha_factor", "Alpha")
221                                 factor_but(col, tex.map_translucency, "map_translucency", "translucency_factor", "Translucency")
222
223                                 col.itemL(text="Specular:")
224                                 factor_but(col, tex.map_specular, "map_specular", "specular_factor", "Intensity")
225                                 factor_but(col, tex.map_colorspec, "map_colorspec", "colorspec_factor", "Color")
226                                 factor_but(col, tex.map_hardness, "map_hardness", "hardness_factor", "Hardness")
227
228                                 col = split.column()
229                                 col.itemL(text="Shading:")
230                                 factor_but(col, tex.map_ambient, "map_ambient", "ambient_factor", "Ambient")
231                                 factor_but(col, tex.map_emit, "map_emit", "emit_factor", "Emit")
232                                 factor_but(col, tex.map_mirror, "map_mirror", "mirror_factor", "Mirror")
233                                 factor_but(col, tex.map_raymir, "map_raymir", "raymir_factor", "Ray Mirror")
234
235                                 col.itemL(text="Geometry:")
236                                 factor_but(col, tex.map_normal, "map_normal", "normal_factor", "Normal")
237                                 factor_but(col, tex.map_warp, "map_warp", "warp_factor", "Warp")
238                                 factor_but(col, tex.map_displacement, "map_displacement", "displacement_factor", "Displace")
239
240                                 #sub = col.column()
241                                 #sub.active = tex.map_translucency or tex.map_emit or tex.map_alpha or tex.map_raymir or tex.map_hardness or tex.map_ambient or tex.map_specularity or tex.map_reflection or tex.map_mirror
242                                 #sub.itemR(tex, "default_value", text="Amount", slider=True)
243                         elif ma.type == 'VOLUME':
244                                 split = layout.split()
245                                 
246                                 col = split.column()
247                                 factor_but(col, tex.map_density, "map_density", "density_factor", "Density")
248                                 factor_but(col, tex.map_emission, "map_emission", "emission_factor", "Emission")
249                                 factor_but(col, tex.map_absorption, "map_absorption", "absorption_factor", "Absorption")
250                                 factor_but(col, tex.map_scattering, "map_scattering", "scattering_factor", "Scattering")
251                                 
252                                 col = split.column()
253                                 col.itemL(text=" ")
254                                 factor_but(col, tex.map_alpha, "map_coloremission", "coloremission_factor", "Emission Color")
255                                 factor_but(col, tex.map_colorabsorption, "map_colorabsorption", "colorabsorption_factor", "Absorption Color")
256                                 
257
258                 elif la:
259                         row = layout.row()
260                         factor_but(row, tex.map_color, "map_color", "color_factor", "Color")
261                         factor_but(row, tex.map_shadow, "map_shadow", "shadow_factor", "Shadow")
262                 elif wo:
263                         split = layout.split()
264                         
265                         col = split.column()
266                         factor_but(col, tex.map_blend, "map_blend", "blend_factor", "Blend")
267                         factor_but(col, tex.map_horizon, "map_horizon", "horizon_factor", "Horizon")
268
269                         col = split.column()
270                         factor_but(col, tex.map_zenith_up, "map_zenith_up", "zenith_up_factor", "Zenith Up")
271                         factor_but(col, tex.map_zenith_down, "map_zenith_down", "zenith_down_factor", "Zenith Down")
272
273                 layout.itemS()
274                 
275                 split = layout.split()
276
277                 col = split.column()
278                 col.itemR(tex, "blend_type", text="Blend")
279                 col.itemR(tex, "rgb_to_intensity")
280                 sub = col.column()
281                 sub.active = tex.rgb_to_intensity
282                 sub.itemR(tex, "color", text="")
283
284                 col = split.column()
285                 col.itemR(tex, "negate", text="Negative")
286                 col.itemR(tex, "stencil")
287                 if ma or wo:
288                         col.itemR(tex, "default_value", text="DVar", slider=True)
289
290 # Texture Type Panels #
291
292 class TextureTypePanel(TextureButtonsPanel):
293         def poll(self, context):
294                 tex = context.texture
295                 return (tex and tex.type == self.tex_type and not tex.use_nodes)
296
297 class TEXTURE_PT_clouds(TextureTypePanel):
298         __label__ = "Clouds"
299         tex_type = 'CLOUDS'
300
301         def draw(self, context):
302                 layout = self.layout
303                 
304                 tex = context.texture
305                 
306                 layout.itemR(tex, "stype", expand=True)
307                 layout.itemL(text="Noise:")
308                 layout.itemR(tex, "noise_type", text="Type", expand=True)
309                 layout.itemR(tex, "noise_basis", text="Basis")
310                 
311                 flow = layout.column_flow()
312                 flow.itemR(tex, "noise_size", text="Size")
313                 flow.itemR(tex, "noise_depth", text="Depth")
314                 flow.itemR(tex, "nabla", text="Nabla")
315
316 class TEXTURE_PT_wood(TextureTypePanel):
317         __label__ = "Wood"
318         tex_type = 'WOOD'
319
320         def draw(self, context):
321                 layout = self.layout
322                 
323                 tex = context.texture
324                 
325                 layout.itemR(tex, "noisebasis2", expand=True)
326                 layout.itemR(tex, "stype", expand=True)
327                 
328                 col = layout.column()
329                 col.active = tex.stype in ('RINGNOISE', 'BANDNOISE')
330                 col.itemL(text="Noise:")
331                 col.row().itemR(tex, "noise_type", text="Type", expand=True)
332                 col.itemR(tex, "noise_basis", text="Basis")
333                 
334                 flow = layout.column_flow()
335                 flow.active = tex.stype in ('RINGNOISE', 'BANDNOISE')
336                 flow.itemR(tex, "noise_size", text="Size")
337                 flow.itemR(tex, "turbulence")
338                 flow.itemR(tex, "nabla")
339                 
340 class TEXTURE_PT_marble(TextureTypePanel):
341         __label__ = "Marble"
342         tex_type = 'MARBLE'
343         
344         def draw(self, context):
345                 layout = self.layout
346                 
347                 tex = context.texture
348                 
349                 layout.itemR(tex, "stype", expand=True)
350                 layout.itemR(tex, "noisebasis2", expand=True)
351                 layout.itemL(text="Noise:")
352                 layout.itemR(tex, "noise_type", text="Type", expand=True)
353                 layout.itemR(tex, "noise_basis", text="Basis")
354                 
355                 flow = layout.column_flow()     
356                 flow.itemR(tex, "noise_size", text="Size")
357                 flow.itemR(tex, "noise_depth", text="Depth")
358                 flow.itemR(tex, "turbulence")
359                 flow.itemR(tex, "nabla")
360
361 class TEXTURE_PT_magic(TextureTypePanel):
362         __label__ = "Magic"
363         tex_type = 'MAGIC'
364         
365         def draw(self, context):
366                 layout = self.layout
367                 
368                 tex = context.texture
369                         
370                 row = layout.row()
371                 row.itemR(tex, "noise_depth", text="Depth")
372                 row.itemR(tex, "turbulence")
373
374 class TEXTURE_PT_blend(TextureTypePanel):
375         __label__ = "Blend"
376         tex_type = 'BLEND'
377         
378         def draw(self, context):
379                 layout = self.layout
380                 
381                 tex = context.texture
382
383                 layout.itemR(tex, "progression")
384                 layout.itemR(tex, "flip_axis")
385                         
386 class TEXTURE_PT_stucci(TextureTypePanel):
387         __label__ = "Stucci"
388         tex_type = 'STUCCI'
389         
390         def draw(self, context):
391                 layout = self.layout
392                 
393                 tex = context.texture
394                 
395                 layout.itemR(tex, "stype", expand=True)
396                 layout.itemL(text="Noise:")
397                 layout.itemR(tex, "noise_type", text="Type", expand=True)
398                 layout.itemR(tex, "noise_basis", text="Basis")
399                 
400                 row = layout.row()
401                 row.itemR(tex, "noise_size", text="Size")
402                 row.itemR(tex, "turbulence")
403                 
404 class TEXTURE_PT_image(TextureTypePanel):
405         __label__ = "Image"
406         tex_type = 'IMAGE'
407         
408         def draw(self, context):
409                 layout = self.layout
410                 
411                 tex = context.texture
412
413                 layout.template_texture_image(tex)
414
415 class TEXTURE_PT_image_sampling(TextureTypePanel):
416         __label__ = "Image Sampling"
417         __default_closed__ = True
418         tex_type = 'IMAGE'
419         
420         def draw(self, context):
421                 layout = self.layout
422                 
423                 tex = context.texture
424                 slot = context.texture_slot
425                 
426                 split = layout.split()
427                 
428                 """
429                 col = split.column()            
430                 col.itemR(tex, "flip_axis")
431                 col.itemR(tex, "normal_map")
432                 if slot:
433                         row = col.row()
434                         row.active = tex.normal_map
435                         row.itemR(slot, "normal_map_space", text="")
436                 """
437
438                 col = split.column()
439                 col.itemL(text="Alpha:")
440                 col.itemR(tex, "use_alpha", text="Use")
441                 col.itemR(tex, "calculate_alpha", text="Calculate")
442                 col.itemR(tex, "invert_alpha", text="Invert")
443
444                 col.itemL(text="Flip:")
445                 col.itemR(tex, "flip_axis", text="X/Y Axis")
446
447                 col = split.column() 
448                 col.itemL(text="Filter:")
449                 col.itemR(tex, "filter", text="")
450                 col.itemR(tex, "mipmap")
451                 
452                 row = col.row()
453                 row.active = tex.mipmap
454                 row.itemR(tex, "mipmap_gauss", text="Gauss")
455                 
456                 col.itemR(tex, "interpolation")
457                 if tex.mipmap and tex.filter != 'DEFAULT':
458                         if tex.filter == 'FELINE':
459                                 col.itemR(tex, "filter_probes", text="Probes")
460                         else:
461                                 col.itemR(tex, "filter_eccentricity", text="Eccentricity")
462
463 class TEXTURE_PT_image_mapping(TextureTypePanel):
464         __label__ = "Image Mapping"
465         __default_closed__ = True
466         tex_type = 'IMAGE'
467         
468         def draw(self, context):
469                 layout = self.layout
470                 
471                 tex = context.texture
472                 
473                 layout.itemR(tex, "extension")
474                 
475                 split = layout.split()
476                 
477                 if tex.extension == 'REPEAT': 
478                         col = split.column(align=True)
479                         col.itemL(text="Repeat:")
480                         col.itemR(tex, "repeat_x", text="X")
481                         col.itemR(tex, "repeat_y", text="Y")
482                         
483                         col = split.column(align=True)
484                         col.itemL(text="Mirror:")
485                         col.itemR(tex, "mirror_x", text="X")
486                         col.itemR(tex, "mirror_y", text="Y")
487                 elif tex.extension == 'CHECKER': 
488                         col = split.column(align=True)
489                         row = col.row()
490                         row.itemR(tex, "checker_even", text="Even")
491                         row.itemR(tex, "checker_odd", text="Odd")
492
493                         split.itemR(tex, "checker_distance", text="Distance")
494
495                 layout.itemS()
496
497                 split = layout.split()
498                 
499                 col = split.column(align=True)
500                 #col.itemR(tex, "crop_rectangle")
501                 col.itemL(text="Crop Minimum:")
502                 col.itemR(tex, "crop_min_x", text="X")
503                 col.itemR(tex, "crop_min_y", text="Y")
504                 
505                 col = split.column(align=True)
506                 col.itemL(text="Crop Maximum:")
507                 col.itemR(tex, "crop_max_x", text="X")
508                 col.itemR(tex, "crop_max_y", text="Y")
509         
510 class TEXTURE_PT_plugin(TextureTypePanel):
511         __label__ = "Plugin"
512         tex_type = 'PLUGIN'
513         
514         def draw(self, context):
515                 layout = self.layout
516                 
517                 tex = context.texture
518                 
519                 layout.itemL(text="Nothing yet")
520                 
521 class TEXTURE_PT_envmap(TextureTypePanel):
522         __label__ = "Environment Map"
523         tex_type = 'ENVIRONMENT_MAP'
524         
525         def draw(self, context):
526                 layout = self.layout
527                 
528                 tex = context.texture
529                 
530                 layout.itemL(text="Nothing yet")
531                 
532 class TEXTURE_PT_musgrave(TextureTypePanel):
533         __label__ = "Musgrave"
534         tex_type = 'MUSGRAVE'
535         
536         def draw(self, context):
537                 layout = self.layout
538                 
539                 tex = context.texture
540                 
541                 layout.itemR(tex, "musgrave_type")      
542                 
543                 split = layout.split()
544                 
545                 col = split.column()
546                 col.itemR(tex, "highest_dimension", text="Dimension")
547                 col.itemR(tex, "lacunarity")
548                 col.itemR(tex, "octaves")
549                 
550                 col = split.column() 
551                 if (tex.musgrave_type in ('HETERO_TERRAIN', 'RIDGED_MULTIFRACTAL', 'HYBRID_MULTIFRACTAL')):
552                         col.itemR(tex, "offset")
553                 if (tex.musgrave_type in ('RIDGED_MULTIFRACTAL', 'HYBRID_MULTIFRACTAL')):
554                         col.itemR(tex, "gain")
555                         col.itemR(tex, "noise_intensity", text="Intensity")
556                 
557                 layout.itemL(text="Noise:")
558                 
559                 layout.itemR(tex, "noise_basis", text="Basis")
560                 
561                 row = layout.row()
562                 row.itemR(tex, "noise_size", text="Size")
563                 row.itemR(tex, "nabla")
564
565 class TEXTURE_PT_voronoi(TextureTypePanel):
566         __label__ = "Voronoi"
567         tex_type = 'VORONOI'
568
569         def draw(self, context):
570                 layout = self.layout
571                 
572                 tex = context.texture
573                 
574                 split = layout.split()
575                 
576                 col = split.column()   
577                 col.itemL(text="Distance Metric:")
578                 col.itemR(tex, "distance_metric", text="")
579                 sub = col.column()
580                 sub.active = tex.distance_metric == 'MINKOVSKY'
581                 sub.itemR(tex, "minkovsky_exponent", text="Exponent")
582                 col.itemL(text="Coloring:")
583                 col.itemR(tex, "coloring", text="")
584                 col.itemR(tex, "noise_intensity", text="Intensity")
585                 
586                 col = split.column(align=True) 
587                 col.itemL(text="Feature Weights:")
588                 col.itemR(tex, "weight_1", text="1", slider=True)
589                 col.itemR(tex, "weight_2", text="2", slider=True)
590                 col.itemR(tex, "weight_3", text="3", slider=True)
591                 col.itemR(tex, "weight_4", text="4", slider=True)
592                 
593                 layout.itemL(text="Noise:")
594                 
595                 row = layout.row()
596                 row.itemR(tex, "noise_size", text="Size")
597                 row.itemR(tex, "nabla")
598                         
599 class TEXTURE_PT_distortednoise(TextureTypePanel):
600         __label__ = "Distorted Noise"
601         tex_type = 'DISTORTED_NOISE'
602         
603         def draw(self, context):
604                 layout = self.layout
605                 
606                 tex = context.texture
607
608                 layout.itemR(tex, "noise_distortion")
609                 layout.itemR(tex, "noise_basis", text="Basis")
610                 
611                 flow = layout.column_flow()
612                 flow.itemR(tex, "distortion_amount", text="Distortion")
613                 flow.itemR(tex, "noise_size", text="Size")
614                 flow.itemR(tex, "nabla")        
615                 
616 class TEXTURE_PT_voxeldata(TextureButtonsPanel):
617         __idname__= "TEXTURE_PT_voxeldata"
618         __label__ = "Voxel Data"
619         
620         def poll(self, context):
621                 tex = context.texture
622                 return (tex and tex.type == 'VOXEL_DATA')
623
624         def draw(self, context):
625                 layout = self.layout
626                 tex = context.texture
627                 vd = tex.voxeldata
628
629                 layout.itemR(vd, "file_format")
630                 if vd.file_format in ['BLENDER_VOXEL', 'RAW_8BIT']:
631                         layout.itemR(vd, "source_path")
632                 if vd.file_format == 'RAW_8BIT':
633                         layout.itemR(vd, "resolution")
634                 if vd.file_format == 'SMOKE':
635                         layout.itemR(vd, "domain_object")
636                 
637                 layout.itemR(vd, "still")
638                 if vd.still:
639                         layout.itemR(vd, "still_frame_number")
640                 
641                 layout.itemR(vd, "interpolation")
642                 layout.itemR(vd, "intensity")
643                 
644 class TEXTURE_PT_pointdensity(TextureButtonsPanel):
645         __idname__= "TEXTURE_PT_pointdensity"
646         __label__ = "Point Density"
647         
648         def poll(self, context):
649                 tex = context.texture
650                 return (tex and tex.type == 'POINT_DENSITY')
651
652         def draw(self, context):
653                 layout = self.layout
654                 tex = context.texture
655                 pd = tex.pointdensity
656
657                 layout.itemR(pd, "point_source")
658                 layout.itemR(pd, "object")
659                 if pd.point_source == 'PARTICLE_SYSTEM':
660                         layout.item_pointerR(pd, "particle_system", pd.object, "particle_systems", text="")
661                 layout.itemR(pd, "radius")
662                 layout.itemR(pd, "falloff")
663                 if pd.falloff == 'SOFT':
664                         layout.itemR(pd, "falloff_softness")
665                 layout.itemR(pd, "color_source")
666                 layout.itemR(pd, "turbulence")
667                 layout.itemR(pd, "turbulence_size")
668                 layout.itemR(pd, "turbulence_depth")
669                 layout.itemR(pd, "turbulence_influence")
670                 
671
672 bpy.types.register(TEXTURE_PT_context_texture)
673 bpy.types.register(TEXTURE_PT_preview)
674 bpy.types.register(TEXTURE_PT_clouds)
675 bpy.types.register(TEXTURE_PT_wood)
676 bpy.types.register(TEXTURE_PT_marble)
677 bpy.types.register(TEXTURE_PT_magic)
678 bpy.types.register(TEXTURE_PT_blend)
679 bpy.types.register(TEXTURE_PT_stucci)
680 bpy.types.register(TEXTURE_PT_image)
681 bpy.types.register(TEXTURE_PT_image_sampling)
682 bpy.types.register(TEXTURE_PT_image_mapping)
683 bpy.types.register(TEXTURE_PT_plugin)
684 bpy.types.register(TEXTURE_PT_envmap)
685 bpy.types.register(TEXTURE_PT_musgrave)
686 bpy.types.register(TEXTURE_PT_voronoi)
687 bpy.types.register(TEXTURE_PT_distortednoise)
688 bpy.types.register(TEXTURE_PT_voxeldata)
689 bpy.types.register(TEXTURE_PT_pointdensity)
690 bpy.types.register(TEXTURE_PT_colors)
691 bpy.types.register(TEXTURE_PT_mapping)
692 bpy.types.register(TEXTURE_PT_influence)