forked from bartvdbraak/blender
1d8c798188
Most of the changes are related to adding support for motion data throughout the code. There's some code for actual camera/object motion blur raytracing but it's unfinished (it badly slows down the raytracing kernel even when the option is turned off), so that code it disabled still. Motion vector export from Blender tries to avoid computing derived meshes when the mesh does not have a deforming modifier, and it also won't store motion vectors for every vertex if only the object or camera is moving.
68 lines
797 B
CMake
68 lines
797 B
CMake
|
|
set(INC
|
|
.
|
|
../device
|
|
../kernel
|
|
../kernel/svm
|
|
../kernel/osl
|
|
../bvh
|
|
../util
|
|
${GLEW_INCLUDE_PATH}
|
|
)
|
|
|
|
set(SRC
|
|
attribute.cpp
|
|
background.cpp
|
|
buffers.cpp
|
|
camera.cpp
|
|
film.cpp
|
|
# film_response.cpp (code unused)
|
|
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(SRC_HEADERS
|
|
attribute.h
|
|
background.h
|
|
buffers.h
|
|
camera.h
|
|
film.h
|
|
# film_response.h (code unused)
|
|
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}")
|
|
|
|
include_directories(${INC})
|
|
|
|
add_library(cycles_render ${SRC} ${SRC_HEADERS})
|
|
|