14 #include "COLLADAFWEffectCommon.h"
17 typedef std::map<std::string, bNode *>
NodeMap;
24 COLLADAFW::EffectCommon *effect;
36 bNode *add_node(
int node_type,
int locx,
int locy, std::string
label);
37 void add_link(
bNode *from_node,
int from_index,
bNode *to_node,
int to_index);
38 void add_link(
bNode *from_node,
const char *from_label,
bNode *to_node,
const char *to_label);
39 bNode *add_texture_node(COLLADAFW::ColorOrTexture &cot,
int locx,
int locy, std::string
label);
55 void set_ior(COLLADAFW::FloatOrParam &val);
56 void set_alpha(COLLADAFW::EffectCommon::OpaqueMode mode,
57 COLLADAFW::ColorOrTexture &cot,
58 COLLADAFW::FloatOrParam &val);
std::map< std::string, bNode * > NodeMap
void set_reflectivity(COLLADAFW::FloatOrParam &val)
void set_shininess(COLLADAFW::FloatOrParam &val)
void set_specular(COLLADAFW::ColorOrTexture &cot)
void update_material_nodetree()
void set_ior(COLLADAFW::FloatOrParam &val)
void set_reflective(COLLADAFW::ColorOrTexture &cot)
void set_emission(COLLADAFW::ColorOrTexture &cot)
Image * get_diffuse_image()
MaterialNode(bContext *C, COLLADAFW::EffectCommon *ef, Material *ma, UidImageMap &uid_image_map)
void set_opacity(COLLADAFW::ColorOrTexture &cot)
void set_alpha(COLLADAFW::EffectCommon::OpaqueMode mode, COLLADAFW::ColorOrTexture &cot, COLLADAFW::FloatOrParam &val)
void set_diffuse(COLLADAFW::ColorOrTexture &cot)
void set_ambient(COLLADAFW::ColorOrTexture &cot)
std::map< std::string, Image * > KeyImageMap
std::map< COLLADAFW::UniqueId, Image * > UidImageMap