forked from bartvdbraak/blender
bae896691a
* Add alpha pass output, to use set Transparent option in Film panel. * Add Holdout closure (OSL terminology), this is like the Sky option in the internal renderer, objects with this closure show the background / zero alpha. * Add option to use Gaussian instead of Box pixel filter in the UI. * Remove camera response curves for now, they don't really belong here in the pipeline, should be moved to compositor. * Output full float values for rendering now, previously was only byte precision. * Add a patch from Thomas to get a preview passes option, but still disabled because it isn't quite working right yet. * CUDA: don't compile shader graph evaluation inline. * Convert tabs to spaces in python files.
61 lines
710 B
CMake
61 lines
710 B
CMake
|
|
include_directories(
|
|
.
|
|
../device
|
|
../kernel
|
|
../kernel/svm
|
|
../kernel/osl
|
|
../bvh
|
|
../util
|
|
${GLEW_INCLUDE_PATH})
|
|
|
|
set(sources
|
|
attribute.cpp
|
|
background.cpp
|
|
buffers.cpp
|
|
camera.cpp
|
|
film.cpp
|
|
filter.cpp
|
|
graph.cpp
|
|
image.cpp
|
|
integrator.cpp
|
|
light.cpp
|
|
mesh.cpp
|
|
mesh_displace.cpp
|
|
nodes.cpp
|
|
object.cpp
|
|
osl.cpp
|
|
scene.cpp
|
|
session.cpp
|
|
shader.cpp
|
|
sobol.cpp
|
|
svm.cpp
|
|
tile.cpp)
|
|
|
|
set(headers
|
|
attribute.h
|
|
background.h
|
|
buffers.h
|
|
camera.h
|
|
film.h
|
|
filter.h
|
|
graph.h
|
|
image.h
|
|
integrator.h
|
|
light.h
|
|
mesh.h
|
|
nodes.h
|
|
object.h
|
|
osl.h
|
|
scene.h
|
|
session.h
|
|
shader.h
|
|
sobol.h
|
|
svm.h
|
|
tile.h)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
|
|
|
|
add_library(cycles_render ${sources} ${headers})
|
|
|