Sergey Sharybin
9c1c2a40bf
Merge branch 'master' into blender2.8
2018-11-09 15:22:21 +01:00
Sergey Sharybin
e6573138f7
Cycles: Cleanup, remove unused method declaration
...
Was never defined. If it's really needed, consider using `const string&`.
2018-11-09 15:21:19 +01:00
Sergey Sharybin
78a6689aea
Merge branch 'master' into blender2.8
2018-11-09 14:34:33 +01:00
Sergey Sharybin
ddabb21d05
Cycles; Cleanup, line length
...
There are some more sanitization which would be cool to be done
in the neighbourhood of those functions, but that could also happen
later.
2018-11-09 12:31:46 +01:00
Sergey Sharybin
2bad10be96
Cycles: Cleanup, move Embree BVH logic to own file
...
There is no way we can keep generic entry point functions easy to
follow if we start adding actual logic in them.
2018-11-09 12:28:55 +01:00
Sergey Sharybin
2d98b198e9
Cycles: Cleanup, indentation in preprocessor
2018-11-09 12:12:11 +01:00
Sergey Sharybin
3e76cc494a
Cycles: Cleanup, indentation
2018-11-09 12:10:48 +01:00
Sergey Sharybin
203de0bbf0
Cycles: Cleanup, space after (void)
...
It was used in like 95% of places.
2018-11-09 12:08:51 +01:00
Sergey Sharybin
2330cadb0f
Cycles: Cleanup, don't use strict C prototypes
...
Those are more like a legacy of language, which is not
needed in C++.
2018-11-09 12:04:41 +01:00
Sergey Sharybin
c86d4b1d80
Cycles: Cleanup, split array from vector
...
Those are similar but different types, no reason to keep
their definitions in a single file.
2018-11-09 11:54:24 +01:00
Sergey Sharybin
b394e05118
Cycles: Cleanup, some documentation
2018-11-09 11:46:09 +01:00
Sergey Sharybin
a15e631537
Cycles: Cleanup, remove unneeded manual constructors specification
2018-11-09 11:44:33 +01:00
Sergey Sharybin
0e9be6fd7d
Cycles: Cleanup, remove unneeded method from vector
...
Since we've defaulted to C++11, no need to override this
method manually anymore.
2018-11-09 11:42:12 +01:00
Sergey Sharybin
cb4b5e12ab
Cycles: Cleanup, spacing after preprocessor
...
It is supposed to be two spaces before comment stating which if
else/endif statements corresponds to. Was mainly violated in the
header guards.
2018-11-09 11:34:54 +01:00
Brecht Van Lommel
c39f34def9
Fix Cycles viewport render info overlapping other text.
...
Now it shows more compact info below the view/object name. Render time and
memory usage is left out, as in most cases this is not so important. These
could be added back optionally if needed.
2018-11-08 18:31:33 +01:00
Brecht Van Lommel
146b39a45d
Merge branch 'master' into blender2.8
2018-11-08 15:15:29 +01:00
Brecht Van Lommel
116be3deff
Fix build on 32bit after Embree changes.
2018-11-08 14:58:01 +01:00
Lukas Stockner
47c77cd89c
Cycles: Write Cryptomatte metadata according to the specification
...
Reviewers: brecht, sergey, swerner
Subscribers: creamsurfer, Tanguy, Noss, SteffenD
Differential Revision: https://developer.blender.org/D3862
2018-11-08 01:07:54 +01:00
Stefan Werner
a0d8e52b54
Cycles: Fixed BVH UI options enabling/disabling when Embree is enabled.
2018-11-07 20:50:45 +01:00
Stefan Werner
85a9744905
Merge branch 'master' into blender2.8
2018-11-07 20:44:40 +01:00
Stefan Werner
d3320c5488
Cycles: Rearranged macros in kernel_types.h to fix Embree build.
2018-11-07 15:20:24 +01:00
Brecht Van Lommel
4610ca599a
Merge branch 'master' into blender2.8
2018-11-07 14:54:32 +01:00
Brecht Van Lommel
33201a48b0
Fix build with OSL, remove unneeded file after Embree changes.
2018-11-07 14:38:07 +01:00
Stefan Werner
9d0eac6ba5
Merge branch 'master' into blender2.8
2018-11-07 14:30:09 +01:00
Stefan Werner
d3dd3739f6
Cycles: Fixed a warning.
2018-11-07 14:04:22 +01:00
Stefan Werner
e96986fa47
Cycles: Fixed OpenCL render after the Embree checkin.
2018-11-07 13:53:56 +01:00
Stefan Werner
2c5531c0a5
Cycles: Added Embree as BVH option for CPU renders.
...
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag.
Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly.
There, Embree is off by default too and must be enabled with the WITH_EMBREE flag.
Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint.
TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache).
Differential Revision: https://developer.blender.org/D3682
2018-11-07 12:58:12 +01:00
Brecht Van Lommel
d323c0ad9c
UI: change Cycles render panels organization.
...
Move geometry panels to top level, move device/OSL back to top, and
various other changes.
2018-11-06 20:04:04 +01:00
Brecht Van Lommel
b04c856122
UI: some reordering of Cycles panels.
2018-11-06 17:51:58 +01:00
Brecht Van Lommel
1e56c8c47d
Merge branch 'master' into blender2.8
2018-11-05 00:30:33 +01:00
Brecht Van Lommel
ea8e45de29
Fix assert rendering hair tests on some systems.
2018-11-04 20:25:57 +01:00
Brecht Van Lommel
db59f30f2b
Fix assert rendering with denoising, after recent changes.
2018-11-04 20:15:33 +01:00
Campbell Barton
bc870f17a7
Cleanup: style, shadow warning
2018-11-04 10:10:00 +11:00
Pablo Vazquez
4affea081a
UI: Move Simplify panel from Scene to Render properties.
...
It mainly contains properties that affect the final render/viewport and it's handy
to see if it's enabled or not while going through the render settings.
2018-11-03 05:12:45 +01:00
Pablo Vazquez
1f4068214f
UI Cycles: Open "Sampling" panel by default
...
Now that the Dimensions panel moved to Output, we can have the Sampling panel as the only one open by default.
2018-11-02 02:29:09 +01:00
Brecht Van Lommel
86b2f8ef38
UI: add render output tab to properties editor
2018-11-02 11:58:56 +11:00
William Reynish
4b7b1ba114
UI: more single column layout for brush and render properties.
2018-10-31 17:58:57 +01:00
Sergey Sharybin
a2a8e71210
OpenSubdiv: API, expose vertex boundary interpolation option
...
Only affects internal API, bout could be exposed as an option for
the compatibility reasons with other software.
Is a part of some ongoing development of multires, but might or
might not be used.
2018-10-31 17:47:40 +01:00
Sergey Sharybin
fc12a736bb
Merge branch 'master' into blender2.8
2018-10-31 11:49:04 +01:00
Sergey Sharybin
e0cc3e9809
Cycles: Fix wrong BVH used when disabling AVX2 in debug settings
...
Mainly useful for debugging. Previously, when AVX2 was disabled
in the debug panel but BVH layout was kept on BVH8 nothing was
rendered.
Needed to make it so supported BVH layout mask for devices is
queried in "dynamic", so it is possible to use DebugFlags there.
2018-10-31 11:46:52 +01:00
Brecht Van Lommel
6e04c8e3ff
UI: update Cycles passes panel for single column.
2018-10-30 14:14:56 +01:00
Brecht Van Lommel
dffde4a49c
Merge branch 'master' into blender2.8
2018-10-30 14:13:47 +01:00
Brecht Van Lommel
7c0d37deca
Fix build error on Windows 32bit, alignment was wrong.
2018-10-30 11:39:44 +01:00
Lukas Stockner
e3817e5ec1
Cycles: Support generating Denoising passes without actually denoising
...
Needed for the animation denoiser since the denoising filter is done separately there.
Reviewers: brecht, sergey
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3833
2018-10-29 15:50:01 +01:00
Pablo Vazquez
2a9b53b970
UI: Typo in tooltip
2018-10-29 14:43:12 +01:00
Brecht Van Lommel
e7f423dffd
Merge branch 'master' into blender2.8
2018-10-29 13:26:09 +01:00
Brecht Van Lommel
17d91bcb61
Cycles: more detailed tooltips for cryptomatte options.
2018-10-29 13:22:58 +01:00
Philipp Oeser
f15afc47ed
Use keyword argument for ui label text in cryptomatte passes
2018-10-28 20:39:44 +01:00
Brecht Van Lommel
046735d751
Merge branch 'master' into blender2.8
2018-10-28 16:41:30 +01:00
Brecht Van Lommel
47953dee79
Fix Linux build after Cryptomatte commit.
2018-10-28 14:55:55 +01:00