forked from bartvdbraak/blender
da376e0237
Cycles uses code from some great open source projects, many thanks them: * BVH building and traversal code from NVidia's "Understanding the Efficiency of Ray Traversal on GPUs": http://code.google.com/p/understanding-the-efficiency-of-ray-traversal-on-gpus/ * Open Shading Language for a large part of the shading system: http://code.google.com/p/openshadinglanguage/ * Blender for procedural textures and a few other nodes. * Approximate Catmull Clark subdivision from NVidia Mesh tools: http://code.google.com/p/nvidia-mesh-tools/ * Sobol direction vectors from: http://web.maths.unsw.edu.au/~fkuo/sobol/ * Film response functions from: http://www.cs.columbia.edu/CAVE/software/softlib/dorf.php
34 lines
586 B
CMake
34 lines
586 B
CMake
|
|
INCLUDE_DIRECTORIES(. ../ ../svm ../../render ../../util ../../device)
|
|
|
|
SET(sources
|
|
background.cpp
|
|
bsdf_ashikhmin_velvet.cpp
|
|
bsdf_diffuse.cpp
|
|
bsdf_microfacet.cpp
|
|
bsdf_reflection.cpp
|
|
bsdf_refraction.cpp
|
|
bsdf_transparent.cpp
|
|
bsdf_ward.cpp
|
|
bsdf_westin.cpp
|
|
bssrdf.cpp
|
|
debug.cpp
|
|
emissive.cpp
|
|
osl_closures.cpp
|
|
osl_services.cpp
|
|
osl_shader.cpp
|
|
vol_subsurface.cpp)
|
|
|
|
SET(headers
|
|
osl_closures.h
|
|
osl_globals.h
|
|
osl_services.h
|
|
osl_shader.h)
|
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
|
|
|
|
ADD_LIBRARY(kernel_osl ${sources} ${headers})
|
|
|
|
ADD_SUBDIRECTORY(nodes)
|
|
|