Cycles: tweaks to properties and nodes
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 16 Sep 2011 13:14:02 +0000 (13:14 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 16 Sep 2011 13:14:02 +0000 (13:14 +0000)
commit66b1dfae89cc44953bd51c5da962cab437e76972
treee7679b3e554fb4f1bb6f68775c8619bcde0da822
parent0a5fcf3da3e82fd114095c8c2903d927f15ffc31
Cycles: tweaks to properties and nodes

* Passes renamed to samples
* Camera lens radius renamed to aperature size/blades/rotation
* Glass and fresnel nodes input is now index of refraction
* Glossy and velvet fresnel socket removed
* Mix/add closure node renamed to mix/add shader node
* Blend weight node added for shader mixing weights

There is some version patching code for reading existing files, but it's not
perfect, so shaders may work a bit different.
82 files changed:
intern/cycles/app/cycles_test.cpp
intern/cycles/app/cycles_xml.cpp
intern/cycles/blender/addon/properties.py
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_camera.cpp
intern/cycles/blender/blender_session.cpp
intern/cycles/blender/blender_shader.cpp
intern/cycles/blender/blender_sync.cpp
intern/cycles/device/device.cpp
intern/cycles/device/device.h
intern/cycles/device/device_cpu.cpp
intern/cycles/device/device_cuda.cpp
intern/cycles/device/device_network.cpp
intern/cycles/device/device_opencl.cpp
intern/cycles/kernel/kernel.cl
intern/cycles/kernel/kernel.cpp
intern/cycles/kernel/kernel.cu
intern/cycles/kernel/kernel.h
intern/cycles/kernel/kernel_camera.h
intern/cycles/kernel/kernel_film.h
intern/cycles/kernel/kernel_montecarlo.h
intern/cycles/kernel/kernel_path.h
intern/cycles/kernel/kernel_random.h
intern/cycles/kernel/kernel_types.h
intern/cycles/kernel/osl/nodes/CMakeLists.txt
intern/cycles/kernel/osl/nodes/node_blend_weight.osl [new file with mode: 0644]
intern/cycles/kernel/osl/nodes/node_environment_texture.osl
intern/cycles/kernel/osl/nodes/node_fresnel.osl
intern/cycles/kernel/osl/nodes/node_glass_bsdf.osl
intern/cycles/kernel/osl/nodes/node_glossy_bsdf.osl
intern/cycles/kernel/osl/nodes/node_image_texture.osl
intern/cycles/kernel/osl/nodes/node_velvet_bsdf.osl
intern/cycles/kernel/svm/svm.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/kernel/svm/svm_fresnel.h
intern/cycles/kernel/svm/svm_image.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/buffers.cpp
intern/cycles/render/buffers.h
intern/cycles/render/camera.cpp
intern/cycles/render/camera.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
intern/cycles/render/scene.h
intern/cycles/render/session.cpp
intern/cycles/render/session.h
intern/cycles/render/svm.cpp
intern/cycles/render/svm.h
intern/cycles/render/tile.cpp
intern/cycles/render/tile.h
intern/cycles/util/util_progress.h
release/scripts/startup/bl_ui/properties_data_camera.py
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/interface/interface_node.c
source/blender/editors/space_node/node_draw.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_node/node_header.c
source/blender/gpu/intern/gpu_shader_material.glsl
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_nodetree_types.h
source/blender/nodes/CMakeLists.txt
source/blender/nodes/SHD_node.h
source/blender/nodes/intern/SHD_nodes/SHD_add_shader.c [moved from source/blender/nodes/intern/SHD_nodes/SHD_add_closure.c with 60% similarity]
source/blender/nodes/intern/SHD_nodes/SHD_background.c
source/blender/nodes/intern/SHD_nodes/SHD_blend_weight.c [new file with mode: 0644]
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_anisotropic.c
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_diffuse.c
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glass.c
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_glossy.c
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_translucent.c
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_transparent.c
source/blender/nodes/intern/SHD_nodes/SHD_bsdf_velvet.c
source/blender/nodes/intern/SHD_nodes/SHD_emission.c
source/blender/nodes/intern/SHD_nodes/SHD_fresnel.c
source/blender/nodes/intern/SHD_nodes/SHD_holdout.c
source/blender/nodes/intern/SHD_nodes/SHD_mix_shader.c [moved from source/blender/nodes/intern/SHD_nodes/SHD_mix_closure.c with 61% similarity]
source/blender/nodes/intern/SHD_nodes/SHD_output_lamp.c
source/blender/nodes/intern/SHD_nodes/SHD_output_material.c
source/blender/nodes/intern/SHD_nodes/SHD_output_world.c