blender/intern/smoke/intern
Kévin Dietrich 14de8361f9 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
2016-01-09 04:48:31 +01:00
..
tnt Cleanup: Remove special code for Visual Studio 2008. 2014-08-07 13:52:15 +02:00
EIGENVALUE_HELPER.cpp use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
EIGENVALUE_HELPER.h doxygen: intern/smoke tagged. 2011-02-25 11:50:46 +00:00
FFT_NOISE.h quiet -Wnarrowing warning. 2013-02-11 16:22:20 +00:00
FLUID_3D_SOLVERS.cpp use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
FLUID_3D_STATIC.cpp use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
FLUID_3D.cpp Fix T43515: Initial velocity for fire bug 2015-02-06 22:05:09 +02:00
FLUID_3D.h Fix T43515: Initial velocity for fire bug 2015-02-06 22:05:09 +02:00
IMAGE.h doxygen: intern/smoke tagged. 2011-02-25 11:50:46 +00:00
INTERPOLATE.h use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
LICENSE.txt BF2.5: First commit of smoke code. 2009-07-30 15:00:26 +00:00
LU_HELPER.cpp use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
LU_HELPER.h doxygen: intern/smoke tagged. 2011-02-25 11:50:46 +00:00
Makefile.cygwin set svn end of lines to native 2011-05-09 08:15:38 +00:00
Makefile.FFT set svn end of lines to native 2011-05-09 08:15:38 +00:00
Makefile.linux set svn end of lines to native 2011-05-09 08:15:38 +00:00
Makefile.mac set svn end of lines to native 2011-05-09 08:15:38 +00:00
MERSENNETWISTER.h Fix various compiler warnings. 2015-10-10 17:35:30 +02:00
OBSTACLE.h Smoke: Support for moving obstacles. (Merge from Smoke2 branch) 2012-04-28 21:46:43 +00:00
smoke_API.cpp Smoke (fire): Move spectrum code from C++ (intern/) to C code (BLI) 2016-01-09 04:48:31 +01:00
SPHERE.cpp doxygen: intern/smoke tagged. 2011-02-25 11:50:46 +00:00
SPHERE.h doxygen: intern/smoke tagged. 2011-02-25 11:50:46 +00:00
VEC3.h use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
WAVELET_NOISE.h use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
WTURBULENCE.cpp Fix: smoke noise tile was saved in Blender executable directory, which is often write protected on modern systems. 2013-05-20 17:48:16 +00:00
WTURBULENCE.h Fix: smoke noise tile was saved in Blender executable directory, which is often write protected on modern systems. 2013-05-20 17:48:16 +00:00