Cycles: Add voxel texture sampler shader node
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 18 Jul 2015 20:09:20 +0000 (22:09 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 18 Jul 2015 20:09:20 +0000 (22:09 +0200)
commit7d10798af22f683a8f55a8c361ad5676bd4160d2
treead762edb4d4489ec03cc88ea2f98da8c3eb9894e
parent2f15a1f66e3092158d330db97a33dc8d087ca053
Cycles: Add voxel texture sampler shader node

The idea of this node is to sampling of 3D voxels at a given coordinate
supporting different mapping strategies (world space mapping, object
local space etc).

Currently not in use, it's a preparation step for supporting point density
textures.
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/shaders/CMakeLists.txt
intern/cycles/kernel/shaders/node_voxel_texture.osl [new file with mode: 0644]
intern/cycles/kernel/svm/svm.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/kernel/svm/svm_voxel.h [new file with mode: 0644]
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h