diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-01-09 06:48:31 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-01-09 06:48:31 +0300 |
commit | 14de8361f97c64b3d99b6e009fc8e9d19f90a328 (patch) | |
tree | dba055bfafa306a055958f4a8d2a2fb3bd54fbdc /intern/smoke/CMakeLists.txt | |
parent | d7da51b7277252d887cd93b1ac26bfe4ee25ad44 (diff) |
Smoke (fire): Move spectrum code from C++ (intern/) to C code (BLI)
This change is for a few reasons:
- it works with color, and (therefore) will need to be color managed, at
some point. This will be much easier to do if the code is closer to the
actual color management code (in Blender's core, so to speak).
- it has nothing to do with the actual fire simulation, as it is just
used to create a lookup table
- it can be reused for other purposes (i.e. in Blender internal
renderer, if people are interrested in a blackbody node à la Cycles)
- cleanup: some functions (`contrain_rgb`, `xyz_to_rgb`) already exist
in BLI
Reviewers: brecht
Reviewed By: brecht
Subscribers: brecht
Differential Revision: https://developer.blender.org/D1719
Diffstat (limited to 'intern/smoke/CMakeLists.txt')
-rw-r--r-- | intern/smoke/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/smoke/CMakeLists.txt b/intern/smoke/CMakeLists.txt index 8cda0fd140f..57678ecf2f8 100644 --- a/intern/smoke/CMakeLists.txt +++ b/intern/smoke/CMakeLists.txt @@ -40,7 +40,6 @@ set(SRC intern/FLUID_3D_SOLVERS.cpp intern/FLUID_3D_STATIC.cpp intern/LU_HELPER.cpp - intern/spectrum.cpp intern/SPHERE.cpp intern/WTURBULENCE.cpp intern/smoke_API.cpp @@ -54,7 +53,6 @@ set(SRC intern/LU_HELPER.h intern/MERSENNETWISTER.h intern/OBSTACLE.h - intern/spectrum.h intern/SPHERE.h intern/VEC3.h intern/WAVELET_NOISE.h |