Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-28 00:03:16 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-28 00:03:16 +0400
commit136d27b350355232ebe4d0a13427777445334b05 (patch)
tree59c507acfc825bb00675ed7ab519c24a82655ee4 /intern/cycles/app
parentf5b60afe4ec924f12ec859e4ca51cd8ed9eab3ad (diff)
Cycles: add some volume nodes, they don't actually do anything, this is just
to give other developers who may want to work on this to get a starting point.
Diffstat (limited to 'intern/cycles/app')
-rw-r--r--intern/cycles/app/cycles_xml.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/cycles/app/cycles_xml.cpp b/intern/cycles/app/cycles_xml.cpp
index c7580642c43..5f9e1d7a5ff 100644
--- a/intern/cycles/app/cycles_xml.cpp
+++ b/intern/cycles/app/cycles_xml.cpp
@@ -435,6 +435,12 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug
else if(string_iequals(node.name(), "background")) {
snode = new BackgroundNode();
}
+ else if(string_iequals(node.name(), "transparent_volume")) {
+ snode = new TransparentVolumeNode();
+ }
+ else if(string_iequals(node.name(), "isotropic_volume")) {
+ snode = new IsotropicVolumeNode();
+ }
else if(string_iequals(node.name(), "geometry")) {
snode = new GeometryNode();
}