From 4fd273648767a736f79acd3edc3d7f332129b46f Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 2 Dec 2011 16:57:37 +0000 Subject: HSV Color Node for Cycles ......................... note, the OSL code has a problem. In the original node the input and output nodes have the same name (Color). So this will be fixed here once Brecht come up with a nice autorenaming (or we do a doversion patch) for that. --- intern/cycles/app/cycles_xml.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/cycles/app') diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp index 0bd0c48933d..00acae92955 100644 --- a/intern/cycles/app/cycles_xml.cpp +++ b/intern/cycles/app/cycles_xml.cpp @@ -446,6 +446,9 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug else if(string_iequals(node.name(), "separate_rgb")) { snode = new SeparateRGBNode(); } + else if(string_iequals(node.name(), "hsv")) { + snode = new HSVNode(); + } else if(string_iequals(node.name(), "attribute")) { AttributeNode *attr = new AttributeNode(); xml_read_ustring(&attr->attribute, node, "attribute"); -- cgit v1.2.3