
* Replaced the Brute Force version with a nice lookup table, this speeds it up a lot. Patch by Philipp Oeser (lichtwerk) with some cleanup and changes by myself. Thanks! ToDo: * Temperature values between 800 and 804 Kelvin are wrong in SVM, check on this.
78 lines
883 B
CMake
78 lines
883 B
CMake
|
|
set(INC
|
|
.
|
|
../device
|
|
../kernel
|
|
../kernel/svm
|
|
../kernel/osl
|
|
../bvh
|
|
../util
|
|
)
|
|
|
|
set(INC_SYS
|
|
${GLEW_INCLUDE_PATH}
|
|
)
|
|
|
|
set(SRC
|
|
attribute.cpp
|
|
background.cpp
|
|
blackbody.cpp
|
|
buffers.cpp
|
|
bssrdf.cpp
|
|
camera.cpp
|
|
film.cpp
|
|
graph.cpp
|
|
image.cpp
|
|
integrator.cpp
|
|
light.cpp
|
|
mesh.cpp
|
|
mesh_displace.cpp
|
|
nodes.cpp
|
|
object.cpp
|
|
osl.cpp
|
|
particles.cpp
|
|
curves.cpp
|
|
scene.cpp
|
|
session.cpp
|
|
shader.cpp
|
|
sobol.cpp
|
|
svm.cpp
|
|
tables.cpp
|
|
tile.cpp
|
|
)
|
|
|
|
set(SRC_HEADERS
|
|
attribute.h
|
|
background.h
|
|
blackbody.h
|
|
buffers.h
|
|
bssrdf.h
|
|
camera.h
|
|
film.h
|
|
graph.h
|
|
image.h
|
|
integrator.h
|
|
light.h
|
|
mesh.h
|
|
nodes.h
|
|
object.h
|
|
osl.h
|
|
particles.h
|
|
curves.h
|
|
scene.h
|
|
session.h
|
|
shader.h
|
|
sobol.h
|
|
svm.h
|
|
tables.h
|
|
tile.h
|
|
)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
|
|
|
|
include_directories(${INC})
|
|
include_directories(SYSTEM ${INC_SYS})
|
|
|
|
add_library(cycles_render ${SRC} ${SRC_HEADERS})
|
|
|