Blender V2.61 - r43446
|
00001 /* 00002 * ***** BEGIN GPL LICENSE BLOCK ***** 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public License 00006 * as published by the Free Software Foundation; either version 2 00007 * of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software Foundation, 00016 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 * 00018 * The Original Code is Copyright (C) 2005 Blender Foundation. 00019 * All rights reserved. 00020 * 00021 * The Original Code is: all of this file. 00022 * 00023 * Contributor(s): none yet. 00024 * 00025 * ***** END GPL LICENSE BLOCK ***** 00026 */ 00027 00032 #ifndef NOD_SHADER_H 00033 #define NOD_SHADER_H 00034 00035 #include "BKE_node.h" 00036 00037 extern struct bNodeTreeType ntreeType_Shader; 00038 00039 00040 /* the type definitions array */ 00041 /* ****************** types array for all shaders ****************** */ 00042 00043 void register_node_type_sh_group(struct bNodeTreeType *ttype); 00044 void register_node_type_sh_forloop(struct bNodeTreeType *ttype); 00045 void register_node_type_sh_whileloop(struct bNodeTreeType *ttype); 00046 00047 void register_node_type_sh_output(struct bNodeTreeType *ttype); 00048 void register_node_type_sh_material(struct bNodeTreeType *ttype); 00049 void register_node_type_sh_camera(struct bNodeTreeType *ttype); 00050 void register_node_type_sh_value(struct bNodeTreeType *ttype); 00051 void register_node_type_sh_rgb(struct bNodeTreeType *ttype); 00052 void register_node_type_sh_mix_rgb(struct bNodeTreeType *ttype); 00053 void register_node_type_sh_valtorgb(struct bNodeTreeType *ttype); 00054 void register_node_type_sh_rgbtobw(struct bNodeTreeType *ttype); 00055 void register_node_type_sh_texture(struct bNodeTreeType *ttype); 00056 void register_node_type_sh_normal(struct bNodeTreeType *ttype); 00057 void register_node_type_sh_gamma(struct bNodeTreeType *ttype); 00058 void register_node_type_sh_geom(struct bNodeTreeType *ttype); 00059 void register_node_type_sh_mapping(struct bNodeTreeType *ttype); 00060 void register_node_type_sh_curve_vec(struct bNodeTreeType *ttype); 00061 void register_node_type_sh_curve_rgb(struct bNodeTreeType *ttype); 00062 void register_node_type_sh_math(struct bNodeTreeType *ttype); 00063 void register_node_type_sh_vect_math(struct bNodeTreeType *ttype); 00064 void register_node_type_sh_squeeze(struct bNodeTreeType *ttype); 00065 void register_node_type_sh_dynamic(struct bNodeTreeType *ttype); 00066 void register_node_type_sh_material_ext(struct bNodeTreeType *ttype); 00067 void register_node_type_sh_invert(struct bNodeTreeType *ttype); 00068 void register_node_type_sh_seprgb(struct bNodeTreeType *ttype); 00069 void register_node_type_sh_combrgb(struct bNodeTreeType *ttype); 00070 void register_node_type_sh_hue_sat(struct bNodeTreeType *ttype); 00071 00072 void register_node_type_sh_attribute(struct bNodeTreeType *ttype); 00073 void register_node_type_sh_geometry(struct bNodeTreeType *ttype); 00074 void register_node_type_sh_light_path(struct bNodeTreeType *ttype); 00075 void register_node_type_sh_fresnel(struct bNodeTreeType *ttype); 00076 void register_node_type_sh_layer_weight(struct bNodeTreeType *ttype); 00077 void register_node_type_sh_tex_coord(struct bNodeTreeType *ttype); 00078 00079 void register_node_type_sh_background(struct bNodeTreeType *ttype); 00080 void register_node_type_sh_bsdf_diffuse(struct bNodeTreeType *ttype); 00081 void register_node_type_sh_bsdf_glossy(struct bNodeTreeType *ttype); 00082 void register_node_type_sh_bsdf_glass(struct bNodeTreeType *ttype); 00083 void register_node_type_sh_bsdf_translucent(struct bNodeTreeType *ttype); 00084 void register_node_type_sh_bsdf_transparent(struct bNodeTreeType *ttype); 00085 void register_node_type_sh_bsdf_velvet(struct bNodeTreeType *ttype); 00086 void register_node_type_sh_emission(struct bNodeTreeType *ttype); 00087 void register_node_type_sh_holdout(struct bNodeTreeType *ttype); 00088 void register_node_type_sh_volume_transparent(struct bNodeTreeType *ttype); 00089 void register_node_type_sh_volume_isotropic(struct bNodeTreeType *ttype); 00090 void register_node_type_sh_mix_shader(struct bNodeTreeType *ttype); 00091 void register_node_type_sh_add_shader(struct bNodeTreeType *ttype); 00092 00093 void register_node_type_sh_output_lamp(struct bNodeTreeType *ttype); 00094 void register_node_type_sh_output_material(struct bNodeTreeType *ttype); 00095 void register_node_type_sh_output_world(struct bNodeTreeType *ttype); 00096 00097 void register_node_type_sh_tex_image(struct bNodeTreeType *ttype); 00098 void register_node_type_sh_tex_environment(struct bNodeTreeType *ttype); 00099 void register_node_type_sh_tex_sky(struct bNodeTreeType *ttype); 00100 void register_node_type_sh_tex_voronoi(struct bNodeTreeType *ttype); 00101 void register_node_type_sh_tex_gradient(struct bNodeTreeType *ttype); 00102 void register_node_type_sh_tex_magic(struct bNodeTreeType *ttype); 00103 void register_node_type_sh_tex_wave(struct bNodeTreeType *ttype); 00104 void register_node_type_sh_tex_musgrave(struct bNodeTreeType *ttype); 00105 void register_node_type_sh_tex_noise(struct bNodeTreeType *ttype); 00106 void register_node_type_sh_tex_checker(struct bNodeTreeType *ttype); 00107 00108 #endif 00109 00110