2008-04-16 22:40:48 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
2008-04-16 22:40:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
2010-02-12 13:34:04 +00:00
|
|
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-11-17 02:27:12 +00:00
|
|
|
#
|
|
|
|
# The Original Code is Copyright (C) 2006, Blender Foundation
|
|
|
|
# All rights reserved.
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
2006-11-17 02:27:12 +00:00
|
|
|
|
|
|
|
|
2018-06-08 08:07:48 +02:00
|
|
|
set(INC
|
2020-11-06 10:10:18 -05:00
|
|
|
.
|
2020-11-06 11:24:04 -05:00
|
|
|
intern
|
2011-07-17 09:11:13 +00:00
|
|
|
../blenkernel
|
2010-09-07 01:13:10 +00:00
|
|
|
../blenlib
|
2015-08-16 17:32:01 +10:00
|
|
|
../blentranslation
|
Depsgraph: New dependency graph integration commit
This commit integrates the work done so far on the new dependency graph system,
where goal was to replace legacy depsgraph with the new one, supporting loads of
neat features like:
- More granular dependency relation nature, which solves issues with fake cycles
in the dependencies.
- Move towards all-animatable, by better integration of drivers into the system.
- Lay down some basis for upcoming copy-on-write, overrides and so on.
The new system is living side-by-side with the previous one and disabled by
default, so nothing will become suddenly broken. The way to enable new depsgraph
is to pass `--new-depsgraph` command line argument.
It's a bit early to consider the system production-ready, there are some TODOs
and issues were discovered during the merge period, they'll be addressed ASAP.
But it's important to merge, because it's the only way to attract artists to
really start testing this system.
There are number of assorted documents related on the design of the new system:
* http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents
* http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph
There are also some user-related information online:
* http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/
* http://code.blender.org/2015/03/more-dependency-graph-tricks/
Kudos to everyone who was involved into the project:
- Joshua "Aligorith" Leung -- design specification, initial code
- Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes
- Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the
project and so
- Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the
issues and recording/writing documentation.
- Everyone else who i forgot to mention here :)
2015-05-12 15:05:57 +05:00
|
|
|
../depsgraph
|
2019-04-24 14:39:31 +10:00
|
|
|
../draw
|
|
|
|
../gpu
|
|
|
|
../imbuf
|
2010-09-07 01:13:10 +00:00
|
|
|
../makesdna
|
2009-09-18 22:25:49 +00:00
|
|
|
../makesrna
|
Render API/Cycles: Identify Render Passes by their name instead of a type flag
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago.
However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images.
Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification.
Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes.
To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available.
To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers.
To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated.
From a user perspective, nothing should change with this commit.
Differential Revision: https://developer.blender.org/D2443
Differential Revision: https://developer.blender.org/D2444
2017-05-03 00:21:18 +02:00
|
|
|
../nodes
|
2020-10-05 02:58:56 +02:00
|
|
|
../sequencer
|
2020-07-16 14:27:47 +02:00
|
|
|
../simulation
|
2017-03-01 12:45:51 +01:00
|
|
|
../../../intern/atomic
|
2010-09-07 01:13:10 +00:00
|
|
|
../../../intern/guardedalloc
|
2011-07-17 09:11:13 +00:00
|
|
|
../../../intern/mikktspace
|
2019-12-16 15:50:14 +01:00
|
|
|
../../../intern/mantaflow/extern
|
2006-11-17 02:27:12 +00:00
|
|
|
)
|
|
|
|
|
2011-05-31 01:15:44 +00:00
|
|
|
|
2010-10-23 04:05:55 +00:00
|
|
|
set(SRC
|
2020-11-09 15:42:38 +01:00
|
|
|
intern/bake.c
|
|
|
|
intern/engine.c
|
2020-11-06 10:36:51 -05:00
|
|
|
intern/initrender.c
|
|
|
|
intern/multires_bake.c
|
|
|
|
intern/pipeline.c
|
|
|
|
intern/render_result.c
|
2020-11-06 14:16:27 -05:00
|
|
|
intern/texture_image.c
|
|
|
|
intern/texture_pointdensity.c
|
|
|
|
intern/texture_procedural.c
|
2020-11-06 10:36:51 -05:00
|
|
|
intern/zbuf.c
|
2010-11-29 04:35:56 +00:00
|
|
|
|
2020-11-06 10:10:18 -05:00
|
|
|
RE_bake.h
|
|
|
|
RE_engine.h
|
|
|
|
RE_multires_bake.h
|
|
|
|
RE_pipeline.h
|
2020-11-09 15:42:38 +01:00
|
|
|
RE_texture.h
|
2020-11-06 10:10:18 -05:00
|
|
|
|
2020-11-06 10:36:51 -05:00
|
|
|
intern/initrender.h
|
2020-12-11 15:00:22 +11:00
|
|
|
intern/pipeline.h
|
2020-11-06 10:36:51 -05:00
|
|
|
intern/render_result.h
|
|
|
|
intern/render_types.h
|
2020-11-06 14:16:27 -05:00
|
|
|
intern/texture_common.h
|
2020-11-06 10:36:51 -05:00
|
|
|
intern/zbuf.h
|
2010-10-23 04:05:55 +00:00
|
|
|
)
|
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
set(LIB
|
|
|
|
)
|
|
|
|
|
2011-10-22 17:01:54 +00:00
|
|
|
if(WITH_PYTHON)
|
|
|
|
add_definitions(-DWITH_PYTHON)
|
|
|
|
list(APPEND INC
|
|
|
|
../python
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2010-08-03 11:25:34 +00:00
|
|
|
if(WITH_IMAGE_OPENEXR)
|
2019-04-16 06:18:52 +02:00
|
|
|
list(APPEND LIB
|
|
|
|
bf_imbuf_openexr
|
|
|
|
)
|
2006-11-17 02:27:12 +00:00
|
|
|
add_definitions(-DWITH_OPENEXR)
|
2010-08-03 11:25:34 +00:00
|
|
|
endif()
|
2006-11-17 02:27:12 +00:00
|
|
|
|
2012-12-20 07:57:26 +00:00
|
|
|
if(WITH_FREESTYLE)
|
|
|
|
list(APPEND INC
|
|
|
|
../freestyle
|
|
|
|
)
|
2019-04-16 06:18:52 +02:00
|
|
|
list(APPEND LIB
|
|
|
|
bf_freestyle
|
|
|
|
)
|
2012-12-20 07:57:26 +00:00
|
|
|
add_definitions(-DWITH_FREESTYLE)
|
|
|
|
endif()
|
|
|
|
|
2013-03-10 16:55:01 +00:00
|
|
|
if(WITH_INTERNATIONAL)
|
|
|
|
add_definitions(-DWITH_INTERNATIONAL)
|
|
|
|
endif()
|
|
|
|
|
2020-05-19 17:36:40 +02:00
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|